You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Brian Plauborg (JIRA)" <ji...@apache.org> on 2008/09/16 12:48:44 UTC
[jira] Updated: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Plauborg updated CXF-1802:
--------------------------------
Fix Version/s: (was: 2.0.7)
(was: 2.1.1)
Description:
Originally reported in https://issues.apache.org/jira/browse/CXF-1586.
I'm using version 2.1.2 of the cxf-codegen-plugin to generate corresponding java files of a wsdl on the local filesystem. This results in the *Impl file being annotated with @WebService.wsdlLocation pointing at the wsdl on the local filesystem. This will of course result in a failure to start up the web service when the application is deployed to any other environment.
Ideally I'd like an option to wsdl2java to force usage of the @WebService.wsdlLocation default ("") or complete omission of the annotation attribute.
was:
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.
Affects Version/s: (was: 2.0.6)
2.1.2
Summary: option in wsdl2java generation to NOT create a @Webservice.wsdlLocation (was: CLONE -option in wsdl2java generation to NOT create a @Webservice.wsdlLocation)
> option in wsdl2java generation to NOT create a @Webservice.wsdlLocation
> -----------------------------------------------------------------------
>
> Key: CXF-1802
> URL: https://issues.apache.org/jira/browse/CXF-1802
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Affects Versions: 2.1.2
> Reporter: Brian Plauborg
> Assignee: Daniel Kulp
> Priority: Minor
>
> Originally reported in https://issues.apache.org/jira/browse/CXF-1586.
> I'm using version 2.1.2 of the cxf-codegen-plugin to generate corresponding java files of a wsdl on the local filesystem. This results in the *Impl file being annotated with @WebService.wsdlLocation pointing at the wsdl on the local filesystem. This will of course result in a failure to start up the web service when the application is deployed to any other environment.
> Ideally I'd like an option to wsdl2java to force usage of the @WebService.wsdlLocation default ("") or complete omission of the annotation attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.