I am investigating the capabilities of Apache Axis, 1.0rc1. Unfortunately I have fallen flat on my face at the very first
fence.
The user guide gives an example of consuming web services with Axis: samples/userguide/example1/TestClient.java. I have compiled this and run it.
I get:
- Mapping Exception to AxisFault
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectException: Connection timed out: connect
faultActor: null
faultDetail:
stackTrace: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:130)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:173)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:116)
at org.apache.axis.strategies.Invjava.net.ConnectException: Connection timed out: connect
ocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:153)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:181)
at org.apache.axis.client.Call.invokeEngine(Call.java:2084)
at org.apache.axis.client.Call.invoke(Call.java:2073)
at org.apache.axis.client.Call.invoke(Call.java:1842)
at org.apache.axis.client.Call.invoke(Call.java:1768)
at org.apache.axis.client.Call.invoke(Call.java:1306)
Can somebody PLEASE help!!!