Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-1040

Method declarations that have array parameters do not match method implementation

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            metke Matthew Metke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: