Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 26th, 2008, 03:55 PM
Newbie
 
Join Date: Mar 2008
Posts: 30
Default Reading XML from Java

Hi I have an XML SOAP response which starts with the following XML:

Expand|Select|Wrap|Line Numbers
    <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetAppXmlResponse xmlns="http://***.***.gov.uk/***"> <GetAppXmlResult> <Connector timestamp="9/26/2008 10:46:26 AM" xmlns=""> <code>0</code> <message>Success</message> <getappxml> <![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Proposal> <SchemaVersion>1.1</SchemaVersion> <ApplicationHeader>Sample Header</ApplicationHeader> //further nodes and elements </Proposal> ]]> </getappxml> </Connector> </GetAppXmlResult> </GetAppXmlResponse> </soap:Body> </soap:Envelope>
Could somebody please explain to me how I access the Proposal node in java, so that I can create a new SOAP message out of it
Reply
  #2  
Old November 18th, 2008, 04:57 AM
Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Posts: 1,988
Default

Any errors with this one!

Tell us what happens when you run this bit of code.

In a bit!
Reply
  #3  
Old November 19th, 2008, 04:50 PM
Moderator
 
Join Date: Mar 2006
Posts: 869
Default

Which classes are you using on your webservice to receive the soap message?
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles