axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-2408) ServiceClient.sendReceive() method doesn't return multiRef elements of the SOAP response
Date Mon, 31 Aug 2015 08:08:46 GMT

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

Victor commented on AXIS2-2408:
-------------------------------

Hi, any plans to fixes the API of ServiceClient to ease the access to multiref elements?

> 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: 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message