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 how to call local webservice method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "how to call local webservice method?" Watch "how to call local webservice method?" New topic

how to call local webservice method?

Kaleeswaran Karuppusamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 155
i created web service project and i created web service using glassfish server.when i call this webservice from other project in netbeanIDE everything working .but when i created web service and web service client in the same project in netbeanIDE at that time i cannot call web service method i am getting error

what is the reason...please reply

Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
What kind of error do you get?
I have developed web service services and client in one and the same project in Eclipse and that works because I am able to run the client class separately, using the compiled code in the workbench. However, if your IDE, NetBeans in this case, tries to deploy the project and do other funny things, then there will most likely be problems.
Have you tried control-clicking on the client class and selecting "Run File"?
Best wishes!
I agree. Here's the link:
subject: how to call local webservice method?
It's not a secret anymore!