I have properly closed the connections after each web service calls, but it still says Address in use. Please refer below for the complete stack trace and a piece of the code. Am using SAAJ and JWSDP and am not using AXIS api. Am in a place where i can't switch to the other implementation. I have searched the web but couldn't find any solutions. I am very disappointed that I am at a dead end by using SUN's api and didn't go for AXIS initially unless someone gives me a solution to this.
This is not an error that server is not closing connections properly as I was able to test with SOAPUI and LoadRunner with even higher threads and it ran without problems. SOAPUI and LoadRunner scripts were executed from the same client machine as my application uses. Please help.
Will pooling connections in the client machine is help.
If this is the answer, i am new to pooling connections for web service calls, can someone please give a sample code.