Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7924

cxf-java2ws-plugin: Only one WSDL is generated and deployed per artifact.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.7
    • 3.2.8, 3.3.0
    • Tooling
    • None
    • Maven 3.5.4, JDK 1.8.0_191

    • Unknown

    Description

      If more than one WSDL is created in a Maven build, only one WSDL is created and stored in the repository. With version 3.2.4 a file with the extension <webservice>.wsdl is created for each WSDL, with version 3.2.7 there is only one file with the extension .wsdl, in which probably only the last generated webservice was stored.
      All projects that offer several web services can not be converted to version 3.2.7.

      <execution>
      <id>wsdl-ABCWS</id>
      <phase>process-classes</phase>
      <configuration>
      <className>backend.ws.ABCWS</className>
      <genWsdl>true</genWsdl>
      <verbose>true</verbose>
      <outputFile>${project.build.directory}/generated-sources/wsdl/ABCWS.wsdl</outputFile>
      <attachWsdl>true</attachWsdl>
      </configuration>
      <goals>
      <goal>java2ws</goal>
      </goals>
      </execution>
      <execution>
      <id>wsdl-XYZWS</id>
      <phase>process-classes</phase>
      <configuration>
      <className>backend.ws.XYZWS</className>
      <genWsdl>true</genWsdl>
      <verbose>true</verbose>
      <outputFile>${project.build.directory}/generated-sources/wsdl/XYZWS.wsdl</outputFile>
      <attachWsdl>true</attachWsdl>
      </configuration>
      <goals>
      <goal>java2ws</goal>
      </goals>
      </execution>

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              hab Harry Braun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m