public static SOAPConnection getSOAPConnection() throws SOAPException { return SOAPConnectionFactory.newInstance().createConnection(); } method to create soap connection.
if more than 1 users/ threads access the method it throws
javax.xml.soap.SOAPException: Unable to create SOAP connection factory: Provider com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory not found Exception
any one know a work arround Thanks
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
Sounds like you're missing a jar file in your classpath, named saaj-impl.jar. [ September 01, 2005: Message edited by: Ulf Dittmer ]
i have jar in class path and it works fine with single thread. it is more than one thread that is creating problems
Ajay Krihnamurthy
Greenhorn
Joined: Aug 24, 2005
Posts: 8
posted
0
hi you have to copy the saaj-impl.jar file to Tomcat/shared/lib folder other wise you can copy the saaj-impl.jar file with in Tomcat/common/endorsed folder