wood burning stoves*
The moose likes Web Services and the fly likes Parsing POST Information Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Parsing POST Information" Watch "Parsing POST Information" New topic
Author

Parsing POST Information

Puneet Munjal
Greenhorn

Joined: Mar 05, 2005
Posts: 4
Hi All,
I am receiving this type of data in POST ***********************************************************************
------=_Part_22403_1537218.1109754242840
Content-Type: text/xml; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-ID: <7506849.1109754242843.apache-soap.mr-00>
Content-Length: 1094

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<MultiMedia xmlns="urn:REQ" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Version xsi:type="xsd:string">1</Version>
</MultiMedia>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

------=_Part_22403_1537218.1109754242840
Content-Type: multipart/related; boundary="----=_Part_22402_2522997.1109754237841"
Content-ID: <null>

------=_Part_22402_2522997.1109754237841
Content-Type: text/plain; name=Ajm.txt; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Location: Ajm.txt

Ajm
------=_Part_22402_2522997.1109754237841
Content-Type: application/smil; name=pres.smil; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-ID: <242306133>


<smil>
<head>
<layout>
<root-layout width="176" height="208"/>
<region id="Text" width="160" height="198" top="5" left="8" fit="scroll"/>
</layout>
</head>
<body>
<par dur="5000ms">
<text region="Text" src="Ajm.txt"/>
</par>
</body>
</smil>

------=_Part_22402_2522997.1109754237841--

------=_Part_22403_1537218.1109754242840--
**************************************************************************
I am able to parse soap content using SOAP API but how to extract other information like image data, ringone data, etc. i dont find any way or API.

Plz help me.
Thanx
PMunjal
 
jQuery in Action, 2nd edition
 
subject: Parsing POST Information
 
Similar Threads
Extracting SOAP Attachments!! Help!!
Parsing SOAP Information
Microsoft UDDI
MMSC test
How to get SOAP attachment