Archiver 导航

百科知道 | 资料 | 证券
教育视频 | 百科视频 | 网址导航 | 游戏 | 搜索

资料库 ☆ 华陌网

完整版 » Web Service Client Supporting Flexible Projects JAVA/eclipse

    Web Service Client Supporting Flexible Projects JAVA/eclipse(0 1151 浏览)


By Kathy Chan
May 2, 2005


This document is a one of a series of tutorials to demonstrate the use of the Web Services tools in the Web Tools Platform Project with the M4 driver.


This tutorial shows how to create a Web serivce client to a deployed Web service created in Creating top down Web service .

Create a Web service Client
  1. Select the AreaServiceSOAP.wsdl file in the AreaProject\area\WebContent\wsdl foler created in Creating top down Web service tutorial. .
    Do not select the AreaService.wsdl file in AreaProject\area\WebContent.
  2. Open File -> New -> Other... -> Web Services -> Web Service Client.
  3. Select Test the Web service and Overwrite files without warning .
  4. Click Next.
  5. Type in AreaProjectClient as the name of the Client project.
    If you want to choose a server different from the one defaulted by the wizard, click the Edit button to: select a server .
  6. Click Finish . .
  7. It will take about one minute for the wizard to assemble the Web service client Web projects, start Apache Tomcat, and deploy the projects to Tomcat. Once finished, the generated Sample JSP Web application will appear in the browser view.
  8. Under Methods , click on calculateRectArea .
  9. Under Inputs , enter 2.0 and 5.0 into the height and width entry field.
  10. Click on Invoke . In the Result view, you should get a response of 10.0 .

CopyRight(c) 2007 - 2020 All Rights Reserved  【赣ICP备12001042号】
触屏版 | Archiver 20200712 20:23 | 简介 | 帮助 | 留言 | 关于 | 360网站安全检测平台