doing a webservices project [message #189852] |
Thu, 15 March 2007 14:26  |
Eclipse User |
|
|
|
Originally posted by: ahhaoz_27.yahoo.com.sg
Dear all,
suppose I have a wsdl file and i would like to do a java webservices
client program. how do i do so?
After some playing around and reading up, i found out about the top down
wizard i've created all the class. in the wizard i've picked the level
to test. meaning to say i can test the webservices with Service explorer.
so now how do I write the client application to invoke the methods?
|
|
|
Re: doing a webservices project [message #190304 is a reply to message #189852] |
Wed, 21 March 2007 21:11  |
Eclipse User |
|
|
|
You can use the Web service Client wizard to generate a Java client and
sample JSP application. The JSP client is a simple client application
that invokes methods on a Java Proxy which you'll find generated into
your client project.
Based your question, I should clarify the purpose of these two wizards.
The Web service Client wizard can create a Java client and sample
directly from the WSDL file. This approach will invoke services at the
endpoint as provided in the WSDL file. A user of Web services would use
this.
Creating a Top down Web service, as you have done, is an option to
essentially create a new Web service based on the WSDL, and you will
provide the implementation which will be hosted on your system. A
developer of Web services would use this.
Hope that helps.
-Seng
haoz wrote:
> Dear all,
>
> suppose I have a wsdl file and i would like to do a java webservices
> client program. how do i do so?
>
> After some playing around and reading up, i found out about the top down
> wizard i've created all the class. in the wizard i've picked the level
> to test. meaning to say i can test the webservices with Service explorer.
>
> so now how do I write the client application to invoke the methods?
|
|
|
Powered by
FUDForum. Page generated in 0.03535 seconds