This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes SOAP Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP Connection" Watch "SOAP Connection" New topic

SOAP Connection

Usman Usmani

Joined: Jun 13, 2005
Posts: 4
i am using

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

any one know a work arround
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41173
Sounds like you're missing a jar file in your classpath, named saaj-impl.jar.
[ September 01, 2005: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Usman Usmani

Joined: Jun 13, 2005
Posts: 4
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

Joined: Aug 24, 2005
Posts: 8
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

Regards Ajay Krihnamurthy

hi.. java is not a product it is an Industry
I agree. Here's the link:
subject: SOAP Connection
Similar Threads
Connector Not Available Exception, Websphere 6.0
Connection pooling of SOAPConnection objects
Primary key and update method strange issue
Generate SOAP message from Java class