Hi

I've got a Servlet which extends JAXMServlet and i'm trying to
write some code to process received messages.


I am following the Sun example
http://java.sun.com/xml/jaxm-0_9_2-prd-spec.pdf


To get a DOM from a SOAPMessage you need to do this apparently:

     DOMSource domSrc = (DOMSource)
soapEnvelope.getContentAs(DOMSource.FEATURE );

However, the "getContentAs" method does not exist on the SOAPEnvelope.


Have any of you come across this?

Has anybody got a code sample that shows how to get a DOM from one of
the SOAP
objects in the JAXM api?

thanks
Paul
This message contains confidential information and is intended only for the named 
individual
and may not be disseminated without prior permission.  If you are not the named 
addressee,
you should not disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this message in error and delete this 
e-message from your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as
information could be intercepted, corrupted, lost, destroyed, delayed in transmission,
incomplete, or may contain viruses. The sender therefore does not accept liability for 
any
errors or omissions in the contents of this Message which arise as a result of e-mail 
transmission.  If verification is required please request a hard-copy version. This 
message
is provided for informational purposes and should not be construed as a solicitation or
offer to buy or sell any software or services.

 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to