You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Paul Johnston <pa...@tm-ltd.co.uk> on 2002/05/27 16:20:27 UTC
Retrieving data from a SOAP packet
I am implementing a SOAP interface to a client's software and am having a
problem serializing the data returned. The data is returned like this:
<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<CreateSession2Response>
<sessionReference>http://test.blah.co.uk:85/digest/31383335333535373</sessio
nReference>
<launch>
<viewer>
<version>2.0</version>
<URL>http://test.blah.co.uk:85/digest/313833353335353734373335333535373</URL
>
<versionURL>http://www.blah.com/client-version</versionURL>
</viewer>
</launch>
</CreateSession2Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
How can I get that into Java? Currently I'm a tad confused! I can get a
simple string into Java, but above and beyond that...
Paul
PS the packet will always be the same form