Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.5
-
None
-
None
-
All
-
Unknown
Description
The generated client code should be able to reference a relative classpath rather than an absolute one when using the wsdlRoot option to generate clients and services via the cxf-codegen plugin.
Relative classpaths can be specified when using the non-batch processing wsdlLocation options. This can be done when using something like <wsdlLocation>classpath:wsdl/foo.wsdl</wsdlLocation>.
However, using the classpath reference in wsdlRoot does not work in the same fashion.
<wsdlRoot>classpath:wsdl/</wsdlRoot> should be able to find the wsdl directory in ${basedir}/src/main/resources/wsdl, and generate the clients with a wsdlLocation value relative to the classpath, making the behavior between <wsdlRoot> and <wsdlLocation> consistant.
Attachments
Issue Links
- links to