You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Florian Georg <fl...@uni-konstanz.de> on 2007/10/21 22:19:52 UTC

Use Synapse to resolve "true" endpoint ?

I´m relativly new to WS* in general, so this might be a newbie
question...

I was wondering if Synapse is the way to help me with a simple
development issue:

E.g. I want to develop all my clients calling
http://example.com/services/MyService, which is the URI specified in the
WSDL ... but the "real" endpoint might be
http://localhost:8080/services/MyService during development time (or on
a test server, or even dynamically resolved for load-balancing,...)


Should I use Synapse for that? How can I do so? Or is there even an
easier way to accomplish this (e.g. directly supported "mapping" by WSDL
or AXIS) ?

Thanks for any comments on this,
  Florian

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-user-help@ws.apache.org


Re: Use Synapse to resolve "true" endpoint ?

Posted by Upul Godage <up...@gmail.com>.
Yes. This is possible using a proxy service which would forward to the real
service endpoint.  Also you can configure load balancing etc.  There are
samples for similar scenarios at
http://ws.apache.org/synapse/Synapse_Samples.html

Upul

On 10/22/07, Florian Georg <fl...@uni-konstanz.de> wrote:
>
> I´m relativly new to WS* in general, so this might be a newbie
> question...
>
> I was wondering if Synapse is the way to help me with a simple
> development issue:
>
> E.g. I want to develop all my clients calling
> http://example.com/services/MyService, which is the URI specified in the
> WSDL ... but the "real" endpoint might be
> http://localhost:8080/services/MyService during development time (or on
> a test server, or even dynamically resolved for load-balancing,...)
>
>
> Should I use Synapse for that? How can I do so? Or is there even an
> easier way to accomplish this (e.g. directly supported "mapping" by WSDL
> or AXIS) ?
>
> Thanks for any comments on this,
>   Florian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-user-help@ws.apache.org
>
>