Hi,

I am using axis client to create a socket and send the soap requests.
Now the scenario is like this.
System 1 has no dns resolution. Data should go to Proxy 2 which is an
http proxy. Proxy 2 will send the data to Web Service on System 3.
[System 1 -> Proxy 2 -> Web Service on System 3 having host 'a.b.c.com']

Now when i send data from System 1 using axis client for a web service
say https://a.b.c.com/abc/xyz. I am getting UnknownHostException.
I tried using System.setProperty() and AxisClient.setProperty() with
"http.proxyHost" and "http.proxyPort". But still this is the same.
I am getting UnknownHostException as follows:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.net.UnknownHostException: a.b.c.com
 faultActor:
 faultNode:
 faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException:
a.b.c.com
    at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
    at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
    at java.net.InetAddress.getAllByName(InetAddress.java:1084)
    at java.net.InetAddress.getAllByName(InetAddress.java:1020)
    at java.net.InetAddress.getByName(InetAddress.java:970)
    at com.rsa.sslj.x.M.createSocket(Unknown Source)
    at 
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:159)

But when i put the ip address of a.b.c.com to the host file then it works fine.

Please help me in this regard.

Thanks,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to