axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Leitner (JIRA)" <>
Subject [jira] Commented: (AXIS2-2408) ServiceClient.sendReceive() method doesn't return multiRef elements of the SOAP response
Date Tue, 29 May 2007 15:51:15 GMT


Philipp Leitner commented on AXIS2-2408:

I have tried with Axis2, to no avail.

The SOAP response contains all the multirefs as expected:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 29 May 2007 15:41:58 GMT

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv=""
xmlns:xsd="" xmlns:xsi=""><soapenv:Body><orderResponse
soapenv:encodingStyle=""><orderReturn href="#id0"/></orderResponse><multiRef
id="id0" soapenc:root="0" soapenv:encodingStyle=""
xsi:type="ns1:confirmation" xmlns:soapenc="" xmlns:ns1=""><id
xsi:type="xsd:string">Philipp Leitner : 13722725-bb6c-4143-8bff-cfe057db1b8b</id><value

Sytem.out.println( sender.sendReceive(axisOp)) displays the following:

<orderResponse xmlns:soapenv="" soapenv:encodingStyle="">
<orderReturn href="#id0">

(no multirefs in this AXIOM model...)


> ServiceClient.sendReceive() method doesn't return multiRef elements of the SOAP response
> ----------------------------------------------------------------------------------------
>                 Key: AXIS2-2408
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api
>         Environment: Windows 2000, JDK 1.5, Axis 1 server
>            Reporter: C├ędric Girodengo
> 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="" soapenv:encodingStyle="">
>            <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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message