axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Johnston" <paul.johns...@tm-ltd.co.uk>
Subject Retrieving data from a SOAP packet
Date Mon, 27 May 2002 14:20:27 GMT
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


Mime
View raw message