Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Apache Axis" Watch "Apache Axis" New topic
Author

Apache Axis

Kel Walker
Greenhorn

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
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!!!
Balaji Loganathan
author and deputy
Bartender

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"
Regards
Balaji


Spritle Software Blogs
Yoo-Jin Lee
Ranch Hand

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

Joined: Apr 04, 2002
Posts: 19
Thank you for your help.
 
jQuery in Action, 2nd edition
 
subject: Apache Axis
 
Similar Threads
Networked Programs that work across countries
AxisFault: Problem facing in connecting to service.
Web services Timeout
The web group /axis/services/AdminService has not been defined
Need help,