[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-dev
Subject:    Re: Axis2 deployment: obtain the full SOAP message
From:       Ricardo Tercero Lozano <rtercerol () gmail ! com>
Date:       2012-10-26 5:54:44
Message-ID: CABYM+RLQ2iPvx9=UUh2kDYaqbKithVoOw=8AOUnJvf-K2RX=jg () mail ! gmail ! com
[Download RAW message or body]

:-))))))  You're welcome.

R.



On Thu, Oct 25, 2012 at 3:26 PM, Martin Gainty <mgainty@hotmail.com> wrote:

>   Achten Sie darauf, Angela Merkel über Ricardos Antwort zu erzählen
> Asegú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
>



-- 
La ignorancia afirma o niega rotundamente; la ciencia duda.

– Voltaire, escritor y filósofo francés

[Attachment #3 (text/html)]

> -))))))  You&#39;re \
> welcome.<div><br></div><div>R.</div><div><br></div><div><br><br><div \
> class="gmail_quote">On Thu, Oct 25, 2012 at 3:26 PM, Martin Gainty <span \
> dir="ltr">&lt;<a href="mailto:mgainty@hotmail.com" \
> target="_blank">mgainty@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


<div><div dir="ltr">

                
                   
					<span>
					</span>
					
					<div dir="ltr"><div><font lang="de">Achten Sie darauf, Angela Merkel über \
Ricardos Antwort zu erzählen</font></div></div><font lang="es">Asegúrese de decirle a \
sra angela merkel sobre la respuesta de ricardo</font><br> <br>Vielen Danke \
Ricardo/Muchas Gracias Ricardo,<br>Martin \
<br>______________________________________________ <br>Verzicht und \
Vertraulichkeitanmerkung<br><br><div>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.<br> \
</div><br><div><div></div><hr>From: <a \
href="mailto:brianreinhold@lampreynetworks.com" \
target="_blank">brianreinhold@lampreynetworks.com</a><br>To: <a \
href="mailto:java-dev@axis.apache.org" \
                target="_blank">java-dev@axis.apache.org</a><br>
Subject: RE: Axis2 deployment: obtain the full SOAP message<br>Date: Thu, 25 Oct 2012 \
07:38:47 -0400<div><div class="h5"><br><br> <div><p><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Ricardo!</span></p><p><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span></p> <p><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">You \
are a livesaver! I had no idea I could get the MessageContext like that. That solves \
a whole HOST of problems for me. </span></p> <p><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span></p><p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,</span></p>
 <p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span></p><p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Brian</span></p>
 <p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in \
0in 0in"><p><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
Ricardo Tercero Lozano [mailto:<a href="mailto:rtercerol@gmail.com" \
target="_blank">rtercerol@gmail.com</a>] <br> <b>Sent:</b> Thursday, October 25, 2012 \
4:32 AM<br><b>To:</b> <a href="mailto:java-dev@axis.apache.org" \
target="_blank">java-dev@axis.apache.org</a><br><b>Subject:</b> Re: Axis2 deployment: \
obtain the full SOAP message</span></p> </div><p> </p><div><p> </p></div><div><p>You \
can get the actual MessageContext object in your service through the \
call:</p></div><div><p> </p></div><div><p>MessageContext.getCurrentMessageContext()  \
(it&#39;s a threadlocal variable)</p> </div><div><p> </p></div><div><p>once you get \
the msgcontext, the full message is obtained with the sentence:</p></div><div><p> \
</p></div><div><div style="border:dotted windowtext 1.0pt;padding:10.0pt 10.0pt \
10.0pt 10.0pt;background:#e2ecf6"> <pre \
style="background:#e2ecf6;border:none;padding:0in;overflow:auto"><span \
style="font-size:11.0pt;color:#333333"> </span></pre><pre \
style="background:#e2ecf6;border:none;padding:0in"><span \
style="font-size:11.0pt;color:#333333">msgContext.getEnvelope().toString()</span></pre>
 </div></div><p><br>to obtain info from the xml message I always create a DOM \
document and search with JVM XPath engine.</p><div><p> </p></div><div><p \
style="margin-bottom:12.0pt">Regards.<br><br></p><div><p>On Thu, Oct 25, 2012 at \
10:21 AM, Brian Reinhold &lt;<a href="mailto:brianreinhold@lampreynetworks.com" \
target="_blank">brianreinhold@lampreynetworks.com</a>&gt; wrote:</p> <p \
style="margin-bottom:12.0pt">To all Axis2 fans,<br><br>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&#39;s service is the body of the SOAP message as \
an OMElement. I need to get the full message, in particular the SAML token.<br> \
<br>Brian<br><br><br>---------------------------------------------------------------------<br>To \
unsubscribe, e-mail: <a href="mailto:java-dev-unsubscribe@axis.apache.org" \
target="_blank">java-dev-unsubscribe@axis.apache.org</a><br> For additional commands, \
e-mail: <a href="mailto:java-dev-help@axis.apache.org" \
target="_blank">java-dev-help@axis.apache.org</a></p></div><p><br><br \
clear="all"></p><div><p> </p></div><p>-- <br>La ignorancia afirma o niega \
rotundamente; la ciencia duda.<br> <br>– Voltaire, escritor y filósofo \
francés</p></div></div></div></div></div> 		 	   		  </div></div> \
</blockquote></div><br><br clear="all"><div><br></div>-- <br>La ignorancia afirma o \
niega rotundamente; la ciencia duda.<br><br>– Voltaire, escritor y filósofo \
francés<br> </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic