Hi Vipul,

There is no configuration of the web services server for synapse, since it
is designed to work with any number of web services servers on anywhere. So
what you need to configure is the endpoint which you are proxying. For
example lets say you have 5 services on the axis2 web services server and
now you need to proxy those 5 services, and there are two approaches for you
to achieve this.

First of which is to create ProxyServices in the synapse server [
http://synapse.apache.org/Synapse_Configuration_Language.html#proxy] for
each and every web service and point to the corresponding actual service
through an endpoint in the proxy configuration. With this approach the
actual service details and its implementation is completely hidden to the
user and this gives the location transparency and many other advantages.

The other aproach requires the user to specify the actual endpoint but let
the message flow through synapse so that it will route the message. In this
case what you do is, you setup the main sequence of the ESB to act as the
router and directs the messages into the actual server. You could also do
CBR (Content Based Routing) without requiring the user to specify the
ultimate endpoint, if possible.

Hope this will help you!

You may go through;
[1] - http://wso2.org/library/2559
[2] - http://wso2.org/library/3422

Thanks,
Ruwan

On Sat, Jul 18, 2009 at 4:51 AM, Vipul Sagare <[email protected]>wrote:

> I am using Synapse as proxy server and running AXIS2 web services on some
> other machines.
>
> Where should configure the "web services server" when I start Synapse
> server?  Seems like- I missing something obvious..    Sample
> configurations(numbered ones) do not have explicit mention of the server.
>
>
> Your help is appreciated..
>
> Thanks,
> Vipul
>
>
>
>




-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: [email protected]; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Reply via email to