Hi people,
I am trying to run an Axis client from a servlet under WebLogic 8.1. The servlet is
NOT the Axis servlet, it's really only a client, not a Web Service, but it uses the
Axis web service client API.
I am trying to create an SSL connection to a Web Service from that client, and I am
getting all sorts of problems.
One of them is that the connection to the proxy host does not work any more.
Note that I dont have any problems when I am running the client as a standalone
application or even when I am accessing the WSDL of the Web Service from a simple
servlet, not using the Axis client API. So the problem seems to be created by some
interaction between Axis client code and WebLogic.
I specify the proxy host/port using -Dhttps.proxyHost and -Dhttps.proxyPort in the
command line starting up WebLogic (but I also tried setting it as a System property
within the code, with the same result).
The error that I am getting is this:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: Unable to tunnel through esprx02.nokia.com:8080.
Proxy returns "HTTP/1.0 403 Forbidden"
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.io.IOException: Unable to tunnel
through esprx02.nokia.com:8080. Proxy returns "HTTP/1.0 403 Forbidden"
at
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:208)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
..........
Anybody has any idea about this problem?
I have found almost nothing about it on the Web.
Thanks for any hint,
Zoltan Schreter
Nokia/Helsinki, Finland