option in wsdl2java generation to NOT create a @Webservice.wsdlLocation
-----------------------------------------------------------------------
Key: CXF-1586
URL: https://issues.apache.org/jira/browse/CXF-1586
Project: CXF
Issue Type: Improvement
Components: Tooling
Affects Versions: 2.0.6
Reporter: nicolas de loof
Priority: Minor
Using <jaxws:endpoint/> CXF tries to load the wsd set in
@WebService.wsdlLocation.
As my service implementation is generated from wsdl2java maven plugin, the
location is hardcoded to my local path (D:/workspace/...) and fails when
running the application on unix.
I have to set the wsdlLocation in <jaxws:endpoint> or generate with the
"-wsdlLocation WEB-INF/wsdl/x" extraargs.
I expected CXF to run without requirement to the original WSDL, and only use
the @Webservice annotations in generated code. The only way to get this
behaviour is to remove the annotation attribute in generated code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.