Andres,

Could you please log "nonProxyHost" requirement as a JIRA issue?
(along with info in this email)

thanks,
dims

On 9/26/06, Andres Rodriguez <[EMAIL PROTECTED]> wrote:
Hi, I hope don´t bothering you and explain the problem clearly. In my
application I have several web service client in axis2 and I have a proxy.
Some web service clients have to interoperate with external web services
(through the proxy) and the others clients interacts with internal web
services (non proxy is needed). According to the axis2 documentation there
are two forms of performing this task:
http://ws.apache.org/axis2/1_0/http-transport.html
For me the best solution is to use the configuration file axis2.xml (for
using in all web service clients without the necessity of writing java code
in each client) but if I write the code inside the axis2.xml:
    <transportSender name="http"
                     class="org.apache.axis2.transport.http.CommonsHTTPTrans
portSender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
        <parameter name="PROXY" proxy_host="proxy" proxy_port="8000"
locked="true">anonymous:anonymous:anonymous</parameter>
    </transportSender>
all the web service clients go out through the proxy and if I write the
code:
    <transportSender name="http"
                     class="org.apache.axis2.transport.http.CommonsHTTPTrans
portSender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
    </transportSender>
all the web service clients doesn´t use the proxy.

In web service clients (prior to axis2) I can put the line in the java
virtual machine arguments:
-Dhttp.proxyHost="proxy" -Dhttp.proxyPort="8000" -Dhttp.nonProxyHosts="local
host"
and with this line I can use both web service clients (external and
internal).

And therefore I need a parameter like nonProxyHost or something similar for
interoperating with internal web services in the axis2.xml configuration
file.

Thanks in advance.


__________________________________

Andrés Rodríguez Arribas
GFI Informática España

Centro Empresarial Parque Norte
C/ Serrano Galvache nº 56
Edificio Encina, Planta 5
28033 Madrid

http://www.gfi-info.com
e-mail: [EMAIL PROTECTED]

Tel. +34 913 836 320 (centralita)
Tel. +34 913 836 322 (ext. 6439)
Fax. +34 913 832 865
__________________________________

Aviso legal:
Este mensaje incluyendo sus anexos pueden contener información confidencial,
en propiedad o legalmente protegida.
Si usted no es el destinatario, le rogamos lo comunique al remitente y
proceda a borrarlo,
sin reenviarlo ni conservarlo, ya que su uso no autorizado está prohibido
legalmente.

Disclaimer:
This message including any attachment may contain confidential, proprietary
or legally privileged information.
If you are not the intended recipient of this message, please notify it to
the sender
and delete without resending or backing it, as it is legally prohibited.
__________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to