aspose file tools*
The moose likes Web Services and the fly likes Failure to invoke web service error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Failure to invoke web service error" Watch "Failure to invoke web service error" New topic
Author

Failure to invoke web service error

Kate Shaughnessy
Greenhorn

Joined: Jan 03, 2007
Posts: 1
Hi all!

I'm deploying a Web Service using Weblogic 7.0. When trying to invoke the service via the Weblogic server-provided utilities or a static client I have made I get the following error:

I am not sure if the true issue here is the soap exception or the no class deffound error. I am not sure why it wouldn't find the jws/ch3/xmlhelper/AcmeHelper class as I was pretty confident this directory is in the classpath.

Anyhow, any help/insight would be much appreciated. THANK!

javax.xml.rpc.soap.SOAPFaultException: EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: jws/ch3/xmlhelper/AcmeXMLHelper javax.xml.rpc.soap.SOAPFaultException: EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: jws/ch3/xmlhelper/AcmeXMLHelper at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459) at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:339) at weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:271) at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:244) at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:306) at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:198) at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:124) at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:224) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12789
    
    5
jws/ch3/xmlhelper/AcmeHelper class as I was pretty confident this directory is in the classpath.


I dont know about Weblogic, but Tomcat totally ignores the environment classpath setting, perhaps Weblogic does also. I would check the Weblogic docs on how classes are located.

Bill
 
Don't get me started about those stupid light bulbs.
 
subject: Failure to invoke web service error