WSDL2Java generated test incorrectly passes paramXY even when the service 
method takes no inputs
------------------------------------------------------------------------------------------------

                 Key: AXIS2-1071
                 URL: http://issues.apache.org/jira/browse/AXIS2-1071
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools, wsdl
    Affects Versions: 1.0
         Environment: windows XP, Tomcat 5.5
            Reporter: Nirmit Desai


In the contract first approach,

when an operation is descibed as taking a message with no elements in it (empty 
input), the generated test class, in the testStart<operation> method, 
incorrectly passes a paramXY to the stub.start<operation> which the stub class 
does not expect.  Also paramXY is not declared either locally or globally.

The solution is very simple: just delete the paramXY argument from the call to 
stub.start<operation>.

-- 
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