Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Using Java to Consume Web Service
Using Java to Consume Web Service [message #208232] Wed, 06 February 2008 22:31 Go to next message
Eclipse UserFriend
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 05:07 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
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: Thu Apr 25 21:05:00 GMT 2024

Powered by FUDForum. Page generated in 0.03107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top