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:
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.
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