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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.7
    • Fix Version/s: 3.2.8, 3.3.0
    • Component/s: Tooling
    • Labels:
      None
    • Environment:

      Maven 3.5.4, JDK 1.8.0_191

    • Estimated Complexity:
      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

              • Assignee:
                ffang Freeman Fang
                Reporter:
                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