Hi I am using Axis 1.4 client to connect to a web service. I generated the client stub (MyStub in the call stack below) with wsdl2java. About 90% of my calls fail - the response is empty. The server provider tells me that there are two many connections open from my clients. Is there a way to configure the Axis client to always close the connection.
I notice in HttpSender.invoke() that socketHolder.getSocket().close(); is only called if there is an exception. Should I override this function and close the socket in all cases? The Axis client is running on a Linux machine with java 1.6.0_03 I am very new to Axis and I only use it to connect to this external web service. Thanks Michael HTTPSender.invoke(MessageContext) line: 133 InvocationStrategy.visit(Handler, MessageContext) line: 32 SimpleTargetedChain(SimpleChain).doVisiting(MessageContext, HandlerIterationStrategy) line: 118 SimpleTargetedChain(SimpleChain).invoke(MessageContext) line: 83 AxisClient.invoke(MessageContext) line: 165 Call.invokeEngine(MessageContext) line: 2784 Call.invoke() line: 2767 Call.invoke(RPCElement) line: 2443 Call.invoke(String, String, Object[]) line: 2366 Call.invoke(Object[]) line: 1812 MyStub.getOffers(String) line: not available --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
