[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2890) wsprovide tool sets returning object's name to the "return" in the java file when no name is provided in the endpoint
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Wed Mar 10 05:53:11 EST 2010
[ https://jira.jboss.org/jira/browse/JBWS-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12519146#action_12519146 ]
Alessio Soldano commented on JBWS-2890:
---------------------------------------
http://fisheye.jboss.org/changelog/JBossWS/?cs=9107
http://fisheye.jboss.org/browse/JBossWS/stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SourceWrapperGenerator.java?r1=8169&r2=9107
> wsprovide tool sets returning object's name to the "return" in the java file when no name is provided in the endpoint
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: JBWS-2890
> URL: https://jira.jboss.org/jira/browse/JBWS-2890
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: tools-jaxws
> Affects Versions: jbossws-2.0.1.SP2
> Reporter: Stelios Koussouris
> Assignee: Alessio Soldano
>
> I use JBDS to create a "web service" based on a POJO. It generates some artifacts included some java source files.
> In the file named XXXResponse.java, there's some error code like:
> @XmlElement(namespace = "", name = "return")
> private String return;
> public String getReturn() {
> return this.return;
> }
> public void setReturn(String return1) {
> this.return = return;
> }
> "return" is a java key word, and can not be used as variable. This has been verified by
> a) JBDS generation of the webservice (Bottom-Up)
> b) wsprovide.sh (myself) -k
> c) wsprovide.bat (customer) by running JBDS on Windows
> The class itself when decompiled seems to have correctly the name to "_return"
> Hence, there seems to be an error in wsprovide tool creating the .java files (perhaps the wsdl as well)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list