axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vikas charak (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1312) Issue with method parameter names in WSDL file genarted by Java2WSDLTask
Date Thu, 12 Oct 2006 14:10:39 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1312?page=all ]

vikas charak updated AXIS2-1312:
--------------------------------

    Attachment: UserService.wsdl

> 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


Mime
View raw message