Sihem
It depends on your client system. In .NET you need to modify app.config. In
Java this may work:
http://info4tech.wordpress.com/2007/05/04/java-http-proxy-settings/
In Axis2, you can set this in axis2.xml:
<parameter name="Proxy">
<Configuration>
<ProxyHost>localhost</ProxyHost>
<ProxyPort>999</ProxyPort>
</Configuration>
</parameter>
Or you can do it programmatically (read here
http://ws.apache.org/axis2/1_3/http-transport.html)
Paul
On Nov 15, 2007 1:43 PM, Sihem <[EMAIL PROTECTED]> wrote:
> Hello,
> I am trying to use Synapse as a proxy server as explained in Quick Start
> Guide with a web service (using JAX-WS) deployed on Tomcat, as well as the
> JSP client. This client is built according the WSDL of the web service. So I
> am wondering how to tell the client that its requests must go to synapse
> which will redirect them to the correct service. Because in the sample, you
> use the property named "-Dtrpurl=
> http://localhost:8080/soap/StockQuoteProxy" to do so. But I must admit
> that I do not know what this property corresponds to.
> Excuse me by advanced if the answer is obvious but I am really new in the
> web services and ESB worlds...
> Thank you by advanced for your help.
> Sihem
>
>
> ---------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail
>
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com