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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to