Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tomcat/Soap configuration problem

843834Feb 7 2002 — edited Jun 8 2006
Okay, I'm losing my mind...

I can't get SOAP client examples to work.

I have JDK1.3.1 installed and working.
I have Tomcat4.0.1installed and working.
I have SOAP2.2 installed and the soap.war file
copied into the Tomcat webapps directory.
On restarting Tomcat, I can access the SOAP
admin page and get the usual (good) error message
when I access the rpcrouter and message pages.

Okay, I have the paths to soap.jar, mail.jar, activation,jar, and xerces.jar set in my CLASSPATH, as well as the soap directory in general to run the samples. (Question about this: some writers say you can put these jars in the JDK/jre/lib/ext directory and get the same result?)

If I try to deploy a service from the command line, I get ClassNotFound errors, usually relating to javaxMailException.

If I use the SOAP admin gui to deploy a sample, it works and the service shows up when I list it from the gui.

But, when I try to run a sample, like the AddressBook, from the command line, I get the Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml" exception...

Somebody please help me.

Thanks a lot.

Peter
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2006
Added on Feb 7 2002
2 comments
273 views