.Net webservice Question ?????? [message #100737] |
Sat, 07 May 2005 03:44  |
Eclipse User |
|
|
|
Originally posted by: luc_jn.yahoo.com
Hello forum,is it posible to call a webservice running on microsoft IIS,
using webtools ?
if so how ? I know you are verys busy, and this one seem like off topic
question, but I am very much interrested in using webtools to call some
webservices made in visual studio and running on microsoft IIS server.
Thanks.
|
|
|
Re: .Net webservice Question ?????? [message #100760 is a reply to message #100737] |
Sat, 07 May 2005 08:17  |
Eclipse User |
|
|
|
Originally posted by: laurentd75___no.sp_am.yahoo.fr
"Seybaa" <luc_jn@yahoo.com> wrote:
> Hello forum,is it posible to call a webservice running on microsoft IIS,
> using webtools ?
> if so how ? I know you are verys busy, and this one seem like off topic
> question
Hi,
At least, you're aware this is a slightly off-topic question... ;-)
Anyway.... Part of the rationale for Web services is that you don't need to
worry about the technology that was used to develop them when you're writing
a client to consume them...
Usually, a Web service (whether written in Java, .NET, PHP, or whatever) is
always published along with its 'technical definition' written in WSDL (Web
Service Definition Language) that contains all the information about the
functions it provides, and how to call them (end points, ports, parameters,
etc.)
In Web Tools, you can use the Web Services client wizard to automatically
generate a Java 'proxy' (Web service client) to your Web service:
Here are the steps:
1) create a new Flexible project
2) Create a new J2EE Web module in your project
3) Launch the Web Service client wizard:
- Select File --> New --> Other --> Web Services --> Web Service client
- On the first page of the wizard, check 'Test the Web service' and press
'Next'. *
- on the 2nd page enter the URL or the path to the WSDL definition for your
Web service and press 'NExt'.
- on the 3rd page, select the project you created in "Client project", and
the Web module you added in "Client module" and press next.
- on the 4th page, just click "Finish" to start generating your Web service.
Web tools will automatically generate Java code required to call your Web
service, and will also create a JSP page that will allow you to test it.
You can also read the Web Service client tutorial for M4:
http://eclipse.org/webtools/jst/components/ws/M4/tutorials/W ebServiceClient.html
More tutorials on WTP are available on the Eclipse Web Tools Community page:
http://eclipse.org/webtools/community/community.html
Hope this helps,
Laurent
|
|
|
Powered by
FUDForum. Page generated in 0.03667 seconds