How are you trying to send the payload to the soap server?
If u send the payload in xml format use Element.class(eg:
params.addElement(new Parameter("abc", Element.class, root,
Constants.NS_URI_LITERAL_XML)) in the Parameter call. At the server side you
can do manipuation using the root handle. You can very well the XML API for
the content manipulation at the soap server end.
Prasad
-----Original Message-----
From: Thomas Heute [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 3:47 PM
To: [EMAIL PROTECTED]
Subject: SOAP and its messages
Well, my problem is the following:
if you look at the sample named 'messaging' and the message msg1.xml:
(I cutted few things)
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<purchaseOrder xmlns="urn:po-processor" orderDate="1999-10-20">
<shipTo country="US">
<name>Alice Smith</name>
<street>123 Maple Street</street>
<city>Mill Valley</city>
<state>CA</state>
<zip>90952</zip>
</shipTo>
</purchaseOrder>
</s:Body>
</s:Envelope>
How to get the content of purchaseOrder in the function purchaseOrder of
po-processor ?
The API is not very well documented onthat point... I think I have to use
Envelope.getBody() and then getBodyEntries() that returns a Vector but I
wondet what is the type of the elements of this vector ...
If somebody could help me, I would appreciate.
--
Thomas HEUTE
US Department of Commerce
NIST Information Technology Lab
Standards and Conformance Testing Group
337, West Side Drive #204 To know where to go http://www.ootoogo.com
Gaithersburg MD 20878 USA Apprendre le PHP http://www.phpfacile.com
Phone: (301)-975-8444 Apprendre le SQL http://www.sqlfacile.com