File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 :
jQuery in Action, 3rd edition