Hi people, Any idea why i am getting the ConnectException at the bottom? The exception is thrown by the line
if (operation.executeRequestResponseOperation(input, output, fault)) { The method I am trying to invoke doesn't have any arguments. The relevant part of the code is below: WSIFOperation operation = port.createOperation("GetTestUserInfo"); // create the input, output and fault messages associated with this operation WSIFMessage input = operation.createInputMessage(); WSIFMessage output = operation.createOutputMessage(); WSIFMessage fault = operation.createFaultMessage(); // do the invocation if (operation.executeRequestResponseOperation(input, output, fault)) { // invocation succeeded, extract information from output message JROMComplexValue personInfo = (JROMComplexValue) output.getObjectPart("GetTestUserInfoResult"); System.out.println("The person is: " + personInfo); いいいいいいいいいいいいいいいいいい org.apache.wsif.WSIFException: exception on AXIS invoke: ; nested exception is: java.net.ConnectException: Connection timed out: connect; nested exception is: java.net.ConnectException: Connection timed out: connect at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeAXISDocStyle(Unknown Source) at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(Unknown Source) at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(Unknown Source) at org.tempuri.SOAPExecutorWSIF.main(SOAPExecutorWSIF.java:59) Caused by: java.net.ConnectException: Connection timed out: connect at org.apache.axis.AxisFault.makeFault(AxisFault.java:129) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180) at org.apache.axis.client.Call.invokeEngine(Call.java:2564) at org.apache.axis.client.Call.invoke(Call.java:2553) at org.apache.axis.client.Call.invoke(Call.java:2248) at org.apache.axis.client.Call.invoke(Call.java:2171) at org.apache.axis.client.Call.invoke(Call.java:1691) ... 4 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.<init>(Socket.java:309) at java.net.Socket.<init>(Socket.java:124) at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:129) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114) ... 13 more Exception in thread "main" Process terminated with exit code 1