Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.2
-
Novice
Description
I'm generating Java classes from WSDL using Maven.
The plugin configuration in the pom.xml is the following :
<plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>2.5.2</version> <configuration> <defaultOptions> <wsdlLocation>http://test.url</wsdlLocation> </defaultOptions> </configuration> <executions> <execution> <id>generate-sources</id> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin>
However, this configuration generates a wrong value for the attribute wsdlLocation of the @WebServiceClient annotation.
When I debugged the plugin execution, it appeared that the wsdlLocation argument was not added to the wsdl2java application.
It seems that the method void merge(Option) of the class org.apache.cxf.maven_plugin.wsdl2java.Option miss to merge the wsdlLocation property of the given Option object.