Réf. : Re: SOAP to DOM

2003-12-10 Thread valerie . bauche
:48 Veuillez répondre à [EMAIL PROTECTED] Pour : <[EMAIL PROTECTED]> cc : Objet : Re: SOAP to DOM try document.getDocumentElement().normalize() Jeff - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2003 6:41 AM Subjec

Re: SOAP to DOM

2003-12-09 Thread Jeff Greif
try document.getDocumentElement().normalize() Jeff - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2003 6:41 AM Subject: SOAP to DOM > In a handler (axis BasicHandler type), I need to transform the soap part of >

Réf. : Re: SOAP to DOM

2003-12-09 Thread valerie . bauche
2003 16:49:50 Veuillez répondre à [EMAIL PROTECTED] Pour : [EMAIL PROTECTED] cc : Objet : Re: SOAP to DOM Hi! The whole thing can be much simplified if you want the SOAPEnvelope (not only the body of it) in the current context (request or response): void invoke(MessageContext msgContext) {

Re: SOAP to DOM

2003-12-09 Thread Christoph Tratter
Hi! The whole thing can be much simplified if you want the SOAPEnvelope (not only the body of it) in the current context (request or response): void invoke(MessageContext msgContext) { try { org.apache.axis.Message testMsg = context.getCurrentMessage(); org.w3c.Element element

Re: SOAP to DOM

2003-12-09 Thread Christoph Tratter
Hi Valerie! You can try something like this: In the method invoke of your handler (as it extends BasicHandler) you have the following signature: void invoke(MessageContext msgContext) So you can try something like: void invoke(MessageContext msgContext) { org.apache.axis.Message testMsg = c

SOAP to DOM

2003-12-09 Thread valerie . bauche
In a handler (axis BasicHandler type), I need to transform the soap part of the message into a Document object I use the javax.xml.transform.Transformer and I get the Document object. But this Document is full of "\n" and sometimes "\r" or spaces !!! It's not very easy to use : is there any solutio