Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

prob in accessing the metod from SOAP  RSS feed

 
Kishore Babu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Apache SOAP,Xerces and Tomcat..when I try to run a sample soap application(calculator,stockQuote) it saying
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
same error is coming for every sample..but tomcat is able to communicate with SOAP.
what may be the problem???pl suggest ..its urgent.

thanks
 
Andy Rodriguez
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ensure that Xerces.jar is in your classpath and is before soap.jar.
2. What series of tomcat are you using ? 3.* or 4.* ?
As i type this i am trying to install soap on 4.1 and i am yet to get to the catalina class loading mechanism , it doesnt seem to recognise org.apache.....
3.
when you say the tomcat is able to communicate with soap , i am assuming you mean you are able to access - yoururl : port/soap/index.html and you are able to see the .jsp pages ?
------------------
My ramblings @
http://javarecon.tripod.com
[This message has been edited by Skinner Seymour (edited November 24, 2001).]
[This message has been edited by Skinner Seymour (edited November 24, 2001).]
 
Andy Rodriguez
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Phew ! After one round of earl grey and 2 latte's : I realised if i am on Tom 4.1 and trying to add soap2_2 , apart from ensuring the classpath is in right order , one needs to "copy & paste" ( on win2k ) soap.jar and xerces.jar to the /lib folder of tomcat ...
It should be in the same folder as the jasper-compiler , j..-runtime , and naming-factory .
Hope this helps ..
 
Kishore Babu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Tomcat 4.1 with SOAP 2.2 and its able to showe the admin page of SOAP on Tomcat.able to deploy the web service and nto able to invoke the method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!