You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "vikas charak (JIRA)" <ji...@apache.org> on 2006/10/12 16:10:35 UTC
[jira] Updated: (AXIS2-1312) Issue with method parameter names in
WSDL file genarted by Java2WSDLTask
[ http://issues.apache.org/jira/browse/AXIS2-1312?page=all ]
vikas charak updated AXIS2-1312:
--------------------------------
Attachment: IntrfcUserService.java
> Issue with method parameter names in WSDL file genarted by Java2WSDLTask
> ------------------------------------------------------------------------
>
> Key: AXIS2-1312
> URL: http://issues.apache.org/jira/browse/AXIS2-1312
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: Windows XP
> Axis2 Nightly of Sep-27-2006
> Reporter: vikas charak
> Priority: Minor
> Attachments: IntrfcUserService.java, User.java, UserService.wsdl
>
>
> When I generate WSDL file using Java2WDLTask , everything looks okay other than the name of the method parameters.
> In my service I have the following method
> User getUser(String userID).
> Look at the following WSDL snippet. I was expecting "userID" to be in place of "param0".
> [Although its not a big issue but then you need to take an extra step of changing the parameter name, so that the consumer of the web service can understand what should be passed as input parameter. So in this case a userID instead of param0]
> <xs:element name="getUser">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="param0" type="xs:string" />
> </xs:sequence>
> </xs:complexType>
> Interesting this is it did translate complex type User accurately as follows
> <xs:complexType name="User">
> <xs:sequence>
> <xs:element name="firstName" type="xs:string" />
> <xs:element name="lastName" type="xs:string" />
> </xs:sequence>
> </xs:complexType>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org