ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Nichol" <>
Subject Re: How deserialize XML data in application
Date Mon, 04 Oct 2004 12:54:54 GMT
I have not done what you are asking about, but here is an outline of what I imagine you could

1. Use an XML parser to parse the XML into a DOM.

2. Call Envelope.Unmarshall to organize the elements in the DOM into the SOAP Header and Body.

3. Call RPCMessage.extractFromEnvelope to further distinguish the method name and parameters.
 This is where most of the value of Apache SOAP would come in.  However, it is also where
you must supply it some information, namely, the SOAPMappingRegistry.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Jaroslav Šrýtr" <>
To: <>
Sent: Saturday, October 02, 2004 5:20 AM
Subject: How deserialize XML data in application

> Hi,
> I have this problem:
> I use Apache SOAP for Java. I create a request on a client and send it on
> a server. But aplication, which is as server doesn't run under a Tomcat. It
> is classic Java aplication, which listen on a specific port.
> And here is problem. I don't know, how deserialize a data,
> which I get and how serilaize a response.
> It's possible with Apache SOAP, or I must use any other XML parser
> (xerces?).
> Thanks,
> Jarda

View raw message