[ https://issues.apache.org/jira/browse/CXF-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610512#action_12610512 ]
Glen Mazza commented on CXF-1586: --------------------------------- BTW, what do you mean when you say "and only use the @Webservice annotations in generated code"? Also, if the WSDL is not set in the @WebService annotation or in jaxws:endpoint, where/how do you set the wsdllocation? Passed in at runtime, perhaps during Spring configuration? > 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 > Assignee: Daniel Kulp > Priority: Minor > Fix For: 2.1.1, 2.0.7 > > > 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.