This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Add reference to web service in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Add reference to web service in Eclipse" Watch "Add reference to web service in Eclipse" New topic
Author

Add reference to web service in Eclipse

Nirmal Venugopal
Greenhorn

Joined: Aug 06, 2009
Posts: 2
Hi,
I am required to create an application in Eclipse which needs to access a web service and use its methods. I am used to .Net development where in we could just add a web reference to the service that we need to use and would imply be able to access all the methods in them . How are we to do the same in Eclipse..

I would appreciate if anyone could please help me out or could atleast point me in some direction to start off with.

Thanks in advance.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Regretfully, there is no feature like that in Eclipse. You will have to generate client artifacts invoking wsimport either by hand or using an Ant script.
If you want a feature like "Add Web Service Reference", take a look at NetBeans, which has better tooling in this area.
Best wishes!
Nirmal Venugopal
Greenhorn

Joined: Aug 06, 2009
Posts: 2
Darn ... ok anyways thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Add reference to web service in Eclipse
 
Similar Threads
How deploy my web service client to html ?
Crypto and hidden fields.
Using Axis ,but unable to get WSDL for parameterised method
Steps to expose api as web services
how to write java web service client