• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SOAP AND TOMCAT, Error

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, i'm new in SOAP. I have a problem and i d�n�t know how resolve it. I'm working with Tomcat 3.1. and i installed soap services. It work fine but when i want deploy the first service i get an error.
In the server console i get:
SOAP Service Manager: Unable to read 'DeployedServices.ds': assuming fresh start

And inthe deploy console:
Ouch, the call failed:
Fault Code = SOAP-ENV: Server.Exception:
Fault String = java.lang.NoSuchMethodError
What is wrong? Thanks all.
Could anybody help me?
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go to http://xml.apache.org/soap/faq/faq_chawke.html - they have a good list of problems commonly encountered with SOAP...one sounds like yours. The following is what I found on the site:
1.5 Help! The Samples won't work. Every time I run a sample client I get this response: "Fault String = java.lang.NoSuchMethodError"
Ensure that:
(a) You have deployed the sample service you want to use.
(b) Xerces.jar is the very first entry in your classpath (set this in tomcat.bat or tomcat.sh as per the SOAP installation instructions).
(c) There are no other XML parsers in your classpath. Some people have experienced this problem due to an early version of the JAXP package hiding in JAVA_HOME/jre/lib/ext.
(d) The sample classes are in the server's CLASSPATH.
Give it a try - it can't hurt! Another good site for the Apache SOAP is http://xml.apache.org/soap/docs/index.html
Good luck!
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That no such method error is likely related to the XML parser version. SOAP requires a parser that is namespace aware. Tomcat 3.1 used an earlier version as I recall.
You might as well "bite the bullet" and upgrade to Tomcat 4.0 - it implements the latest servlet and JSP APIs and uses an up to date XML parser.
Bill
 
Evaristo Ballorca
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, i install the tomcat 4.0.2 and it run.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic