You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Song Thuy Nguyen <pr...@biaqua.de> on 2009/12/16 21:56:41 UTC

Putting an ESB between ODE and the service endpoints

Hello,

If I had an running system consisting of ODE and service endpoints, that are called by ODE. And now I want to put an ESB (for example Apache Synapse) between the ODE and the endpoints to provide loadbalancing and failover. Is there a property to define a global proxy for all outgoing calls to service endpoints or is it only possible to set the proxy in each deployment, as described here:

http://ode.apache.org/user-guide.html#UserGuide-Supportedproperties

 

Greetings,

 

 

Thuy

 


RE: Putting an ESB between ODE and the service endpoints

Posted by Song Thuy Nguyen <pr...@biaqua.de>.
I tried to create a xyz.endpoint file in the C:\Tomcat_6.0.18\webapps\ode\WEB-INF\conf folder and put the properties 

http.proxy.host=localhost 
and 
http.proxy.port=8082 

as defined in WSO2 ESB. But the SOAP messages is never received by WSO2 ESB. The sample file of the .endpoint file in the user guide says:

# To disable proxy set the host to null
# http.proxy.host=myproxy.org
# http.proxy.port=8080
# http.proxy.domain=mydomain
# http.proxy.user=johndoe
# http.proxy.password=topsecret

the syntax should be right like I have defined above, isn't it? 
It would be great if anyone can help me with this.

Thanks in advance!


Thuy

> -----Original Message-----
> From: Milinda Pathirage [mailto:milinda.pathirage@gmail.com]
> Sent: Thursday, December 17, 2009 3:25 AM
> To: user@ode.apache.org
> Subject: Re: Putting an ESB between ODE and the service endpoints
> 
> Hi Thuy,
> 
> I think you can set this property on ode-axis2.properties and it'll be
> use
> when calling partner services(mean global setting). I am not sure about
> this. Please check whether its working.
> 
> Thanks
> Milinda
> 
> 
> On Thu, Dec 17, 2009 at 2:26 AM, Song Thuy Nguyen
> <pr...@biaqua.de>wrote:
> 
> > Hello,
> >
> > If I had an running system consisting of ODE and service endpoints,
> that
> > are called by ODE. And now I want to put an ESB (for example Apache
> Synapse)
> > between the ODE and the endpoints to provide loadbalancing and
> failover. Is
> > there a property to define a global proxy for all outgoing calls to
> service
> > endpoints or is it only possible to set the proxy in each deployment,
> as
> > described here:
> >
> > http://ode.apache.org/user-guide.html#UserGuide-Supportedproperties
> >
> >
> >
> > Greetings,
> >
> >
> >
> >
> >
> > Thuy
> >
> >
> >
> >
> 
> 
> --
> Milinda Pathirage
> Senior Software Engineer & Product Manager WSO2 BPS;
> http://wso2.org/bps
> WSO2 Inc.; http://wso2.com
> E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
> Web: http://mpathirage.com
> Blog: http://blog.mpathirage.com


Re: Putting an ESB between ODE and the service endpoints

Posted by Milinda Pathirage <mi...@gmail.com>.
Hi Thuy,

I think you can set this property on ode-axis2.properties and it'll be use
when calling partner services(mean global setting). I am not sure about
this. Please check whether its working.

Thanks
Milinda


On Thu, Dec 17, 2009 at 2:26 AM, Song Thuy Nguyen <pr...@biaqua.de>wrote:

> Hello,
>
> If I had an running system consisting of ODE and service endpoints, that
> are called by ODE. And now I want to put an ESB (for example Apache Synapse)
> between the ODE and the endpoints to provide loadbalancing and failover. Is
> there a property to define a global proxy for all outgoing calls to service
> endpoints or is it only possible to set the proxy in each deployment, as
> described here:
>
> http://ode.apache.org/user-guide.html#UserGuide-Supportedproperties
>
>
>
> Greetings,
>
>
>
>
>
> Thuy
>
>
>
>


-- 
Milinda Pathirage
Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com

RE: Putting an ESB between ODE and the service endpoints

Posted by Song Thuy Nguyen <pr...@biaqua.de>.
@ Milinda

Thank you, I will try it and if it works I'll check back with you.

@Maciek
Yes, there are restrictions: the system is OSGi based and almost complete. I talked to my people and they are ok to go with the ESB solution :)




> -----Original Message-----
> From: Maciej Próchniak [mailto:mpr@touk.pl]
> Sent: Thursday, December 17, 2009 9:10 AM
> To: user@ode.apache.org
> Subject: Re: Putting an ESB between ODE and the service endpoints
> 
> What about deploying ODE JBI distribution inside
> JBI compliant ESB, such as apache servicemix?
> Then all ODE calls would go through JBI Normalized Message Router, and
> could be handled by other services deployed in ESB - e.g. forwarded to
> outside services.
> 
> I think it's the cleanest way to achieve your goal - unless you have
> some
> specific project constraints that force you to use axis deployment.
> 
> br,
> maciek
> 
> On Wed, 16 Dec 2009 21:56:41 +0100, "Song Thuy Nguyen"
> <pr...@biaqua.de> wrote:
> > Hello,
> >
> > If I had an running system consisting of ODE and service endpoints,
> that
> > are called by ODE. And now I want to put an ESB (for example Apache
> > Synapse) between the ODE and the endpoints to provide loadbalancing
> and
> > failover. Is there a property to define a global proxy for all
> outgoing
> > calls to service endpoints or is it only possible to set the proxy in
> each
> > deployment, as described here:
> >
> > http://ode.apache.org/user-guide.html#UserGuide-Supportedproperties
> >
> >
> >
> > Greetings,
> >
> >
> >
> >
> >
> > Thuy


Re: Putting an ESB between ODE and the service endpoints

Posted by Maciej Próchniak <mp...@touk.pl>.
What about deploying ODE JBI distribution inside 
JBI compliant ESB, such as apache servicemix?
Then all ODE calls would go through JBI Normalized Message Router, and 
could be handled by other services deployed in ESB - e.g. forwarded to 
outside services.

I think it's the cleanest way to achieve your goal - unless you have some
specific project constraints that force you to use axis deployment.

br,
maciek

On Wed, 16 Dec 2009 21:56:41 +0100, "Song Thuy Nguyen"
<pr...@biaqua.de> wrote:
> Hello,
> 
> If I had an running system consisting of ODE and service endpoints, that
> are called by ODE. And now I want to put an ESB (for example Apache
> Synapse) between the ODE and the endpoints to provide loadbalancing and
> failover. Is there a property to define a global proxy for all outgoing
> calls to service endpoints or is it only possible to set the proxy in
each
> deployment, as described here:
> 
> http://ode.apache.org/user-guide.html#UserGuide-Supportedproperties
> 
>  
> 
> Greetings,
> 
>  
> 
>  
> 
> Thuy