axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject [Fwd: Re: [Axis2] How do I add multiple elements to soap body?]
Date Mon, 08 May 2006 00:39:56 GMT
FYI: Answer from Java list:

Hi Samisa;

As Nabeel mentioned, using ServiceCleint API you can not send more than
one child in the body. But using operation client you can send any SOAP
envelop.
In the receiving side if you use default message receivers none of them
can not handle this scenario , since we have a valid assumption that
SOAP body can not have two parts.

I can not say this is invalid use case ,but to have this feature in
server side he has to write his own message receiver to handle this.
Since this is not a common scenario I dont think we have to have default
message receiver for handling this.

Samisa Abeysinghe wrote:

> What is the solution for the following query in the Java Axis2?
> P.S. Forwarding from Axis2/C list:
>
> |
>
> |If I have a doc/lit ws how do I code a client to produce the message:|
>
> |<soap:envelope>
>    <soap:body>
>        <x>fred</x>
>        <y>joe</y>
>    </soap:body>
> </soap:envelope>|
>
> |
> |The client APIs seem to take a single axis2_om_node_t* payload which
> I assume is inserted into the soap body. Is there an API to add more
> than one element as above? |
> || |Cheers,|
> ||


-- 
Thanks,
Deepal
................................................................
~Future is Open~ 





Mime
View raw message