: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
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
>
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)
{
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
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
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