You are right: the deserialization classes are very dependent on other classes in the 
code.  You might be able to use them with some work, but I am not sure it would be 
worth it.

You might have better luck with some more general XML <-> Java technology, such as a 
JAXB implementation or even something like Castor.

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: "Voigt, Ulrich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 9:24 AM
Subject: deserialization question


> Hi!
> 
> I want to receive data, which is made available via SOAP. Unfortunately I
> cannot access the SOAP-server directly (routing problems...), but I can get
> the logs of continous http-SOAP-requests. Something like this:
> 
> POST /Services/inquireAll HTTP/1.0
> Content-Type: text/xml; charset="iso-8859-1"
> Content-Length: 726
> SOAPAction: Services#inquireAll
> 
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
>   <SOAP-ENV:Body>
>      .... application specific ....
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> 
> HTTP/1.0 200 OK
> Server: xxx
> Content-Type: text/xml; charset="iso-8859-1"
> Content-Length: 5910
> SOAPAction: Services#inquireAllResponse
> 
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
>   <SOAP-ENV:Body>
>     <inquireAllResponse>
>       ... application specific ....
>     </inquireAllResponse>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> 
> I thought I could use the SOAP classes to deserialize the data out of the
> response. But the classes I found in the org.apache.soap packages can only
> be used, if you make a full http-SOAP request. 
> 
> Does anybody have an idea how to use the deserialize/unmarshalling mechanism
> of SOAP without fulfill a complete SOAP-request?
> 
> thanks in advance
> Ulrich
> 
>

Reply via email to