Extracting Soap body

sara vaji <[email protected]> Mon, 16 Jan 2006 14:59:57 +0000 (GMT)
Newsgroups gmane.text.xml.soap.user
Message-ID <[email protected]>
--0-851854531-1137423597=:12986
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 
Hi all

I am Sara and I am new to Apache SOAP and I am using soap-2_3_1 package.
I have a simple question regarding extracting SOAP body. 
I have a simple soap message like this:  

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> 
<s:Body> 
<rdf:RDF xmlns:j.0="http://www.cplusplus.com/arti#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
</rdf:RDF>
</s:Body> 
</s:Envelope>  

All I want is to extract SOAP Body, I mean this part of message: 
<rdf:RDF xmlns:j.0="http://www.cplusplus.com/arti#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
</rdf:RDF>

I played with APIs, but I am not able to find the siutable API for extracting everything that is located inside SOAP Body  Can anyone please help me?  

Thanks, 
Sara
 

		
---------------------------------
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo.
--0-851854531-1137423597=:12986
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div id="RTEContent"> <pre>Hi all<br><br>I am Sara and I am new to Apache SOAP and I am using soap-2_3_1 package.<br>I have a simple question regarding extracting SOAP body. <br>I have a simple soap message like this:  <br><br>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt; <br>&lt;s:Body&gt; <br>&lt;rdf:RDF xmlns:j.0="http://www.cplusplus.com/arti#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"&gt;<br>&lt;/rdf:RDF&gt;<br>&lt;/s:Body&gt; <br>&lt;/s:Envelope&gt;  <br><br>All I want is to extract SOAP Body, I mean this part of message: <br>&lt;rdf:RDF xmlns:j.0="http://www.cplusplus.com/arti#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"&gt;<br>&lt;/rdf:RDF&gt;<br><br>I played with APIs, but I am not able to find the siutable API for extracting
  everything that is located inside SOAP Body  Can anyone please help me?  <br><br>Thanks,
 <br>Sara</pre> </div><p>
		<hr size=1><font face="Arial" size="2"><a href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/"><b>Yahoo! Photos</b></a> – <font color="red">NEW</font>, now offering a <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/">quality print service</a> from just 8p a photo.</font>
--0-851854531-1137423597=:12986--