I understand that SOAP is xml.... I tried using the DOM method to parse the xml... how ever, what method should I use to get me the xml in the soap-body? I guess I'm lost... any help on this will really be appreciated..
I have the XML passed as a String to my web method, then I use JAXB to unmarshall it into the appropriate Java class. If you've got a schema defined (and it appears you do), then there shouldn't be any reason to write any parser code. Just use JAXB to generate the classes from your schema and let JAXB do the work.
Sri i am working to send a soap message over an existing web service(Implemented in .NET,IIS) but i am not able to set the content type of my message.. Just help me to create my SOAP message and set its content as text/XML.
Now i am using a stringBuffer and converting it to input stream. From this stream i am creating my soap message Using SAAJ
thank you in advance.
Sumit Bansal<br /> <br />SCJP 5.0
This looks like a job for .... legal tender! It says so right in this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss