• Post Reply Bookmark Topic Watch Topic
  • New Topic

HelloClient.java:44: package javax.xml.rpc does not exist  RSS feed

 
Tirthankar Dutta Chaudhuri
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
when i am compiling a webservice client . I am getting a compliation error D:\Tirthankar\project\HelloClient.java:44: package javax.xml.rpc does not exist.

I have javax folder which has the javax.xml.rpc.Stub class in the Class path . Then also i getting the error in compilation .
Can any one help .
Thanks,
Tirthankar
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is almost certainly a classpath error, so I'd double check.

Which JARs you need in the classpath depends on which Web services toolkit you're using. I'll guess you're using JWSDP. In my last (trivial) exercise in JWSDP, my classpath was (in Ant syntax):



Bear in mind that you have to include JARs individually, not the directory in which they're located.


-Tim
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!