Hello,
I am writing a client web service using Axis2
The message I want to send looks like this :
<Envelope>
<Header>
</Header>
<Body>
<Element1>bar</Element1>
<Element2>foo</Element2>
</Body
</Envelope>
The body as many children.
I use the class ServiceClient to send the message.
My problem is that the method sendReceive only takes one element in
parameter (an OMElement) which is the child of a Body element, so I can't
send many elements
I had a look in the source code, the only to fix this is to re write this
class and modify the method : private void fillSOAPEnvelope(MessageContext
messageContext, OMElement xmlPayload), it is a too hacky for me...
Any suggestions ?
Chris
--
View this message in context:
http://www.nabble.com/Body-with-multiple-elements-%28children%29-tp22411094p22411094.html
Sent from the Axis - User mailing list archive at Nabble.com.