MyEclipse下开发Web Service(2) 创建Web Service
2007-05-21 15:23
295 查看
MyEclipse下开发Web Service
[收藏此页] [打印]作者:IT168 IT168 gmplayer
内容导航:
创建Web Service
第1页: 概述,创建工程 第2页: 创建Web Service 第3页: 部署Web Service Project 第4页: 测试
init_Nav();
【IT168技术文档】
4.在向导的Page-3中选择类库添加到工程的构建路径中,其中XFire Core Library是需要的,如果要在工程中开发一个客户端应用, XFire HTTP Client Libraries也是需要的.
Figure-4: Selecting XFire libraries to add to new web service project buildpath
5选择Finish完成Web Service工程的创建过程
Figure-5,显示了新创建的HelloWorld Web Service工程的组织结构,Web Service 工程和一个标准的MyEclipse Web工程很相似. XFire Web Service配置元素如图红色区域显示:
Figure-5: Web services artifacts of a new web service project
二. 创建Web Service-Code-first Strategy
在这部分将用MyEclipse Web Service Wizard并通过使用Code-first Strategy来创建一个HelloWorldService示例.
1. 执行MyEclipse Web Service Wizard,有两种方法来执行MyEclipse Web Service Wizard
方法1.从MyEclipse perspective toolbar中来执行向导
在打开的Web Service Wizard上的workbench上来选择新Web Service按钮
方法2.从workbench menubar执行向导
1. 从workbench menubar选择: File>New>Other>MyEclipse>Web Service
Figure-6: Launching Web Service Wizard
2. 在Page-1选择HelloWorld 工程并选择Create web service from Java bean
3. 选择Next到Page-2
Figure-7: Page-1 of new web service wizard
1
1 2 3 4
相关文章推荐
- MyEclipse下开发Web Service(1)概述,创建工程
- 使用MyEclipse开发Java EE应用:用XDoclet创建EJB 2 Session Bean项目(一)
- myeclipse下使用xfire,JAX-WS、Axis 创建web service入门实例 .
- MyEclipse下开发Web Service(4) 测试
- MyEclipse下开发Web Service(Axis)__修正版
- 如何在Myeclipse中创建Hibernate开发j2ee
- 用MyEclipse10开发一个基于JAX-WS的Web Service实例
- 搭建java开发环境并使用MyEclipse创建java应用程序
- 【转】MyEclipse 9创建SSH开发环境(Spring3+Struts2+Hibernate3)
- MyEclipse下开发Web Service(Axis)
- MYECLIPSE 开发Web Service之详细讲解--第一节
- MyEclipse创建Web Service Project实例
- myeclipse下用axis2开发web service的第一个程序(SayHello)
- MyEclipse里创建ZK的开发环境
- 用MyEclipse10开发基于JAX-WS的Web Service实例
- MyEclipse 10 之下Web Service 的创建和实现
- 用MyEclipse10开发基于JAX-WS的Web Service实例
- 用MyEclipse10开发基于JAX-WS的Web Service实例
- myeclipse下用axis2开发web service
- myeclipse开发web service project