Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-2408

ServiceClient.sendReceive() method doesn't return multiRef elements of the SOAP response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • client-api
    • None
    • Windows 2000, JDK 1.5, Axis 1 server

    Description

      I am using the Axis2 ServiceClient interface to do a blocking IN-OUT call to a Web Service like this :

      ServiceClient sender = new ServiceClient();
      sender.setOptions(axis2Options);
      OMElement result = sender.sendReceive(axisOp);

      The result returns me something like this, without the multiref elements I should normally obtain :

      <getMyAddressResponse xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <getMyAddressReturn href="#id0" />
      </getMyAddressResponse>

      However, if I use sendReceiveNonBlocking(), I get the multiref elements in the response!

      I use Axis 2 1.1.1 for the client side, and an old Axis 1.0 on the server side.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cédric Cédric Girodengo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: