wood burning stoves 2.0*
The moose likes Web Services and the fly likes Connection Reset Error while deploying wsdl file on Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Connection Reset Error while deploying wsdl file on Server " Watch "Connection Reset Error while deploying wsdl file on Server " New topic
Author

Connection Reset Error while deploying wsdl file on Server

sonali more
Greenhorn

Joined: Nov 28, 2011
Posts: 3
i am not getting why this error comes when i run my java program

Exception :java.net.SocketException: Connection reset
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Ser ver.userException
faultSubcode:
faultString: java.net.SocketException: Connection reset
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
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 com.whizpay.prepaidmanagement.goldline.GenericSoapStub.activate(GenericSoapStub.java:926)
at com.whizpay.service.clienttest.ClientTest1.main(ClientTest1.java:41)

{http://xml.apache.org/axis/}hostname:APP_DEV_SRV

java.net.SocketException: Connection reset
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 com.whizpay.prepaidmanagement.goldline.GenericSoapStub.activate(GenericSoapStub.java:926)
at com.whizpay.service.clienttest.ClientTest1.main(ClientTest1.java:41)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 11 more
Saket Barve
Ranch Hand

Joined: Dec 19, 2002
Posts: 229

It looks like the connection is getting closed out before or during your request. Can you share your source code to help debug?
sonali more
Greenhorn

Joined: Nov 28, 2011
Posts: 3
i don't think this is a connection close problem.can you tell me wether this is a FireWall block to any site ?
i want to run following program but the problem is for following line
strResponse = callingcard.activate("1","aaa","test","(Token Number)");

[VK: Added code tags]
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3838

Welcome to the CodeRanch! Please use code tags (UseCodeTags) when posting code in the forums. I have edited it for you.

What "activate("1","aaa","test","(Token Number)")" method does and the "url" you use is accessible from the machine where you have this code executed?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
sonali more
Greenhorn

Joined: Nov 28, 2011
Posts: 3
thaks to all !
but the code is working now. problem was with our firewall setting !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection Reset Error while deploying wsdl file on Server