You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Harry Braun (JIRA)" <ji...@apache.org> on 2018/12/10 11:37:00 UTC

[jira] [Updated] (CXF-7924) cxf-java2ws-plugin: Only one WSDL is generated and deployed per artifact.

     [ https://issues.apache.org/jira/browse/CXF-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Braun updated CXF-7924:
-----------------------------
    Summary: cxf-java2ws-plugin: Only one WSDL is generated and deployed per artifact.  (was: Only one WSDL is generated and deployed per artifact.)

> cxf-java2ws-plugin: Only one WSDL is generated and deployed per artifact.
> -------------------------------------------------------------------------
>
>                 Key: CXF-7924
>                 URL: https://issues.apache.org/jira/browse/CXF-7924
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 3.2.7
>         Environment: Maven 3.5.4, JDK 1.8.0_191
>            Reporter: Harry Braun
>            Priority: Major
>
> 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>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)