Andreas,

It is possible to move the monitor to another phase? After all, in the
Rampart module I DO see the entire header, security AND addressing, (it has
not been encrypted yet). It certainly caught me by surprise that the headers
were not shown. To be honest with you until just recently I was not really
looking at the responses ... the main interest is getting the data to the
service using secure SAML. (My goal is eventually to learn how to support
trusted third-party SAML tokens using Rampart which may require coding
updates.)

Brian

-----Original Message-----
From: Andreas Veithen [mailto:andreas.veit...@gmail.com] 
Sent: Sunday, September 30, 2012 2:19 PM
To: java-dev@axis.apache.org
Subject: Re: No headers in response

> 1.       The SOAPMonitor has a bug. For some reason the response frame
> (outgoing messages) does not show the headers (the request frame does).

It's actually not a bug. To understand why, look at the following part of
axis2.xml (I'm showing the content of the default axis2.xml file here;
your's likely looks similar):

    <phaseOrder type="OutFlow">
        <!--      user can add his own phases to this area  -->
        <phase name="soapmonitorPhase"/>
        <phase name="OperationOutPhase"/>
        <!--system predefined phase-->
        <!--these phase will run irrespective of the service-->
        <phase name="RMPhase"/>
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>

The SOAP monitor uses a handler that is placed at the beginning of the
handler chain (for outgoing messages). In particular it is executed before
the Security phase. That is why you can't see the security headers.

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2441/5300 - Release Date: 09/30/12


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to