John DeeBee
2006-12-08 10:56:55 UTC
Hi,
I'm working on server-side from Axis2 v1.1 and I need to
get the whole XML request in my WS skeleton (and after) to make other
XML parsing and to log every message going in and out from my webapp.
In
Axis2 v1.0, I wrote a method called setOperationContext() in my
skeleton which retireved the full XML request by using
"messageContext.getEnveloppe().toString()".
But now I'm working with
v1.1 and it doesn't work anymore. So I delete my setOperationContext()
method and, in my WS operation, I write this code to replace :
MessageContext contexteMessage = MessageContext.getCurrentMessageContext();
setFluxXML(contexteMessage.getEnvelope().toString());
But
"contexteMessage.getEnvelope().toString()" gives me only the beginning and the end of the request, not the full content.
I
tried to make a logging module as described in documentation but the
result is the quite the same. I have the full xml from WS response but
not for request.
Who have a solution before I getting mad ?
John
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
I'm working on server-side from Axis2 v1.1 and I need to
get the whole XML request in my WS skeleton (and after) to make other
XML parsing and to log every message going in and out from my webapp.
In
Axis2 v1.0, I wrote a method called setOperationContext() in my
skeleton which retireved the full XML request by using
"messageContext.getEnveloppe().toString()".
But now I'm working with
v1.1 and it doesn't work anymore. So I delete my setOperationContext()
method and, in my WS operation, I write this code to replace :
MessageContext contexteMessage = MessageContext.getCurrentMessageContext();
setFluxXML(contexteMessage.getEnvelope().toString());
But
"contexteMessage.getEnvelope().toString()" gives me only the beginning and the end of the request, not the full content.
I
tried to make a logging module as described in documentation but the
result is the quite the same. I have the full xml from WS response but
not for request.
Who have a solution before I getting mad ?
John
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com