使用Eclipse及WTP插件开发WebService

下载WTP

http://download.eclipse.org/webtools/downloads/下最新的,注意Eclipse SDK要下对应WTP需求的版本,这样最稳定.当前是3.0.3.  http://download.eclipse.org/webtools/downloads/drops/R3.0/R-3.0.3-20081113203138/

需要: EMF v2.4.1  EMF XSD Graphical Editing Framework (GEF)  Data Tools Platform (DTP) (required only for EJB or JPT development) 在同一页面有下载连接.

我down 的wtp 是:Web Standard Tools  : Tool   The SDK package includes source code and developer documentation for   wtp-wst-sdk (55M)

  新建web工程-拷贝进wsdl-右键-web services-Test webservices-选中Operations-输入参数并OK-转换成Source方式,在下方就是返回的SOAP 消息,上面也能看到发送的SOAP Message .

支持根据wsdl文件自动生成客户端.

 

用soap UI ,这款软件也很好用 很简单的,

自己输入soap request发送给web Service然后软件的response栏会返回WebService的response .
还可以查看 webservice 的并发等其他参数.

posted @ 2009-01-15 17:20  jamin  阅读(1836)  评论(0编辑  收藏  举报