wood burning stoves
The moose likes Web Services and the fly likes Apache Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Apache Axis" Watch "Apache Axis" New topic

Apache Axis

Kel Walker

Joined: Apr 04, 2002
Posts: 19
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
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectException: Connection timed out: connect
faultActor: null
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
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!!!
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
I guess you are trying the example whose endpoint is http://nagoya.apache.org:5049/axis/services/echo
i too tried,i think that site is down. You can ignore that now and try building ur own service as described in "Publishing Web Services with Axis"

Spritle Software Blogs
Yoo-Jin Lee
Ranch Hand

Joined: Nov 01, 2000
Posts: 119
I thought the article at: http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html , was really helpfull.
Kel Walker

Joined: Apr 04, 2002
Posts: 19
Thank you for your help.
I agree. Here's the link: http://aspose.com/file-tools
subject: Apache Axis
jQuery in Action, 3rd edition