Reputation: 1251
We have a java web application running on Glassfish 2.1. We recently changed internet providers which also means out network IP's have changed. Our application makes two different web service calls, and both were working fine until this network change. We have a web service client manager class which calls a 3rd party web service.
Below is the error I'm receiving.
org.apache.axis2.AxisFault: Connection refused: connect
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
I can access the service on our server using SOAP UI. I can telnet to the IP of the service and if I paste the URL into the server's browser, I get a result.
I have no idea what the problem is or how to fix is. Does anyone have any ideas?
Upvotes: 3
Views: 8756
Reputation: 1251
I figured it out. Apparently we are no longer using a proxy, and the web service connection was still setting the proxy. I removed this setting and it worked!
Upvotes: 1