• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

SOAP Deployment Error :

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 http://www.onjava.com/pub/a/onjava/2002/02/27/tomcaty.html
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?
Thanks
Geoirge
 
ge wing
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Do not set lab on fire. Or this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic