在 WebSphere Portlet Factory 中创建 Web Service
2010-09-27 08:19:12 来源:WEB开发网 闂傚倸鍊搁崐鎼佸磹閹间礁纾归柟闂寸绾惧綊鏌熼梻瀵割槮缁惧墽鎳撻—鍐偓锝庝簻椤掋垺銇勯幇顖毿撻柟渚垮妼椤粓宕卞Δ鈧獮濠勭磽閸屾艾鈧懓顫濋妸鈺佺疅缂佸顑欓崥瀣煕椤愵偅绶氱紓鍐╂礋濮婂宕掑▎鎴М濠电姭鍋撻梺顒€绉甸幆鐐哄箹濞n剙濡肩紒鎰殜閺屸€愁吋鎼粹€茬敖婵炴垶鎸哥粔鐢稿Φ閸曨垰鍐€妞ゆ劦婢€濞岊亪姊虹紒妯诲蔼闁稿海鏁诲濠氭晲婢跺﹤宓嗛梺缁樺姈缁佹挳宕戦幘璇叉嵍妞ゆ挻绋戞禍鐐叏濡厧浜鹃悗姘炬嫹

核心提示: WebSphere Portal Server6.0: 用来作为项目的运行环境,创建 Web Service创建 Web Service,在 WebSphere Portlet Factory 中创建 Web Service(2),主要是通过 WPF 中的 Web Service Enable
WebSphere Portal Server6.0: 用来作为项目的运行环境。
创建 Web Service
创建 Web Service,主要是通过 WPF 中的 Web Service Enable Builder 构建器来把使用 Method Builder 定义的一个或多个方法发布为 Web Service,并通过 Schema Builder 构建器来定义 Web Service 的输入输出参数。
创建 Web Service 的架构图:
创建新工程
首先创建一个 WPF 工程,将其命名为 TestCallService(详细步骤可参考 WebSphere Portlet Factory 快速开发入门 和 使用 WebSphere Portlet Factory 提升基于 SOA 架构的门户应用的时间价值,第 1 部分 : WebSphere Portlet Factory 简介 ),项目创建完成后 如图 2
图 2. 工程目录图
创建新模型(Model)
在创建的 TestCallService 工程中新建一个 WebSphere Portlet Factory Model,将其命名为 WebServiceModel,(详细步骤可参考 WebSphere Portlet Factory 快速开发入门 和 使用 WebSphere Portlet Factory 提升基于 SOA 架构的门户应用的时间价值,第 1 部分 : WebSphere Portlet Factory 简介 ),Model 创建完成后 如图 3
图 3. 模型(Model)目录图
编缉推荐阅读以下文章
- 在WebSphere Portlet Factory中调用Web Service
- ››WebSphere Application Server 7.0 XML Feature P...
- ››WebSphere 反向投资者: 解决 WebSphere Applicati...
- ››WebSphere sMash 的创新应用,第 2 部分: 借助包装...
- ››Websphere MQ v6集群的负载均衡新功能
- ››WebSphere Process Server V6.0.2 集群,第 2 部分...
- ››WebSphere Process Server V6.0.2 集群,第 1 部分...
- ››WebSphere MQ性能调优浅谈
- ››WebSphere配置资源库管理
- ››WebSphere中的SSL/TLS:用法、配置和性能
- ››websphere ejb远程/本地调用总结
- ››WebSphere Application Server对SIP的支持
- ››WebSphere Process Server V6 体系结构概述
更多精彩
赞助商链接