Fwd: Mediating HTTP GET with Synapse

View: New views
4 Messages — Rating Filter:   Alert me  

Parent Message unknown Fwd: Mediating HTTP GET with Synapse

by Srinath Perera-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

---------- Forwarded message ----------
From: Srinath Perera <srinath@...>
Date: Mon, Aug 10, 2009 at 12:04 PM
Subject: Mediating HTTP GET with Synapse
To: escience-dev@...


Hi All;

I need to mediate a HTTP GET request though Synapse (usecase is  that
I need to use Synapse to load balance WSO2 registry, which support
both HTTP UI requests and WS requests). The URL I want to get to is
https://127.0.0.1:8851/carbon/admin/login.jsp and synapse runs in
8280. I send the request to
https://127.0.0.1:8280/carbon/admin/login.jsp, but Synapse sends my
request to http://127.0.0.1:5555/services/.

Have anyone try to do this before? Is it possible to load balance HTTP
get requests using Synapse?

Also I am trying the use Synapse main sequence to do the mediator? can
I get the above effect through a Proxy service?

Thanks
Srinath

--
============================
Srinath Perera, Ph.D.
  WSO2 Inc. http://wso2.com
  Blog: http://srinathsview.blogspot.com/



--
============================
Srinath Perera, Ph.D.
   WSO2 Inc. http://wso2.com
   Blog: http://srinathsview.blogspot.com/

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: Fwd: Mediating HTTP GET with Synapse

by Ruwan Linton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Srinath,

This is relevant to the query that you posted later I guess. I think the
best possible approach is to use a URL-Rewrite mechanism with the main
sequence.

Thanks,
Ruwan

Srinath Perera wrote:

> ---------- Forwarded message ----------
> From: Srinath Perera <srinath@...>
> Date: Mon, Aug 10, 2009 at 12:04 PM
> Subject: Mediating HTTP GET with Synapse
> To: escience-dev@...
>
>
> Hi All;
>
> I need to mediate a HTTP GET request though Synapse (usecase is  that
> I need to use Synapse to load balance WSO2 registry, which support
> both HTTP UI requests and WS requests). The URL I want to get to is
> https://127.0.0.1:8851/carbon/admin/login.jsp and synapse runs in
> 8280. I send the request to
> https://127.0.0.1:8280/carbon/admin/login.jsp, but Synapse sends my
> request to http://127.0.0.1:5555/services/.
>
> Have anyone try to do this before? Is it possible to load balance HTTP
> get requests using Synapse?
>
> Also I am trying the use Synapse main sequence to do the mediator? can
> I get the above effect through a Proxy service?
>
> Thanks
> Srinath
>
> --
> ============================
> Srinath Perera, Ph.D.
>   WSO2 Inc. http://wso2.com
>   Blog: http://srinathsview.blogspot.com/
>
>
>
>  


--
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@...; cell: +94 77 341 3097
blog: http://blog.ruwan.org



_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: Fwd: Mediating HTTP GET with Synapse

by Srinath Perera-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ruwan;

above redirect might happen in Axis2 level (did not check yet). For
now I will try apache_mod_balancer, apparently that how registry is
handled right now.

Thanks
Srinath

On Mon, Aug 10, 2009 at 2:48 PM, Ruwan Linton<ruwan@...> wrote:

> Hi Srinath,
>
> This is relevant to the query that you posted later I guess. I think the
> best possible approach is to use a URL-Rewrite mechanism with the main
> sequence.
>
> Thanks,
> Ruwan
>
> Srinath Perera wrote:
>> ---------- Forwarded message ----------
>> From: Srinath Perera <srinath@...>
>> Date: Mon, Aug 10, 2009 at 12:04 PM
>> Subject: Mediating HTTP GET with Synapse
>> To: escience-dev@...
>>
>>
>> Hi All;
>>
>> I need to mediate a HTTP GET request though Synapse (usecase is  that
>> I need to use Synapse to load balance WSO2 registry, which support
>> both HTTP UI requests and WS requests). The URL I want to get to is
>> https://127.0.0.1:8851/carbon/admin/login.jsp and synapse runs in
>> 8280. I send the request to
>> https://127.0.0.1:8280/carbon/admin/login.jsp, but Synapse sends my
>> request to http://127.0.0.1:5555/services/.
>>
>> Have anyone try to do this before? Is it possible to load balance HTTP
>> get requests using Synapse?
>>
>> Also I am trying the use Synapse main sequence to do the mediator? can
>> I get the above effect through a Proxy service?
>>
>> Thanks
>> Srinath
>>
>> --
>> ============================
>> Srinath Perera, Ph.D.
>>   WSO2 Inc. http://wso2.com
>>   Blog: http://srinathsview.blogspot.com/
>>
>>
>>
>>
>
>
> --
> Ruwan Linton
> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
> WSO2 Inc.; http://wso2.org
> email: ruwan@...; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
>
>
>



--
============================
Srinath Perera, Ph.D.
   WSO2 Inc. http://wso2.com
   Blog: http://srinathsview.blogspot.com/

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: Fwd: Mediating HTTP GET with Synapse

by Ruwan Linton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Srinath Perera wrote:
> Hi Ruwan;
>
> above redirect might happen in Axis2 level (did not check yet). For
> now I will try apache_mod_balancer, apparently that how registry is
> handled right now.
>  
+1

Thanks,
Ruwan

> Thanks
> Srinath
>
> On Mon, Aug 10, 2009 at 2:48 PM, Ruwan Linton<ruwan@...> wrote:
>  
>> Hi Srinath,
>>
>> This is relevant to the query that you posted later I guess. I think the
>> best possible approach is to use a URL-Rewrite mechanism with the main
>> sequence.
>>
>> Thanks,
>> Ruwan
>>
>> Srinath Perera wrote:
>>    
>>> ---------- Forwarded message ----------
>>> From: Srinath Perera <srinath@...>
>>> Date: Mon, Aug 10, 2009 at 12:04 PM
>>> Subject: Mediating HTTP GET with Synapse
>>> To: escience-dev@...
>>>
>>>
>>> Hi All;
>>>
>>> I need to mediate a HTTP GET request though Synapse (usecase is  that
>>> I need to use Synapse to load balance WSO2 registry, which support
>>> both HTTP UI requests and WS requests). The URL I want to get to is
>>> https://127.0.0.1:8851/carbon/admin/login.jsp and synapse runs in
>>> 8280. I send the request to
>>> https://127.0.0.1:8280/carbon/admin/login.jsp, but Synapse sends my
>>> request to http://127.0.0.1:5555/services/.
>>>
>>> Have anyone try to do this before? Is it possible to load balance HTTP
>>> get requests using Synapse?
>>>
>>> Also I am trying the use Synapse main sequence to do the mediator? can
>>> I get the above effect through a Proxy service?
>>>
>>> Thanks
>>> Srinath
>>>
>>> --
>>> ============================
>>> Srinath Perera, Ph.D.
>>>   WSO2 Inc. http://wso2.com
>>>   Blog: http://srinathsview.blogspot.com/
>>>
>>>
>>>
>>>
>>>      
>> --
>> Ruwan Linton
>> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>> WSO2 Inc.; http://wso2.org
>> email: ruwan@...; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>>
>>
>>
>>    
>
>
>
>  


--
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@...; cell: +94 77 341 3097
blog: http://blog.ruwan.org



_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user