Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem with parsing the reply from a soap request

843833Nov 24 2005 — edited Dec 2 2005
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2005
Added on Nov 24 2005
4 comments
365 views