Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6 Beta
-
None
-
Windows XP
Visual Studio 8 VC++
java version 1.6.0 JRE 1.6.0-b105
http://www.apache.org/dist/ws/axis-c/axis-c-win32-current-bin.zip
Description
Sample wsdl to generate issue.
https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2?wsdl
Header declaration
STORAGE_CLASS_INFO RemoteIssue* updateIssue(xsd_string Value0, xsd_string Value1, RemoteFieldValue_Array Value2);
Implementation
RemoteIssue* JiraSoapService::updateIssue(xsd_string Value0, xsd_string Value1, RemoteFieldValue_Array* Value2)
Note that in the implementation Value2 is a pointer to an array, while in the declaration it is not. Based on the use within the function it appears it should be a pointer as the implementation suggests.
With an appropriately set up environment the following command line can be used:
java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -oInterface -sclient https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2?wsdl