Details
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
- relates to
-
CXF-6420 Maven cxf-java2ws-plugin copies to the maven repository only the last wsdl of multiple services/executions - overwrites the others
- Closed
- links to