axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Axis2 deployment: obtain the full SOAP message
Date Thu, 25 Oct 2012 13:26:03 GMT


                
                   
					
					
					
					Achten Sie darauf, Angela Merkel über Ricardos Antwort zu erzählenAsegúrese de decirle
a sra angela merkel sobre la respuesta de ricardo

Vielen Danke Ricardo/Muchas Gracias Ricardo,
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.

From: brianreinhold@lampreynetworks.com
To: java-dev@axis.apache.org
Subject: RE: Axis2 deployment: obtain the full SOAP message
Date: Thu, 25 Oct 2012 07:38:47 -0400


Ricardo! You are a livesaver! I had no idea I could get the MessageContext like that. That
solves a whole HOST of problems for me.  Thanks, Brian From: Ricardo Tercero Lozano [mailto:rtercerol@gmail.com]

Sent: Thursday, October 25, 2012 4:32 AM
To: java-dev@axis.apache.org
Subject: Re: Axis2 deployment: obtain the full SOAP message  You can get the actual MessageContext
object in your service through the call: MessageContext.getCurrentMessageContext()  (it's
a threadlocal variable) once you get the msgcontext, the full message is obtained with the
sentence:  msgContext.getEnvelope().toString()
to obtain info from the xml message I always create a DOM document and search with JVM XPath
engine. Regards.

On Thu, Oct 25, 2012 at 10:21 AM, Brian Reinhold <brianreinhold@lampreynetworks.com>
wrote:To all Axis2 fans,

What is the easiest way to obtain the full SOAP message or the messageContext object in an
Axis2 deployment. Typically all that one gets in one's service is the body of the SOAP message
as an OMElement. I need to get the full message, in particular the SAML token.

Brian


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
 -- 
La ignorancia afirma o niega rotundamente; la ciencia duda.

– Voltaire, escritor y filósofo francés 		 	   		  
Mime
View raw message