jQuery in Action, 2nd edition*
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
Author

how to call local webservice method?

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
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
    
    1
Hi!
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to call local webservice method?