axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Leitner (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/AXIS2-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499825
] 

Philipp Leitner commented on AXIS2-2408:
----------------------------------------

I have tried with Axis2, to no avail.

The SOAP response contains all the multirefs as expected:

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

2e6
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><orderResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><orderReturn href="#id0"/></orderResponse><multiRef
id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns1:confirmation" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://dsg.tuwien.ac.at"><id
xsi:type="xsd:string">Philipp Leitner : 13722725-bb6c-4143-8bff-cfe057db1b8b</id><value
xsi:type="xsd:int">1000</value></multiRef></soapenv:Body></soapenv:Envelope>
0
</snip>

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

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

(no multirefs in this AXIOM model...)

thanks, 
philipp  

> ServiceClient.sendReceive() method doesn't return multiRef elements of the SOAP response
> ----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2408
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2408
>             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="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.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message