Hi Niraj,

You have defined  your Handlers in the globe level using axis2.xml
file, then it will engage in globally  in Axis2 that the reason for
your issue. One possible solution is remove that handler definition
from axis2.xml and deploy your handlers as a Axis2 module[1]
separately, where you can define your handler definition in module.xml
file instead of axis2.xml .Then you can engage that module only for
required services on service.xml file  using <module
ref="moduleName"/> tag.

[1] - http://ws.apache.org/axis2/1_5/modules.html


Thanks ,


On Tue, Aug 11, 2009 at 7:20 PM, Nath, Niraj<[email protected]> wrote:
> Hi,
>
>    We use axis2 1.0 war package in our application. We have hosted a set of 
> services at our end they all are working fine. We also have a handler 
> inserted for authenticating the clients who call our web services.
>
> Now we have some requirement where we are acting as a client to a set of 
> services hosted somewhere else. We are seeing that the handler which we 
> inserted is coming into play here too & so it's trying to authenticate the 
> outgoing soap request. This is not what we wanted. We only wanted to 
> intercept the soap requests which are coming to our server & not the other 
> way round.
>
> May be we have inserted our phase at the wrong location. Can someone help 
> here to put the phase at the correct location? I'm attaching the axis2.xml 
> file where we are inserting the phase.
>
> The inserted handler is at line 221-224 ( or search for EcamsHandler)..
>
> Appreciate any help. Thanks
>
> Regards
>
> Niraj Nath
>
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to