axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: SOAPMonitor Problem
Date Tue, 09 Oct 2007 14:33:12 GMT
In your axis2.xml , you need to have:

<module ref="addressing"/>
<module ref="soapmonitor"/>

As the docs say, don't copy and paste the phases. In fact, you
shouldn't need to change those at all.

HTH,
Robert

On 10/9/07, Antonio Manuel Muñiz Martín <amunizmartin.axis2@gmail.com> wrote:
> I do all steps in documentation. I don´t modify phaseOrder content, because
> the phase soapmonitorPhase already exists.
> Perhaps I don´t understand the phase filosofy.
>
> In my axis2.xml I have:
>
> ...
> <module ref="soapmonitor"/>
> ...
> <phaseOrder type="InFlow">
>         <!--  System predefined phases       -->
>         <phase name="Transport">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
>                 <order phase="Transport"/>
>             </handler>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
>                 <order phase="Transport"/>
>             </handler>
>         </phase>
>         <phase name="Addressing">
>              <handler name="AddressingBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
>                  <order phase="Addressing"/>
>             </handler>
>         </phase>
>         <phase name="Security"/>
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher
> "/>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
>             <handler name="RequestURIOperationDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
>             <handler name="SOAPMessageBodyBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher
> "/>
>
>             <handler name="HTTPLocationBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
>         </phase>
>          <phase name="RMPhase"/>
>         <!--  System predefined phases       -->
>         <!--   After Postdispatch phase module author or service author can
> add any phase he want      -->
>         <phase name="OperationInPhase"/>
>         <phase name="soapmonitorPhase"/>
>     </phaseOrder>
>     <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>
>     <phaseOrder type="InFaultFlow">
>         <phase name="Addressing">
>              <handler name="AddressingBasedDispatcher"
>                      class="
> org.apache.axis2.dispatchers.AddressingBasedDispatcher">
>                  <order phase="Addressing"/>
>             </handler>
>         </phase>
>         <phase name="Security"/>
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher
> "/>
>             <handler name="RequestURIOperationDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
>             <handler name="SOAPMessageBodyBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
>
>             <handler name="HTTPLocationBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher
> "/>
>         </phase>
>         <phase name="RMPhase"/>
>         <!--      user can add his own phases to this area  -->
>         <phase name="OperationInFaultPhase"/>
>         <phase name="soapmonitorPhase"/>
>     </phaseOrder>
>     <phaseOrder type="OutFaultFlow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="soapmonitorPhase"/>
>         <phase name="OperationOutFaultPhase"/>
>         <phase name="RMPhase"/>
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>     </phaseOrder>
>
> 2007/10/9, robert lazarski <robertlazarski@gmail.com>:
> > On 10/9/07, Fátima Milla Olaya <fatima.milla-olaya@evidian.com> wrote:
> > > robert lazarski a écrit :
> > > > Did you edit the web.xml ? Please read the docs carefully - the
> > > > required info is all there.
> > > >
> > > > HTH,
> > > > Robert
> > > >
> > > FaultFlow">
> > >         <phase name="Addressing">
> > >              <handler name="AddressingBasedDispatcher"
> > >
> > >
> class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
> > >                  <order phase="Addressing"/>
> > >             </handler>
> > >         </phase>
> > >         <phase name="Security"/>
> > >         <phase name="PreDispatch"/>
> > >         <phase name="Dispatch"
> > > class="org.apache.axis2.engine.DispatchPhase ">
> > >             <handler name="RequestURIBasedDispatcher"
> > >
> > >
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
> > >             <handler name="SOAPActionBasedDispatcher"
> > >
> > >
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
> > >             <handler
> name="RequestURIOperationDispatcher"
> > >
> > >
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher
> "/>
> > >             <handler
> name="SOAPMessageBodyBasedDispatcher"
> > >
> > >
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
> > >
> > >             <handler name="HTTPLocationBasedDispatcher"
> > >
> > >
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
> > >         </phase>
> > >         <phase name="RMPhase"/>
> > >         <!--      user can add his own phases to this area  -->
> > >         <phase name="userphase1"/>
> > >         <phase name="OperationInFaultPhase"/>
> > >         <phase name="soapmonitorPhase"/>
> > >     </phaseOrder>
> > >     <phaseOrder type="OutFaultFlow">
> > >         <!--      user can add his own phases to this area  -->
> > >         <phase name="userphase1"/>
> > >         <phase name="soapmonitorPhase"/>
> > >         <phase name="OperationOutFaultPhase"/>
> > >         <phase name="RMPhase"/>
> > >         <phase name="PolicyDetermination"/>
> > >         <phase name="MessageOut"/>
> > >     </phaseOrder>
> > > </axisconfig>
> > >
> >
> > Where in the axis2.xml are you engaging the module ?
> >
> > HTH,
> > Robert
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message