Well , at the handler level using properties in message context or
looking at SOAP message you can identify actual service that user is
trying to access. So at that point if the name of the service is
service1 and you want to redirect that to service2 then what you have to
do is ;
- First get the axisConfiguration from message context
- Then get the AxisService corresponding to service2 from
axisConfiguration
- Next add the to message context
msgCtx.setAxisService();
- Next get the AxisOperation from AxisService , that you want to redirect
- Then set that to message context
- msgctx.setOperation();
-Once you have done this , it will automatically re-direct to service2.
Riadh BEN HALIMA wrote:
> Thank you very much Deepal,
> but coud you please, tell me how to do?
> -------------------------------
> Riadh ----- Original Message ----- From: "Deepal Jayasinghe"
> <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, June 22, 2006 1:28 PM
> Subject: Re: Redirect SOAP Message using Handler?
>
>
>> With Axis2 you can
>>
>> That is what actually happening in Synapse
>>
>> Riadh BEN HALIMA wrote:
>>
>>> Hello,
>>> Can I redirect SOAP Message form Server1 to Server2 using Handler?
>>> Could you please, help me to answer this question?
>>> Thanks in advance.
>>> -------------------------------
>>> Riadh
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> --
>> Thanks,
>> Deepal
>> ................................................................
>> ~Future is Open~
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]