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:33:46 UTC
[jira] Created: (CXF-1802) CLONE -option in wsdl2java generation to
NOT create a @Webservice.wsdlLocation
CLONE -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.0.6
Reporter: Brian Plauborg
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.
[jira] Commented: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Brian Plauborg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631685#action_12631685 ]
Brian Plauborg commented on CXF-1802:
-------------------------------------
Thanks Eric!
> 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: Eric Johnson
> 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.
[jira] Commented: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631349#action_12631349 ]
Daniel Kulp commented on CXF-1802:
----------------------------------
if you pass an empty string to the -wsdllocation flag of wsdl2java, it doesn't generate teh wsdlLocation attribute on the annotation..
> 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.
[jira] Updated: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Brian Plauborg (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Brian Plauborg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631432#action_12631432 ]
Brian Plauborg commented on CXF-1802:
-------------------------------------
Daniel, thanks for the prompt answer. It did of course work as advertised.
Since I'm not using wsdl2java directly I base my usage on the documentation at http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html where there is no mention of a -wsdlLocation parameter. What should I do prompt an update of this page?
> 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.
[jira] Closed: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Brian Plauborg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Plauborg closed CXF-1802.
-------------------------------
> 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: Eric Johnson
> 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.
[jira] Commented: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Eric Johnson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631546#action_12631546 ]
Eric Johnson commented on CXF-1802:
-----------------------------------
I updated the wiki to include the -wsdlLocation parameter as well as the other missing parameters.
> 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.
[jira] Resolved: (CXF-1802) option in wsdl2java generation to NOT
create a @Webservice.wsdlLocation
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1802.
------------------------------
Resolution: Fixed
Assignee: Eric Johnson (was: Daniel Kulp)
> 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: Eric Johnson
> 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.