Enviar pesquisa
Carregar
利用Xfire创建Web Service
•
Transferir como PPT, PDF
•
0 gostou
•
945 visualizações
icy leaf
Seguir
利用Xfire创建Web Service
Leia menos
Leia mais
Tecnologia
Notícias e política
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 26
Baixar agora
Recomendados
超。光速 網站最佳化實戰 -twMVC#8
超。光速 網站最佳化實戰 -twMVC#8
twMVC
用Maven管理專案的依賴關係
用Maven管理專案的依賴關係
Huang Bruce
Flex 入门培训
Flex 入门培训
7rice
Inspire DGT 網站技術分享
Inspire DGT 網站技術分享
inspire digital
第1章
第1章
guest4dfe09c
SignalR實戰技巧 twmvc#17
SignalR實戰技巧 twmvc#17
twMVC
KSDG-ASP.NET MVC 5 Overview (偽三國誌)
KSDG-ASP.NET MVC 5 Overview (偽三國誌)
Bruce Chen
twMVC#19 | 微信公眾平台申請與wechat api 開發血淚史
twMVC#19 | 微信公眾平台申請與wechat api 開發血淚史
twMVC
Recomendados
超。光速 網站最佳化實戰 -twMVC#8
超。光速 網站最佳化實戰 -twMVC#8
twMVC
用Maven管理專案的依賴關係
用Maven管理專案的依賴關係
Huang Bruce
Flex 入门培训
Flex 入门培训
7rice
Inspire DGT 網站技術分享
Inspire DGT 網站技術分享
inspire digital
第1章
第1章
guest4dfe09c
SignalR實戰技巧 twmvc#17
SignalR實戰技巧 twmvc#17
twMVC
KSDG-ASP.NET MVC 5 Overview (偽三國誌)
KSDG-ASP.NET MVC 5 Overview (偽三國誌)
Bruce Chen
twMVC#19 | 微信公眾平台申請與wechat api 開發血淚史
twMVC#19 | 微信公眾平台申請與wechat api 開發血淚史
twMVC
ASP.Net MVC2 简介
ASP.Net MVC2 简介
Allen Lsy
Vlog02 [eng sub]什麼是controller和如何在asp.net核心中創建controller?-what is controller ...
Vlog02 [eng sub]什麼是controller和如何在asp.net核心中創建controller?-what is controller ...
SernHao TV
Javascript template & react js 初探
Javascript template & react js 初探
wantingj
輕鬆上手ASP.NET Web API 2.1.2
輕鬆上手ASP.NET Web API 2.1.2
Bruce Chen
React基礎教學
React基礎教學
昇倫 蔡
Angular js twmvc#17
Angular js twmvc#17
twMVC
React js入門
React js入門
昶宇 賴
動手打造 application framework-twMVC#15
動手打造 application framework-twMVC#15
twMVC
twMVC#19 | opserver監控服務的解決
twMVC#19 | opserver監控服務的解決
twMVC
ASP.NET MVC 5 新功能探索
ASP.NET MVC 5 新功能探索
Will Huang
Angular.js & ASP.NET in Study4
Angular.js & ASP.NET in Study4
Kyle Shen
ReactMaker start kit intro
ReactMaker start kit intro
昇倫 蔡
Single-Page Application Design Principles 101
Single-Page Application Design Principles 101
Jollen Chen
Introduction to ASP.NET MVC and MVC 5 Features
Introduction to ASP.NET MVC and MVC 5 Features
Jeff Chu
Asp.net mvc 概觀介紹
Asp.net mvc 概觀介紹
Alan Tsai
專案分層架構 twMVC#18
專案分層架構 twMVC#18
twMVC
Kiss--yahoo(Kissext)
Kiss--yahoo(Kissext)
sunlick
ASP.NET MVC Web API -twMVC#8
ASP.NET MVC Web API -twMVC#8
twMVC
20130823微軟雲端平台開發者日
20130823微軟雲端平台開發者日
twMVC
一小時可以打造什麼服務Plus twMVC#18
一小時可以打造什麼服務Plus twMVC#18
twMVC
Image processing training in Bathinda
Image processing training in Bathinda
matrixphagwara
1998 aspc 154-1601-rhocas
1998 aspc 154-1601-rhocas
Kees De Jager
Mais conteúdo relacionado
Mais procurados
ASP.Net MVC2 简介
ASP.Net MVC2 简介
Allen Lsy
Vlog02 [eng sub]什麼是controller和如何在asp.net核心中創建controller?-what is controller ...
Vlog02 [eng sub]什麼是controller和如何在asp.net核心中創建controller?-what is controller ...
SernHao TV
Javascript template & react js 初探
Javascript template & react js 初探
wantingj
輕鬆上手ASP.NET Web API 2.1.2
輕鬆上手ASP.NET Web API 2.1.2
Bruce Chen
React基礎教學
React基礎教學
昇倫 蔡
Angular js twmvc#17
Angular js twmvc#17
twMVC
React js入門
React js入門
昶宇 賴
動手打造 application framework-twMVC#15
動手打造 application framework-twMVC#15
twMVC
twMVC#19 | opserver監控服務的解決
twMVC#19 | opserver監控服務的解決
twMVC
ASP.NET MVC 5 新功能探索
ASP.NET MVC 5 新功能探索
Will Huang
Angular.js & ASP.NET in Study4
Angular.js & ASP.NET in Study4
Kyle Shen
ReactMaker start kit intro
ReactMaker start kit intro
昇倫 蔡
Single-Page Application Design Principles 101
Single-Page Application Design Principles 101
Jollen Chen
Introduction to ASP.NET MVC and MVC 5 Features
Introduction to ASP.NET MVC and MVC 5 Features
Jeff Chu
Asp.net mvc 概觀介紹
Asp.net mvc 概觀介紹
Alan Tsai
專案分層架構 twMVC#18
專案分層架構 twMVC#18
twMVC
Kiss--yahoo(Kissext)
Kiss--yahoo(Kissext)
sunlick
ASP.NET MVC Web API -twMVC#8
ASP.NET MVC Web API -twMVC#8
twMVC
20130823微軟雲端平台開發者日
20130823微軟雲端平台開發者日
twMVC
一小時可以打造什麼服務Plus twMVC#18
一小時可以打造什麼服務Plus twMVC#18
twMVC
Mais procurados
(20)
ASP.Net MVC2 简介
ASP.Net MVC2 简介
Vlog02 [eng sub]什麼是controller和如何在asp.net核心中創建controller?-what is controller ...
Vlog02 [eng sub]什麼是controller和如何在asp.net核心中創建controller?-what is controller ...
Javascript template & react js 初探
Javascript template & react js 初探
輕鬆上手ASP.NET Web API 2.1.2
輕鬆上手ASP.NET Web API 2.1.2
React基礎教學
React基礎教學
Angular js twmvc#17
Angular js twmvc#17
React js入門
React js入門
動手打造 application framework-twMVC#15
動手打造 application framework-twMVC#15
twMVC#19 | opserver監控服務的解決
twMVC#19 | opserver監控服務的解決
ASP.NET MVC 5 新功能探索
ASP.NET MVC 5 新功能探索
Angular.js & ASP.NET in Study4
Angular.js & ASP.NET in Study4
ReactMaker start kit intro
ReactMaker start kit intro
Single-Page Application Design Principles 101
Single-Page Application Design Principles 101
Introduction to ASP.NET MVC and MVC 5 Features
Introduction to ASP.NET MVC and MVC 5 Features
Asp.net mvc 概觀介紹
Asp.net mvc 概觀介紹
專案分層架構 twMVC#18
專案分層架構 twMVC#18
Kiss--yahoo(Kissext)
Kiss--yahoo(Kissext)
ASP.NET MVC Web API -twMVC#8
ASP.NET MVC Web API -twMVC#8
20130823微軟雲端平台開發者日
20130823微軟雲端平台開發者日
一小時可以打造什麼服務Plus twMVC#18
一小時可以打造什麼服務Plus twMVC#18
Destaque
Image processing training in Bathinda
Image processing training in Bathinda
matrixphagwara
1998 aspc 154-1601-rhocas
1998 aspc 154-1601-rhocas
Kees De Jager
Report
Report
Сергей Яцишин
Comoaeco
Comoaeco
Ghent University
R S P P Final
R S P P Final
Сергей Яцишин
Software Engineering - RS2
Software Engineering - RS2
AtakanAral
Destaque
(6)
Image processing training in Bathinda
Image processing training in Bathinda
1998 aspc 154-1601-rhocas
1998 aspc 154-1601-rhocas
Report
Report
Comoaeco
Comoaeco
R S P P Final
R S P P Final
Software Engineering - RS2
Software Engineering - RS2
Semelhante a 利用Xfire创建Web Service
Axis1.4 开发指南 V1.0
Axis1.4 开发指南 V1.0
yiditushe
ASP.NET MVC 4 新功能介紹(快速上手) -twMVC#4
ASP.NET MVC 4 新功能介紹(快速上手) -twMVC#4
twMVC
twMVC#04 | ASP.NET MVC 4 新功能介紹(快速上手)
twMVC#04 | ASP.NET MVC 4 新功能介紹(快速上手)
twMVC
Asp.net mvc網站的從無到有
Asp.net mvc網站的從無到有
Wade Huang
Asp.net mvc 從無到有 -twMVC#2
Asp.net mvc 從無到有 -twMVC#2
twMVC
twMVC#02 | ASP.NET MVC 從無到有
twMVC#02 | ASP.NET MVC 從無到有
twMVC
X Fire开发指南
X Fire开发指南
yiditushe
Spring 2.0 技術手冊第七章 - Spring Web MVC 框架
Spring 2.0 技術手冊第七章 - Spring Web MVC 框架
Justin Lin
與 Asp.net mvc 的第一次親密接觸 - twMVC#1
與 Asp.net mvc 的第一次親密接觸 - twMVC#1
twMVC
twMVC#01 | ASP.NET MVC 的第一次親密接觸
twMVC#01 | ASP.NET MVC 的第一次親密接觸
twMVC
利用 ASP.NET MVC 提升您的 Web 應用程式
利用 ASP.NET MVC 提升您的 Web 應用程式
Chui-Wen Chiu
Lab01 cloud project
Lab01 cloud project
Jeff Chu
Asp.net mvc 基礎
Asp.net mvc 基礎
Gelis Wu
test
test
xieyq
建站大业,实战ASP.NET 4
建站大业,实战ASP.NET 4
Cat Chen
Asp.net+mvc4框架揭秘
Asp.net+mvc4框架揭秘
Zhenhua Tang
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Justin Lin
使用 ASP.NET 5 實戰開發雲端應用程式
使用 ASP.NET 5 實戰開發雲端應用程式
Will Huang
Visual studio 2012 與 asp.net 4.5 (新功能與開發介紹) 第一天
Visual studio 2012 與 asp.net 4.5 (新功能與開發介紹) 第一天
Gelis Wu
ASP.NET Core 2.1設計新思維與新發展
ASP.NET Core 2.1設計新思維與新發展
江華 奚
Semelhante a 利用Xfire创建Web Service
(20)
Axis1.4 开发指南 V1.0
Axis1.4 开发指南 V1.0
ASP.NET MVC 4 新功能介紹(快速上手) -twMVC#4
ASP.NET MVC 4 新功能介紹(快速上手) -twMVC#4
twMVC#04 | ASP.NET MVC 4 新功能介紹(快速上手)
twMVC#04 | ASP.NET MVC 4 新功能介紹(快速上手)
Asp.net mvc網站的從無到有
Asp.net mvc網站的從無到有
Asp.net mvc 從無到有 -twMVC#2
Asp.net mvc 從無到有 -twMVC#2
twMVC#02 | ASP.NET MVC 從無到有
twMVC#02 | ASP.NET MVC 從無到有
X Fire开发指南
X Fire开发指南
Spring 2.0 技術手冊第七章 - Spring Web MVC 框架
Spring 2.0 技術手冊第七章 - Spring Web MVC 框架
與 Asp.net mvc 的第一次親密接觸 - twMVC#1
與 Asp.net mvc 的第一次親密接觸 - twMVC#1
twMVC#01 | ASP.NET MVC 的第一次親密接觸
twMVC#01 | ASP.NET MVC 的第一次親密接觸
利用 ASP.NET MVC 提升您的 Web 應用程式
利用 ASP.NET MVC 提升您的 Web 應用程式
Lab01 cloud project
Lab01 cloud project
Asp.net mvc 基礎
Asp.net mvc 基礎
test
test
建站大业,实战ASP.NET 4
建站大业,实战ASP.NET 4
Asp.net+mvc4框架揭秘
Asp.net+mvc4框架揭秘
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
使用 ASP.NET 5 實戰開發雲端應用程式
使用 ASP.NET 5 實戰開發雲端應用程式
Visual studio 2012 與 asp.net 4.5 (新功能與開發介紹) 第一天
Visual studio 2012 與 asp.net 4.5 (新功能與開發介紹) 第一天
ASP.NET Core 2.1設計新思維與新發展
ASP.NET Core 2.1設計新思維與新發展
利用Xfire创建Web Service
1.
概述 创建 WebService
程序 测试 WebService 程序 创建 WebService 客户端程序
2.
3.
MyEclipse Web Services
是建立在 XFire Java SOAP 框架和工具基础上的, XFire 是一款开源的 Java SOAP 框架。它拥有一个轻量级的信息处理模块,通过 STAX 来与 SOAP 信息相结合。提供了一个工作在 Web Services 下的简单 API , 支持 POJO 和 schema 开发。 XFire 支持 Web Services standards,Spring 整合,支持 JBI ,支持 JAXB , XMLBeans , Java 5 和 JAX-WS ,并支持 HTTP , JMS , XMPP , In-memory 传输协议。
4.
5.
该向导包括三个页面,页面 1 搜集
Web Project 配置细节 , 页面 2 搜集 XFire 配置细节 , 页面 3 在新建的构建路径中配置 XFire 类库 1. 执行 Web Services Project Wizard 。 1). 选择 File>New>Other 2). 扩展 MyEclipse 种类按照 J2EE 工程的种类 。 3). 选择 Web Services Project 然后点击 Next ,如右图所示。
6.
这里以 HelloWorld 为项目名称
下一步
7.
默认 Xfire Servlet
配置参数 下一步
8.
核心 Xfire 库
完成
9.
创建完成的 WebService 的
文件结构。 自动生成配置好的 Web.xml 指定 WebService 的路径
10.
在这部分将用 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 。
11.
选择 WebService 下一步
12.
选择创建 WebService 的工程
下一步 创建 Java Bean 程序
13.
WebService 名称 完成
创建相应的包 对应的 接口类和实现类文件
14.
生成的接口类和 实现类文件 稍作修改
实现类 接口类
15.
Web Service 可以部署在任何
MyEclipse 支持的 J2EE 应用服务器上,该部分将演示如何在 Tomcat 5 Web 容器上部署 HelloWorld 工程。 MyEclipse6.0 程序内置了 Tomcat 插件,所以我们直接在 MyEclipse 搭建环境以及调试等工作。如下图所示。
16.
选择相应的工程 添加完成后效果
17.
添加完成后效果 点击它启动 Tomcat
服务器
18.
MyEclipse 提供了一个 Web
Service Explorer 来测试 Web Service 。 如下图所示。 打开 Web Service Explorer
19.
地址的参数具体是在 web.xml 文件配置
选择 WDSL 测试
20.
测试 发送信息 返回信息
实现类的方法
21.
XFire 提供了一个动态的代理框架 ,
能够读取 WSDL 文档和创建潜在的消息服务使 Java 类来执行在 Web Service 的行为。该部分将为 HelloWorld Web Service 写一个 Java Web Service 客户端。 Web Service Client
22.
为了使 HelloWorld
C lient 能够在 HelloWorld 工程中运行 , 需要增加 XFire HTTP Client 类库到工程的构建路径中。 1. 在 Package Explore 视图中右击 HelloWorld 工程选择 Build Path>Add Library 。 2. 选择 MyEclipse Libraries 。 3. 选择 XFire HTTP Client Libraries 。
23.
添加客户端项目 选择并输入 WDSL
URL 自动化设置(可选 )
24.
错误列表 重验证
25.
项目源文件 测试
26.
时间: 2008 年
7 月 3 日 制作:王燊 北京协成致远网络科技有限公司 仅供公司内部交流使用 谢谢观看!
Baixar agora