axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudhir Sharma" <sudhir.sharma...@espireinfo.com>
Subject getting Server.userException
Date Mon, 22 Oct 2007 11:34:32 GMT
Hi All,

 

I am new to webservices and axis. While connecting to a .Net webservice
through java client I am getting this exception . can you axis gurus help me
on this.

Thanks in advance.

 

The exception is: 

 

AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode: 

 faultString: java.net.ConnectException: Connection timed out: connect

 faultActor: 

 faultNode: 

 faultDetail: 

    {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException:
Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

    at java.net.Socket.connect(Socket.java:518)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:153)

    at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:120)

    at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)

    at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

    at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
32)

    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

    at org.apache.axis.client.Call.invoke(Call.java:2767)

    at org.apache.axis.client.Call.invoke(Call.java:2443)

    at org.apache.axis.client.Call.invoke(Call.java:2366)

    at org.apache.axis.client.Call.invoke(Call.java:1812)

    at
uk.co.englandnet.gateway.IOGatewayWebservice.ProductServiceSoapStub.login(Pr
oductServiceSoapStub.java:1860)

    at ProductSample.&lt;init&gt;(ProductSample.java:13)

    at ProductSample.main(ProductSample.java:58)

 

    {http://xml.apache.org/axis/}hostname:neetu-goyal

 

java.net.ConnectException: Connection timed out: connect

    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)

    at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
32)

    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

    at org.apache.axis.client.Call.invoke(Call.java:2767)

    at org.apache.axis.client.Call.invoke(Call.java:2443)

    at org.apache.axis.client.Call.invoke(Call.java:2366)

    at org.apache.axis.client.Call.invoke(Call.java:1812)

    at
uk.co.englandnet.gateway.IOGatewayWebservice.ProductServiceSoapStub.login(Pr
oductServiceSoapStub.java:1860)

    at ProductSample.<init>(ProductSample.java:13)

    at ProductSample.main(ProductSample.java:58)

Caused by: java.net.ConnectException: Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

    at java.net.Socket.connect(Socket.java:518)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:153)

    at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:120)

    at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)

    at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

    ... 12 more

 

 

I am using axis 1.4 and jdk1.6. 

 

Thanks & Best Regards,

Sudhir Sharma

 


Mime
View raw message