This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes SOAP Deployment Error : Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP Deployment Error :" Watch "SOAP Deployment Error :" New topic

SOAP Deployment Error :

ge wing

Joined: Jun 18, 2002
Posts: 11
Hi, Guru
I am learning SOAP by myself. I ran the examples from the soap.war package, it is good. Then I ran another example i found on the website. The link is
I made the <b>server and client sources</b> then <b>compiled them</b> to <b>get class files</b>. The I copied the <b>deployment descriptor</b> on that web page then <b>deployed the service</b> without errors.
when running the client class to call the service, I got the error as
<red>The call failed:
Fault Code = SOAP-ENV:Server.BadTargetObjectURI
Fault String = Unable to resolve target object: onjava.CalcService</red>
Could you tell me why? I copied the service class into %JWSDP_HOME%/work/Standard Engine/localhost/soap/WEB-INF/classes/ . Should I do anything more?
ge wing

Joined: Jun 18, 2002
Posts: 11
I got it!
you should set service class path into setclasspath.bat file, whatever deployment tools you are using.
i am using JWSDP package from SUN.
I agree. Here's the link:
subject: SOAP Deployment Error :
Similar Threads
Ron Hitchens' Java NIO book
SOAP with Tomcat
question on struts?
2 very interesting articles about JBoss and expensive compatibility testing
Getting started with JSP-Servlet using apache-tomcat-5.5.17