Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Using Java to Consume Web Service
Using Java to Consume Web Service [message #208232] Wed, 06 February 2008 17:31 Go to next message
Eclipse User
Originally posted by: jryding.us.ibm.com

Hello,

I am currently trying to create a java program that uses a web service to
access a server and pull off the data that is called by the web service to
the server. I have imported a WSDL file to my project which created a
bunch of classes for each web service the server provides. My problem is
what should I do next? Are there some sort of java classes I should call
to allow me to connect to the server that deploys the web services, or
should I just start calling web services and see what they output?

I have searched the internet for hours now looking for something taht
documents this and the most I was able to find was this presentation from
eclipseCon 2006:

http://eclipsezilla.eclipsecon.org/php/attachment.php?bugid= 118

Which tells you how to import the WSDL file to a java project using s WSDL
file from Google, but I do not know how to use the imported classes at all
so that I can retrieve the information that Web Services produce. Thank
you.
Re: Using Java to Consume Web Service [message #208329 is a reply to message #208232] Fri, 08 February 2008 00:07 Go to previous message
Lawrence Mandel is currently offline Lawrence Mandel
Messages: 486
Registered: July 2009
Senior Member
WTP makes use of Apache Axis [1] or Axis2 [2] (two different projects) for
Web services support in Web projects. I'd start with the documentation
from those projects. If you're new to Web services you may want to read up
a bit about WSDL and Web services in general. There are many good articles
on sites like ibm.com/developerWorks.

Lawrence Mandel
-
Co-author Eclipse Web Tools Platform: Developing Java Web Applications
http://www.eclipsewtp.org
Previous Topic:Class not found in Build Path runs
Next Topic:WTP Eclipse 3.4 Installation Procedure
Goto Forum:
  


Current Time: Sat Jul 26 13:33:16 EDT 2014

Powered by FUDForum. Page generated in 0.01861 seconds