Hi,

You can get the necessary info from
http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPXSLT5.html

for DOM Parsing. 

A new technology has been evolved (through AXIOM) for XML parsing, which is
available via Axis2 (current version - M2 is released). You can check it out
through  
http://ws.apache.org/axis2
 
and do with the OM stuff. Current AXIOM supports the full XML infoset.

Saminda     

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 13, 2005 1:16 AM
To: [email protected]
Subject: SOAP parser

Hi there all,

I have a SOAP message to invoke a web service e.g.

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <ns1:add
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://example.com/Operation";>
   <ns1:arg0 xsi:type="xsd:int">1</ns1:arg0>
   <ns1:arg1 xsi:type="xsd:int">2</ns1:arg1>
  </ns1:add>
 </soapenv:Body>
</soapenv:Envelope>


I need to parse out the name of method along with the type and values of
input arguments.

Can I get a sample code of it ? may be using JAXP or DOM ??

regards



Reply via email to