I have a simple web service and a client. I get a 'BadTargetObjectURI' error
when I try to access my web service through my client application.

Execute client
--------------
D:\BAG\WEB-INF\classes>java com.bulletin.bag.MsgClient
main start...before invoke...Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.BadTargetObjectURI
  Fault String = Unable to resolve target object: com.bulletin.bag.MsgServer
[stackTrace: null]

Execute Server stand alone
---------------------------
D:\BAG\WEB-INF\classes>java com.bulletin.bag.MsgServer
BUGGER!
D:\BAG\WEB-INF\classes>


As you can see from above the same classpath works when invoking the server
directly but it doesn't work using SOAP RPC.

I have gone through all the FAQs I could find and they all seem to point to
the CLASSPATH variable. I HAVE set my CLASSPATH correctly to include my web
service directory.

Is this a bug in SOAP? Or its only my machine??

Please help!!



---
Regards,
Sharad.
[EMAIL PROTECTED]



Reply via email to