problem with parsing the reply from a soap request
843833Nov 24 2005 — edited Dec 2 2005I am doing a application to send a SOAP message, and I want to parse the reply so that I can get the info from the reply. I have followed the samples that I found in the internet... but all failed.
here is the reply message that I use "reply.writeTo(System.out);" to disaplay:
<?xml version='1.0' ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" env:mustUnderstand="1">NONE</mm7:TransactionID>
</env:Header>
<env:Body>
<SubmitRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
<MM7Version>5.3.0</MM7Version>
<Status>
<StatusCode>2000</StatusCode>
<StatusText>Client error</StatusText>
</Status>
<MessageID></MessageID>
</SubmitRsp>
</env:Body>
</env:Envelope>
does anyone know how to parse the reply as above so that I can get the value of StatusCode? Thank you