axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "scott ken" <sctt...@gmail.com>
Subject Re: Axis2 and dotNet interoperateability
Date Fri, 29 Sep 2006 03:00:08 GMT
I know what's wrong with my case. I was looking at soap message
through soap monitor.
The response message received at client side actually has addressing
headers. But soap
monitor doesn't show it. I think it's because the position of
soapmonitor's phaseorder.

I found out by using another tcp/ip monitor.

My next question is, how to position soapmonitor in the phaseorder to
show actual message
being received by client?

vike

=======================================================================
Hi,

I don't know if it can help.

What I understood is that you try to access your service by using a SOAP
session. As specified it the following document, you have to engage the
adressing module on both sides (client and server), and change the scope of
your service before engaging it. (
http://www.developer.com/services/article.php/3620661).

About setting the adressing module at the launch of Axis2, I think it is
enabled by default. If it's not, you have to modify your axis2.xml file and
have something like this (this is configured to enable SOAPMonitor as well):

<!-- ================================================= -->
    <!-- Global Modules  -->
    <!-- ================================================= -->
    <!-- Comment this to disable Addressing -->
    <module ref="addressing"/>
    <module ref="soapmonitor"/>
    <!--Configuring module , providing parameters for modules whether they
refer or not-->
    <!--<moduleConfig name="addressing">-->
    <!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
    <!--</moduleConfig>-->

    <!-- ================================================= -->
    <!-- Phases  -->
    <!-- ================================================= -->
    <phaseOrder type="inflow">
        <!--  System pre defined phases       -->
        <phase name="Transport">
            <handler name="RequestURIBasedDispatcher"
                     class="
org.apache.axis2.engine.RequestURIBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="SOAPActionBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPActionBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
        </phase>
        <phase name="Security"/>
        <phase name="PreDispatch"/>
        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase
">
            <handler name="AddressingBasedDispatcher"
                     class="
org.apache.axis2.engine.AddressingBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPMessageBodyBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="InstanceDispatcher"
                     class="org.apache.axis2.engine.InstanceDispatcher">
                <order phase="PostDispatch"/>
            </handler>
            <handler name="RequestURIBasedDispatcher"
                     class="
org.apache.axis2.engine.RequestURIBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPActionBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPActionBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
        </phase>
        <!--  System pre defined phases       -->
        <!--   After Postdispatch phase module author or or service author
can add any phase he want      -->
        <phase name="OperationInPhase"/>
        <phase name="userphase1"/>
        <phase name="soapmonitorPhase"/>
    </phaseOrder>
    <phaseOrder type="outflow">
        <!--      user can add his own phases to this area  -->
        <phase name="OperationOutPhase"/>
        <!--system predefined phase-->
        <!--these phase will run irrespective of the service-->
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="userphase1"/>
        <phase name="soapmonitorPhase"/>
    </phaseOrder>
    <phaseOrder type="INfaultflow">
        <phase name="PreDispatch"/>
        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase
">
            <handler name="RequestURIBasedDispatcher"
                     class="
org.apache.axis2.engine.RequestURIBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPActionBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPActionBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="AddressingBasedDispatcher"
                     class="
org.apache.axis2.engine.AddressingBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPMessageBodyBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="InstanceDispatcher"
                     class="org.apache.axis2.engine.InstanceDispatcher">
                <order phase="PostDispatch"/>
            </handler>
        </phase>
        <!--      user can add his own phases to this area  -->
        <phase name="OperationInFaultPhase"/>
        <phase name="userphase1"/>
        <phase name="soapmonitorPhase"/>
    </phaseOrder>
    <phaseOrder type="Outfaultflow">
        <!--      user can add his own phases to this area  -->
        <phase name="OperationOutFaultPhase"/>
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="userphase1"/>
        <phase name="soapmonitorPhase"/>
    </phaseOrder>

Hope that can help,

RB

On 9/26/06, scott ken <scttken@gmail.com> wrote:
>
> David,
> I started the discussion using my yahoo email account. I suspect that Yahoo treats \
> the Axis2 mailinglist as a spam. My second email to the mailinglist was bounced \
> back. Now I'm using my Gmail account to continue asking questions. Thanks!
>
>
> I engaged the addressing module from axis2 admin webpage. But it seems
> not change the result. The request/reply soap messages are still the
> same. Do you know what else steps I need to performa to make addressing
>
> effect.
>
> And another question is, if I don't want to engage addressing
> dynamically from Axis2 admin servlet but want to do it in configuration files,
> is it possible?
>
> Thanks,
> vick
>
> David Illsley <
> davidillsley@gmail.com \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=davidillsley@gmail.com&YY=35237&y5beta= \
> yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b>> wrote: Looks to me like \
> you need
> to engage the addressing module in the axis2
> server so that there are addressing headers in the response. See the
> Axis2 documentaton for how to do this.
> David
>
> On 21/09/06, scott ken  wrote:
> > My C# client (.dotNet
> 2.0 and WSE 3.0) generated the following SOAP
> > message.
> >
> >
> >
> >
> >
> xmlns:wsse="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>
> >
> > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing
> "
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <http://www.w3.org/2001/XMLSchema-instance>
> > xmlns:xsd="
> http://www.w3.org/2001/XMLSchema" <http://www.w3.org/2001/XMLSchema>
> > xmlns:xop="http://www.w3.org/2004/08/xop/include" <http://www.w3.org/2004/08/xop/include>
> > xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/>
> >
> >
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit \
> y-1.0.xsd ">
> >
> >
> >
> > urn:uuid:8a8309c1-a21d-48ff-aa52-2647bb377cfc
> >
> >
> >
> >
> >
> http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
> >
> >
> >
> > http://localhost:8080/axis2/services/CMBWebService
>
> >
> >
> >
> > wsu:Id="Timestamp-010f1103-934c-44fb-8778-1251c874e66e">
> > 2006-09-20T23:12:21Z
> > 2006-09-20T23:17:21Z
> >
> >
> >
> >
>
> >
> > ....
> >
> >
> >
> >
> > The reply message from Axis2 server is
> >
> >
> >
> > xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/>>
> >
> >
> >
> > ....
> >
> >
> >
> >
> > The C# client encountered this exception
> >
> > Unhandled Exception:
>
> > Microsoft.Web.Services3.Addressing.AddressingFault: Message
> > Information Header Required ---> Micros
> > oft.Web.Services3.Addressing.AddressingFormatException:
> > WSE202: The
> > Action header is required when other address headers
>
> > are present.
> > --- End of inner exception stack trace ---
> > at
> > Microsoft.Web.Services3.Addressing.AddressingHeaders.CheckValid()
> > at
> >
> Microsoft.Web.Services3.Addressing.AddressingHeaders.Load
> (SoapEnvelope
> > envelope)
> > at Microsoft.Web.Services3.SoapEnvelope.PostLoad(Boolean
> > loadAddressing)
> > at Microsoft.Web.Services3.SoapEnvelope.PostLoad()
> > at Microsoft.Web.Services3.SoapEnvelope.Load
> (XmlReader
> > reader)
> > at
> > Microsoft.Web.Services3.Mime.XopDocument.LoadStartPart(MimePart
> > startPart)
> > at
> > Microsoft.Web.Services3.Mime.XopDocument.LoadFromXopPackage(String
>
> > contentType, Stream stream)
> > at
> >
> Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMessage
> > message, String messageContentType)
> > at
> >
> Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage
> (SoapClientMessage
> > message, Int32 bufferSize)
> > at
> >
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
> > message, WebResponse response,
> > Stream responseStream, Boolean asyncCall)
>
> > at
> > System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> > methodName, Object[] parameters)
> >
> > I guess it's about some configuration on client side or server
> side.
>
> > Can someone tell me what the fix is?
> >
> > Thanks in advance,
> >
> > vick
> >
> >
> > ________________________________
> > Stay in the know. Pulse on the new
> Yahoo.com. Check it out.
> >
> >
>
>
> --
> David Illsley - IBM Web Services Development
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-unsubscribe@ws.apache.org&YY= \
> 35237&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b> For \
> additional commands, e-mail: axis-user-help@ws.apache.org \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-help@ws.apache.org&YY=35237&y \
> 5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b>
>
>
> 		
> ---------------------------------
> Get your email and more, right on the  new Yahoo.com
> --0-1468242578-1159300441=:31885
> Content-Type: text/html; charset=iso-8859-1
>
> Content-Transfer-Encoding: 8bit
>
> Hi, David,<br><br>I engaged the addressing module from axis2 admin
> webpage. But it seems not change the result. The request/reply soap
> messages are still the same. Do you know what else steps I need to performa to
>
> make addressing effect. <br><br>And another question is, if I don't
> want to engage addressing dynamically from Axis2 admin servlet but want to
> do it in configuration files, is it
> possible?<br><br>Thanks,<br>vick<br><br><b><i>David Illsley &lt;
> davidillsley@gmail.com \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=davidillsley@gmail.com&YY=35237&y5beta= \
> yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b>&gt;</i></b>
> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16,
> 255); margin-left: 5px; padding-left: 5px;"> Looks to me like you need to
> engage the addressing module in the axis2<br>server so that there are
>
> addressing headers in the response. See the<br>Axis2 documentaton for
> how to do this.<br>David<br><br>On 21/09/06, scott ken
> <
> sctt_ken@yahoo.com \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=sctt_ken@yahoo.com&YY=35237&y5beta=yes& \
> y5beta=yes&order=down&sort=date&pos=0&view=a&head=b>> wrote:<br>&gt; My C# client \
> (.dotNet 2.0 and WSE 3.0) generated the following SOAP<br>&gt; \
> message.<br>&gt;<br>&gt; <br>&gt;
> <soap:Envelope><br>&gt;<br>&gt;
>
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secex \
> t-1.0.xsd"<br>&gt;<br>&gt;
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" <http://schemas.xmlsoap.org/ws/2004/08/addressing><br>&gt;
> xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" <http://www.w3.org/2001/XMLSchema-instance><br>&gt;
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" <http://www.w3.org/2001/XMLSchema><br>&gt;
> xmlns:xop="
> http://www.w3.org/2004/08/xop/include" <http://www.w3.org/2004/08/xop/include><br>&gt;
> xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/><br>&gt;<br>&gt;
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit \
> y-1.0.xsd "&gt;<br>&gt;
> <soap:Header><br>&gt;   <wsa:Action><br>&gt;   <wsa:MessageID><br>&gt;
> urn:uuid:8a8309c1-a21d-48ff-aa52-2647bb377cfc<br>&gt;
>
> </wsa:MessageID><br>&gt;   <wsa:ReplyTo><br>&gt;   <wsa:Address><br>&gt;<br>&gt;
>
> http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous<br>&gt;
> </wsa:Address><br>&gt;   </wsa:ReplyTo><br>&gt;   <wsa:To><br>&gt;
>
> http://localhost:8080/axis2/services/CMBWebService<br>&gt;
> </wsa:To><br>&gt;   <wsse:Security><br>&gt;   <wsu:Timestamp><br>&gt;
> wsu:Id="Timestamp-010f1103-934c-44fb-8778-1251c874e66e"&gt;<br>&gt;
>
> <wsu:Created>2006-09-20T23:12:21Z</wsu:Created><br>&gt;
> <wsu:Expires>2006-09-20T23:17:21Z</wsu:Expires><br>&gt;   </wsu:Timestamp><br>&gt;
> </wsse:Security><br>&gt;   </wsa:Action><br>&gt;   <soap:Body><br>&gt;
>
> <MyAppRequest><br>&gt;      ....<br>&gt;      </MyAppRequest><br>&gt;
> </soap:Body><br>&gt;   </soap:Header><br>&gt;<br>&gt;   The reply
>
> message from Axis2 server is<br>&gt;<br>&gt;   <br>&gt;
> <soapenv:Envelope><br>&gt;
> xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"&gt; <http://schemas.xmlsoap.org/soap/envelope/><br>&gt;   <soapenv:Header><br>&gt;   \
> <soapenv:Body><br>&gt; <MyAppReply><br>&gt;      ....<br>&gt;      \
> </MyAppReply><br>&gt;
> </soapenv:Body><br>&gt;   </soapenv:Header><br>&gt;<br>&gt;   The C# client
> encountered this exception<br>&gt;<br>&gt;   Unhandled Exception:<br>&gt;
>
> Microsoft.Web.Services3.Addressing.AddressingFault:
> Message<br>&gt; Information Header Required ---&gt; Micros<br>&gt;
> oft.Web.Services3.Addressing.AddressingFormatException:<br>&gt; WSE202:
>
> The<br>&gt; Action header is required when other address headers<br>&gt;
> are present.<br>&gt;    --- End of inner exception stack trace
> ---<br>&gt;    at<br>&gt;
>
> Microsoft.Web.Services3.Addressing.AddressingHeaders.CheckValid()<br>&gt;    \
> at<br>&gt; Microsoft.Web.Services3.Addressing.AddressingHeaders.Load(SoapEnvelope<br \
> >&gt; envelope)<br>&gt;    at
> Microsoft.Web.Services3.SoapEnvelope.PostLoad(Boolean<br>&gt;
> loadAddressing)<br>&gt;    at
> Microsoft.Web.Services3.SoapEnvelope.PostLoad()<br>&gt;    at \
> Microsoft.Web.Services3.SoapEnvelope.Load (XmlReader<br>&gt;
> reader)<br>&gt;    at<br>&gt;
> Microsoft.Web.Services3.Mime.XopDocument.LoadStartPart(MimePart<br>&gt; \
> startPart)<br>&gt;    at<br>&gt;
> Microsoft.Web.Services3.Mime.XopDocument.LoadFromXopPackage(String<br>&gt;
> contentType, Stream stream)<br>&gt;    at<br>&gt;
>
> Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor
> (SoapClientMessage<br>&gt; message, String messageContentType)<br>&gt;
> at<br>&gt;
> Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(SoapClientMess \
> age<br>&gt; message, Int32 bufferSize)<br>&gt;
> at<br>&gt;
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage< \
> br>&gt; message, WebResponse response,<br>&gt; Stream responseStream, Boolean \
> asyncCall)<br>&gt;    at<br>&gt;
> System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String<br>&gt;
> methodName, Object[] parameters)<br>&gt;<br>&gt;   I guess it's about some
> configuration on client side or server side.<br>&gt; Can someone tell me
>
> what the fix is?<br>&gt;<br>&gt;   Thanks in advance,<br>&gt;<br>&gt;
> vick<br>&gt;<br>&gt;<br>&gt;  ________________________________<br>&gt;
>
> Stay in the know. Pulse on the new Yahoo.com. Check it
> out.<br>&gt;<br>&gt;<br><br><br>-- <br>David Illsley - IBM Web Services
>
> Development<br><br>----------------------------------------------------------------- \
> ----<br>To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> <http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-unsubscribe@ws.apache.org&YY= \
> 35237&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b><br>For \
> additional commands, e-mail:
> axis-user-help@ws.apache.org \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-help@ws.apache.org&YY=35237&y \
> 5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b><br><br></soapenv:Enve \
> lope></soap:Envelope></ sctt_ken@yahoo.com \
> <http://us.f586.mail.yahoo.com/ym/Compose?To=sctt_ken@yahoo.com&YY=35237&y5beta=yes& \
> y5beta=yes&order=down&sort=date&pos=0&view=a&head=b>></blockquote><br><p>  <hr \
> size=1>Get your email and more, right on the <a href="
> http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview" <http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview>> new
> Yahoo.com</a>
>
> --0-1468242578-1159300441=:31885--
>
>


*[Attachment #3 (text/html)]*
<http://marc.theaimsgroup.com/?l=axis-user&m=115945357417477&q=p3>

Hi, <br><br>I don't know if it can help. <br><br>What I understood is
that you try to \
access your service by using a SOAP session.  As specified it the
following document, \
you have to engage the adressing module on both sides (client and
server), and change \
the scope of your service before engaging it. ( <a \
href="http://www.developer.com/services/article.php/3620661"
<http://www.developer.com/services/article.php/3620661>>http://www.developer.com/
\
services/article.php/3620661</a>).<br><br>About setting the adressing
module at the \
launch of Axis2, I think it is enabled by default. If it's not, you
have to modify \
your  axis2.xml file and have something like this (this is configured
to enable \
SOAPMonitor as well):<br><br>&lt;!-- \
================================================= --&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;!-- Global Modules&nbsp; --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- \
================================================= --&gt;
<br>&nbsp;&nbsp;&nbsp; \
&lt;!-- Comment this to disable Addressing
--&gt;<br>&nbsp;&nbsp;&nbsp; &lt;module \
ref=&quot;addressing&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;module \
ref=&quot;soapmonitor&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;
&lt;!--Configuring module , \
providing parameters for modules whether they refer or not--&gt; \
<br>&nbsp;&nbsp;&nbsp; &lt;!--&lt;moduleConfig \
name=&quot;addressing&quot;&gt;--&gt;<br>&nbsp;&nbsp;&nbsp;
&lt;!--&lt;parameter \
name=&quot;addressingPara&quot; \
locked=&quot;false&quot;&gt;N/A&lt;/parameter&gt;--&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;!--&lt;/moduleConfig&gt;--&gt; <br><br>&nbsp;&nbsp;&nbsp; &lt;!-- \
================================================= --&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;!-- Phases&nbsp; --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- \
================================================= --&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;phaseOrder type=&quot;inflow&quot;&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&nbsp; System
pre defined \
phases&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;Transport&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp; &lt;handler \
name=&quot;RequestURIBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.RequestURIBasedDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;Dispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp;
&lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp;&nbsp;&nbsp; &lt;handler \
name=&quot;SOAPActionBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.SOAPActionBasedDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;Dispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp; &lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/phase&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;Security&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;phase name=&quot;PreDispatch&quot;/&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase
name=&quot;Dispatch&quot; \
class=&quot;org.apache.axis2.engine.DispatchPhase&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;handler \
name=&quot;AddressingBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.AddressingBasedDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;Dispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp;
&lt;/handler&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp; &lt;handler \
name=&quot;SOAPMessageBodyBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;Dispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp;
&lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp;&nbsp;&nbsp; &lt;handler \
name=&quot;InstanceDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
class=&quot;org.apache.axis2.engine.InstanceDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;PostDispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;
&lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs \
p;&nbsp;&nbsp;&nbsp; &lt;handler \
name=&quot;RequestURIBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.RequestURIBasedDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;Dispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp;
&lt;/handler&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp; &lt;handler \
name=&quot;SOAPActionBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.SOAPActionBasedDispatcher \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp; &lt;order \
phase=&quot;Dispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp; &lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/phase&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;!--&nbsp; System pre \
defined phases&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&nbsp;&nbsp; After \
Postdispatch phase module author or or service author can add any phase he \
want&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;OperationInPhase&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&lt;phase name=&quot;userphase1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p; &lt;phase name=&quot;soapmonitorPhase&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;/phaseOrder&gt;<br>&nbsp;&nbsp;&nbsp; &lt;phaseOrder
type=&quot;outflow&quot;&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
user can add his own phases to this area&nbsp; \
--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;OperationOutPhase&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&lt;!--system predefined
phase--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;!--these phase will run irrespective of the service--&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;PolicyDetermination&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
; &lt;phase name=&quot;MessageOut&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp; &lt;phase name=&quot;userphase1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp; &lt;phase name=&quot;soapmonitorPhase&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp; \
&lt;/phaseOrder&gt;<br>&nbsp;&nbsp;&nbsp; &lt;phaseOrder \
type=&quot;INfaultflow&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;phase name=&quot;PreDispatch&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp; &lt;phase name=&quot;Dispatch&quot; \
class=&quot;org.apache.axis2.engine.DispatchPhase \
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&lt;handler name=&quot;RequestURIBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&nbsp; class=&quot;org.apache.axis2.engine.RequestURIBasedDispatcher&quot;&gt;<br>&nbs
\
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&lt;order phase=&quot;Dispatch&quot;/&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/handler&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp; &lt;handler
name=&quot;SOAPActionBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
\
nbsp;&nbsp; class=&quot;org.apache.axis2.engine.SOAPActionBasedDispatcher&quot;&gt;<br
\
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
\
> nbsp; &lt;order phase=&quot;Dispatch&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/handler&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp; &lt;handler
name=&quot;AddressingBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
\
nbsp;&nbsp; class=&quot;org.apache.axis2.engine.AddressingBasedDispatcher&quot;&gt;<br
\
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
\
> nbsp; &lt;order phase=&quot;Dispatch&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/handler&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp; &lt;handler
name=&quot;SOAPMessageBodyBasedDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp;&nbsp;&nbsp;
class=&quot;org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher&qu
\
ot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp;&nbsp;&nbsp; &lt;order phase=&quot;Dispatch&quot;/&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&lt;handler name=&quot;InstanceDispatcher&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
class=&quot;org.apache.axis2.engine.InstanceDispatcher&quot;&gt;<br>&nbsp;&nbsp;&nbsp;
\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;order \
phase=&quot;PostDispatch&quot;/&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/handler&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/phase&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user can add his own phases to
this area&nbsp; \
--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;OperationInFaultPhase&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
\
sp; &lt;phase name=&quot;userphase1&quot;/&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;soapmonitorPhase&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;/phaseOrder&gt;<br>&nbsp;&nbsp;&nbsp; &lt;phaseOrder \
type=&quot;Outfaultflow&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\
&lt;!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user can add his own phases to
this area&nbsp; \
--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;OperationOutFaultPhase&quot;/&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase \
name=&quot;PolicyDetermination&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
; &lt;phase name=&quot;MessageOut&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
\
bsp; &lt;phase name=&quot;userphase1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
\
;&nbsp; &lt;phase name=&quot;soapmonitorPhase&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp; \
&lt;/phaseOrder&gt;<br><br>Hope that can help,<br><br>RB<br><br><div><span \
class="gmail_quote">On 9/26/06, <b class="gmail_sendername">scott
ken</b> &lt;<a \
href="mailto:scttken@gmail.com">scttken@gmail.com</a>&gt; wrote:
</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204);
margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"><pre><tt><tt>David,<br>I started the
discussion using \
my yahoo email account. I suspect that Yahoo treats the Axis2
mailinglist <br>as a \
spam. My second email to the mailinglist was bounced back. Now I'm
using my<br>Gmail \
account to continue asking questions. Thanks!<br><br><br>I engaged the
addressing \
module from axis2 admin webpage. But it seems  <br>not change the result. The \
request/reply soap messages are still the <br>same. Do you know what
else steps I \
need to performa to make addressing <br><br>effect. <br><br>And
another question is, \
if I don't want to engage addressing  <br>dynamically from Axis2 admin
servlet but \
want to do it in configuration files, <br>is it \
possible?<br><br>Thanks,<br>vick<br><br>David Illsley &lt;<br><a \
href="http://us.f586.mail.yahoo.com/ym/Compose?To=davidillsley@gmail.com&amp;YY=35237&
\
amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;he
\
ad=b" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
davidillsley@gmail.com</a>&gt; wrote: Looks to me like you need <br><span \
class="q"><br>to engage the addressing module in the axis2<br>server
so that there \
are addressing headers in the response. See the<br>Axis2 documentaton
for how to do \
this. <br>David<br><br></span><span class="q">On 21/09/06, scott ken
wrote:<br>&gt; \
My C# client (.dotNet <br>2.0 and WSE 3.0) generated the following
SOAP<br>&gt; \
message.<br>&gt;<br>&gt;   <br>&gt;   <br>&gt;<br>&gt; <br></span> <span \
class="q">xmlns:wsse=&quot;<a \
href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xs
\
d" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd</a>&
\
quot;<br>&gt;<br>&gt; xmlns:wsa=&quot;<a \
href="http://schemas.xmlsoap.org/ws/2004/08/addressing"
<http://schemas.xmlsoap.org/ws/2004/08/addressing> target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
http://schemas.xmlsoap.org/ws/2004/08/addressing<br></a>&quot;<br>&gt;   \
xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance> target="_blank" \
onclick="return
top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchem
\
a-instance </a>&quot;<br>&gt;   xmlns:xsd=&quot;<a \
href="http://www.w3.org/2001/XMLSchema"
<http://www.w3.org/2001/XMLSchema> target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
http://www.w3.org/2001/XMLSchema</a>&quot;<br>&gt;   xmlns:xop=&quot;<a \
href="http://www.w3.org/2004/08/xop/include"
<http://www.w3.org/2004/08/xop/include> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)">http://www.w3.org/2004/08/xop/include \
</a>&quot;<br>&gt;   xmlns:soap=&quot;<a \
href="http://schemas.xmlsoap.org/soap/envelope/"
<http://schemas.xmlsoap.org/soap/envelope/> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)"> \
http://schemas.xmlsoap.org/soap/envelope/</a>&quot;<br>&gt;<br>&gt; \
<br>xmlns:wsu=&quot;<a \
href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.x
\
sd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd<br>
\
</a>&quot;&gt;<br>&gt;   <br>&gt;   <br>&gt;   <br></span><span
class="q">&gt;   \
urn:uuid:8a8309c1-a21d-48ff-aa52-2647bb377cfc<br>&gt;    <br>&gt;   <br>&gt;   \
<br>&gt;<br>&gt; </span><span class="q"><a \
href="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
<http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous> \
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a><br>&gt;   \
<br>&gt;   <br>&gt;   <br></span><span class="q">&gt;   <a \
href="http://localhost:8080/axis2/services/CMBWebService"
<http://localhost:8080/axis2/services/CMBWebService> target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
http://localhost:8080/axis2/services/CMBWebService<br></a><br>&gt;
<br>&gt;   \
<br>&gt;   <br></span><span class="q">&gt;   \
wsu:Id=&quot;Timestamp-010f1103-934c-44fb-8778-1251c874e66e&quot;&gt;<br></span><span
\
class="q"> &gt;   2006-09-20T23:12:21Z<br></span><span class="q">&gt;   \
2006-09-20T23:17:21Z<br>&gt;   <br>&gt;   <br>&gt;   <br>&gt;
<br><br>&gt;      \
<br></span>&gt;      ....<span class="q"><br>&gt;      <br>&gt;
<br>&gt;   <br> \
&gt;<br>&gt;   The reply message from Axis2 server is<br>&gt;<br>&gt;
 <br>&gt;   \
<br></span><span class="q">&gt; xmlns:soapenv=&quot;<a \
href="http://schemas.xmlsoap.org/soap/envelope/"
<http://schemas.xmlsoap.org/soap/envelope/> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)">

http://schemas.xmlsoap.org/soap/envelope/</a>&quot;&gt;<br>&gt;
<br>&gt;   <br>&gt; \
<br></span>&gt;      ....</tt></tt><div><span class="e" \
id="q_10debf5859304437_14"><tt><tt><br>&gt;      <br>&gt;   <br>&gt;   <br> \
&gt;<br>&gt;   The C# client encountered this
exception<br>&gt;<br>&gt;   Unhandled \
Exception:<br><br>&gt; Microsoft.Web.Services3.Addressing.AddressingFault: \
Message<br>&gt; Information Header Required ---&gt; Micros<br> &gt; \
oft.Web.Services3.Addressing.AddressingFormatException:<br>&gt;
WSE202: The<br>&gt; \
Action header is required when other address headers<br><br>&gt;  are \
present.<br>&gt;    --- End of inner exception stack trace ---
<br>&gt;    at<br>&gt; \
Microsoft.Web.Services3.Addressing.AddressingHeaders.CheckValid()<br>&gt;    \
at<br>&gt; <br>Microsoft.Web.Services3.Addressing.AddressingHeaders.Load<br>(SoapEnvel
\
ope<br>&gt; envelope)<br>&gt;    at  \
Microsoft.Web.Services3.SoapEnvelope.PostLoad(Boolean<br>&gt;
loadAddressing)<br>&gt; \
at Microsoft.Web.Services3.SoapEnvelope.PostLoad()<br>&gt;    at \
Microsoft.Web.Services3.SoapEnvelope.Load<br>(XmlReader<br>&gt;
reader) <br>&gt;    \
at<br>&gt; Microsoft.Web.Services3.Mime.XopDocument.LoadStartPart(MimePart<br>&gt;
\
startPart)<br>&gt;    at<br>&gt; \
Microsoft.Web.Services3.Mime.XopDocument.LoadFromXopPackage(String<br> &gt; \
contentType, Stream stream)<br>&gt;    at<br>&gt; \
<br>Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMessage<br>&
\
gt; message, String messageContentType)<br>&gt;    at<br>&gt; \
<br>Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage \
<br>(SoapClientMessage<br>&gt; message, Int32 bufferSize)<br>&gt;
at<br>&gt; \
<br>System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessag
\
e<br>&gt; message, WebResponse response,<br>&gt;  Stream
responseStream, Boolean \
asyncCall) <br><br>&gt;    at<br>&gt; \
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String<br>&gt; \
methodName, Object[] parameters)<br>&gt;<br>&gt;   I guess it's about some \
configuration on client side or server <br>side. <br><br>&gt; Can
someone tell me \
what the fix is?<br>&gt;<br>&gt;   Thanks in advance,<br>&gt;<br>&gt;   \
vick<br>&gt;<br>&gt;<br>&gt;  ________________________________<br>&gt;
Stay in the \
know. Pulse on the new <a href="http://Yahoo.com" <http://yahoo.com/>
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">

Yahoo.com</a>. Check it out.<br>&gt;<br>&gt;<br><br><br>-- <br>David
Illsley - IBM \
Web Services Development<br><br>------------------------------------------------------
\
---------------<br>To unsubscribe, e-mail: <a \
href="http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-unsubscribe@ws.apache.org&
\
amp;YY=35237&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;
\
view=a&amp;head=b" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">

axis-user-unsubscribe@ws.apache.org</a><br>For additional commands, e-mail: <a \
href="http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-help@ws.apache.org&amp;YY=
\
35237&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&
\
amp;head=b" target="_blank" onclick="return
top.js.OpenExtLink(window,event,this)">

axis-user-help@ws.apache.org</a><br><br><br><br> \
<br></tt></tt></span></div><tt><tt>---------------------------------<br>Get
your \
email and more, right on the  new <a href="http://Yahoo.com"
<http://yahoo.com/> target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> Yahoo.com</a> \
<br>--0-1468242578-1159300441=:31885<br>Content-Type: text/html; \
charset=iso-8859-1<br><br>Content-Transfer-Encoding: 8bit<br><br>Hi, \
David,&lt;br&gt;&lt;br&gt;I engaged the addressing module from axis2 admin  \
<br>webpage. But it seems not change the result. The request/reply
soap <br>messages \
are still the same. Do you know what else steps I need to performa to
<br><br>make \
addressing effect. &lt;br&gt;&lt;br&gt;And another question is, if I
don't  <br>want \
to engage addressing dynamically from Axis2 admin servlet but want to
<br>do it in \
configuration files, is it \
<br>possible?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;vick&lt;br&gt;&lt;br&gt;&lt;b&gt;&lt
\
;i&gt;David Illsley &amp;lt; <br><a \
href="http://us.f586.mail.yahoo.com/ym/Compose?To=davidillsley@gmail.com&amp;YY=35237&
\
amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;he
\
ad=b" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
davidillsley@gmail.com</a>&amp;gt;&lt;/i&gt;&lt;/b&gt;
<br><br>wrote:&lt;blockquote \
class=&quot;replbq&quot; style=&quot;border-left: 2px solid rgb(16,
16, <br>255); \
margin-left: 5px; padding-left: 5px;&quot;&gt; Looks to me like you need to  \
<br>engage the addressing module in the axis2&lt;br&gt;server so that
there are \
<br><br>addressing headers in the response. See the&lt;br&gt;Axis2
documentaton for \
<br>how to do this.&lt;br&gt;David&lt;br&gt;&lt;br&gt;On 21/09/06, scott ken  \
<br>&lt;<a href="http://us.f586.mail.yahoo.com/ym/Compose?To=sctt_ken@yahoo.com&amp;YY
\
=35237&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a
\
&amp;head=b" target="_blank" onclick="return
top.js.OpenExtLink(window,event,this)">

sctt_ken@yahoo.com</a>&gt; wrote:&lt;br&gt;&amp;gt; My C# client
(.dotNet 2.0 and WSE \
<br>3.0) generated the following SOAP&lt;br&gt;&amp;gt; \
message.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   <br>&lt;br&gt;&amp;gt;  <br> \
&lt;soap:Envelope&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;  \
<br><br>xmlns:wsse=&quot;<a \
href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xs
\
d" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">http://docs.oasis-open.org/wss/2004/01/oasis-20
\
0401-wss-wssecurity-secext-1.0.xsd
</a>&quot;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; \
<br><br>xmlns:wsa=&quot;<a
href="http://schemas.xmlsoap.org/ws/2004/08/addressing"
<http://schemas.xmlsoap.org/ws/2004/08/addressing> \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">http://schemas.xmlsoap.org/ws/2004/08/addressin
\
g </a>&quot;&lt;br&gt;&amp;gt;   <br>xmlns:xsi=&quot;<a \
href="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)"> \
http://www.w3.org/2001/XMLSchema-instance</a>&quot;&lt;br&gt;&amp;gt;   \
<br>xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema"
<http://www.w3.org/2001/XMLSchema> target="_blank" \
onclick="return
top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchem
\
a </a>&quot;&lt;br&gt;&amp;gt;   <br>xmlns:xop=&quot;<br><a \
href="http://www.w3.org/2004/08/xop/include"
<http://www.w3.org/2004/08/xop/include> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)">http://www.w3.org/2004/08/xop/include</a>&quot;
\
&lt;br&gt;&amp;gt;    <br>xmlns:soap=&quot;<a \
href="http://schemas.xmlsoap.org/soap/envelope/"
<http://schemas.xmlsoap.org/soap/envelope/> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)"> \
http://schemas.xmlsoap.org/soap/envelope/</a>&quot;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt
\
; <span class="q"><br>xmlns:wsu=&quot;<a \
href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.x
\
sd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd<br>
\
</a></span>&quot;&amp;gt;&lt;br&gt;&amp;gt;   \
<br>&lt;soap:Header&gt;&lt;br&gt;&amp;gt;
&lt;wsa:Action&gt;&lt;br&gt;&amp;gt;   \
&lt;wsa:MessageID&gt;&lt;br&gt;&amp;gt;    \
<br>urn:uuid:8a8309c1-a21d-48ff-aa52-2647bb377cfc&lt;br&gt;&amp;gt;   \
<br><br>&lt;/wsa:MessageID&gt;&lt;br&gt;&amp;gt;   \
&lt;wsa:ReplyTo&gt;&lt;br&gt;&amp;gt;   \
&lt;wsa:Address&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; <br> <a \
href="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
<http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous> \
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a>&lt;br&gt;&amp;gt;
\
<br>&lt;/wsa:Address&gt;&lt;br&gt;&amp;gt;
&lt;/wsa:ReplyTo&gt;&lt;br&gt;&amp;gt;   \
&lt;wsa:To&gt;&lt;br&gt;&amp;gt;   <br><a \
href="http://localhost:8080/axis2/services/CMBWebService"
<http://localhost:8080/axis2/services/CMBWebService> target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">

http://localhost:8080/axis2/services/CMBWebService</a>&lt;br&gt;&amp;gt;  <br> \
&lt;/wsa:To&gt;&lt;br&gt;&amp;gt;   &lt;wsse:Security&gt;&lt;br&gt;&amp;gt;   \
&lt;wsu:Timestamp&gt;&lt;br&gt;&amp;gt;   \
<br>wsu:Id=&quot;Timestamp-010f1103-934c-44fb-8778-1251c874e66e&quot;&amp;gt;&lt;br&gt
\
;&amp;gt;    <br><br>&lt;wsu:Created&gt;2006-09-20T23:12:21Z&lt;/wsu:Created&gt;&lt;br
\
&gt;&amp;gt;   <br>&lt;wsu:Expires&gt;2006-09-20T23:17:21Z&lt;/wsu:Expires&gt;&lt;br&g
\
t;&amp;gt;   &lt;/wsu:Timestamp&gt;&lt;br&gt;&amp;gt;   \
<br>&lt;/wsse:Security&gt;&lt;br&gt;&amp;gt;
&lt;/wsa:Action&gt;&lt;br&gt;&amp;gt;  \
&lt;soap:Body&gt;&lt;br&gt;&amp;gt;       \
<br><br>&lt;MyAppRequest&gt;&lt;br&gt;&amp;gt;
....&lt;br&gt;&amp;gt;      \
&lt;/MyAppRequest&gt;&lt;br&gt;&amp;gt;
<br>&lt;/soap:Body&gt;&lt;br&gt;&amp;gt;   \
&lt;/soap:Header&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   The reply
<br><br>message \
from Axis2 server is&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   \
<br>&lt;soapenv:Envelope&gt;&lt;br&gt;&amp;gt; <br>xmlns:soapenv=&quot;<a \
href="http://schemas.xmlsoap.org/soap/envelope/"
<http://schemas.xmlsoap.org/soap/envelope/> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)">

http://schemas.xmlsoap.org/soap/envelope/</a>&quot;&amp;gt;&lt;br&gt;&amp;gt;
  \
&lt;soapenv:Header&gt;&lt;br&gt;&amp;gt;
&lt;soapenv:Body&gt;&lt;br&gt;&amp;gt;     \
<br>&lt;MyAppReply&gt;&lt;br&gt;&amp;gt;      ....&lt;br&gt;&amp;gt;      \
&lt;/MyAppReply&gt;&lt;br&gt;&amp;gt;    \
<br><br>&lt;/soapenv:Body&gt;&lt;br&gt;&amp;gt;   \
&lt;/soapenv:Header&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   The C# client \
<br>encountered this exception&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   Unhandled \
Exception:&lt;br&gt;&amp;gt;  <br><span \
class="q"><br>Microsoft.Web.Services3.Addressing.AddressingFault:<br></span> \
Message&lt;br&gt;&amp;gt; Information Header Required ---&amp;gt; \
Micros&lt;br&gt;&amp;gt;
<br>oft.Web.Services3.Addressing.AddressingFormatException: \
&lt;br&gt;&amp;gt; WSE202: <br><br>The&lt;br&gt;&amp;gt; Action header
is required \
when other address headers&lt;br&gt;&amp;gt;  <br>are
present.&lt;br&gt;&amp;gt;    \
--- End of inner exception stack trace <br>---&lt;br&gt;&amp;gt;    \
at&lt;br&gt;&amp;gt;  \
<br><br>Microsoft.Web.Services3.Addressing.AddressingHeaders.CheckValid()&lt;br&gt;&am
\
p;gt;    at&lt;br&gt;&amp;gt; \
<br>Microsoft.Web.Services3.Addressing.AddressingHeaders.Load(SoapEnvelope&lt;br&gt;&a
\
mp;gt; envelope)&lt;br&gt;&amp;gt;    at  \
<br><br>Microsoft.Web.Services3.SoapEnvelope.PostLoad(Boolean&lt;br&gt;&amp;gt;
\
<br>loadAddressing)&lt;br&gt;&amp;gt;    at \
<br>Microsoft.Web.Services3.SoapEnvelope.PostLoad()&lt;br&gt;&amp;gt;    at \
Microsoft.Web.Services3.SoapEnvelope.Load <br>(XmlReader&lt;br&gt;&amp;gt; \
<br>reader)&lt;br&gt;&amp;gt;    at&lt;br&gt;&amp;gt; \
<br>Microsoft.Web.Services3.Mime.XopDocument.LoadStartPart(MimePart&lt;br&gt;&amp;gt;
\
startPart)&lt;br&gt;&amp;gt;    at&lt;br&gt;&amp;gt;  \
<br><br>Microsoft.Web.Services3.Mime.XopDocument.LoadFromXopPackage(String&lt;br&gt;&a
\
mp;gt; <br>contentType, Stream stream)&lt;br&gt;&amp;gt;
at&lt;br&gt;&amp;gt;<span \
class="q"><br> <br>Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor \
</span> (SoapClientMessage&lt;br&gt;&amp;gt; message, String \
messageContentType)&lt;br&gt;&amp;gt;    <br>at&lt;br&gt;&amp;gt; \
<br>Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(SoapClientMe
\
ssage&lt;br&gt;&amp;gt; message, Int32 bufferSize)&lt;br&gt;&amp;gt;       \
<br><br>at&lt;br&gt;&amp;gt; \
<br>System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessag
\
e&lt;br&gt;&amp;gt; message, WebResponse response,&lt;br&gt;&amp;gt;
<br>Stream \
responseStream, Boolean asyncCall)&lt;br&gt;&amp;gt;    at&lt;br&gt;&amp;gt;  \
<br><br>System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String&lt;br&gt;&a
\
mp;gt; <br>methodName, Object[]
parameters)&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   I \
guess it's about some <br>configuration on client side or server \
side.&lt;br&gt;&amp;gt; Can someone tell me  <br><br>what the fix \
is?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   Thanks in \
advance,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   \
<br>vick&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;  \
________________________________&lt;br&gt;&amp;gt;  <br><span
class="q"><br>Stay in \
the know. Pulse on the new <a href="http://Yahoo.com"
<http://yahoo.com/> target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">Yahoo.com</a>. Check it \
<br></span>out.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
\
&lt;br&gt;David Illsley - IBM Web Services <br> \
<br>Development&lt;br&gt;&lt;br&gt;---------------------------------------------------
\
------------------&lt;br&gt;To unsubscribe, e-mail: <br><span class="q"><br><a \
href="http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-unsubscribe@ws.apache.org&
\
amp;YY=35237&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;
\
view=a&amp;head=b" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
axis-user-unsubscribe@ws.apache.org<br></a></span>&lt;br&gt;For
additional commands, \
e-mail: <br><a href="http://us.f586.mail.yahoo.com/ym/Compose?To=axis-user-help@ws.apa
\
che.org&amp;YY=35237&amp;y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;po
\
s=0&amp;view=a&amp;head=b" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">

axis-user-help@ws.apache.org</a>&lt;br&gt;&lt;br&gt;&lt;/soapenv:Envelope&gt;&lt;/soap
\
:Envelope&gt;&lt;/<a \
href="http://us.f586.mail.yahoo.com/ym/Compose?To=sctt_ken@yahoo.com&amp;YY=35237&amp;
\
y5beta=yes&amp;y5beta=yes&amp;order=down&amp;sort=date&amp;pos=0&amp;view=a&amp;head=b
\
" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

sctt_ken@yahoo.com</a>&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;p&gt; <br>		&lt;hr \
size=1&gt;Get your email and more, right on the &lt;a <br>href=&quot;<a \
href="http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview"
<http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview>
target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">

http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview</a>&quot;&gt;
new \
<br><a href="http://Yahoo.com" <http://yahoo.com/> target="_blank"
onclick="return \
top.js.OpenExtLink(window,event,this)">Yahoo.com</a>&lt;/a&gt; \
<br><br>--0-1468242578-1159300441=:31885-- </tt></tt></pre>

</blockquote></div><br>

Mime
View raw message