文档详情

tuxedo服务封装tuxedo服务封装.ppt

发布:2017-12-14约6.17千字共24页下载文档
文本预览下载声明
Welcome to HUAWEI Technologies presentation 使用SALT封装Tuxedo服务 2009年6月 内容提要 封装tuxedo服务为ws(inbound) 外部ws封装为tuxedo服务(outbound) Tuxedo服务开发架构 Web Service Server 封装tuxedo服务为ws(inbound)步骤(总) 一 服务配置 1、安装tuxedo和salt并配置环境变量 2、根据tuxedo服务创建服务配置文件.mif。 3、生成元数据注册文件(metadata repository) 4、创建web service定义文件(.wsdf)。 5、创建web service部署配置文件.dep。 6、根据.dep文件生成SALTCONFIG文件。 7、修改ubb文件,生成TUXCONFIG文件 8、重新启动tuxedo 9、生成.wsdl文件。 二 服务调用开发 1、根据.wsdl文件,做基本的ws开发。 封装tuxedo服务为ws(inbound)步骤(总) 一 服务配置 1、安装tuxedo和salt并配置环境变量 Windows SET TUXCONFIG=#The value of TUXCONFIG # SET SALTCONFIG=#The value of your environment# Unix export TUXCONFIG=#The value of TUXCONFIG s# export SALTCONFIG=#The value of your environment# 封装tuxedo服务为ws(inbound)步骤(总) 一 服务配置 2、根据tuxedo服务创建服务配置文件.mif。 service=ToUpperWS export=y servicetype=service inbuf=STRING outbuf=STRING tuxservice=TOUPPER param=name type=string access=inout size=1000 mdr_datatypeapp.mif 封装tuxedo服务为ws(inbound)步骤(总) 一 服务配置 3、生成元数据注册文件(metadata repository) 通过如下命令来生成元数据注册文件(metadata repository) tmloadrepos -i .mif文件 .repos文件 元数据注册文件要配置在ubb文件中。 封装tuxedo服务为ws(inbound)步骤(总) 一 服务配置 4、创建web service定义文件(.wsdf)。 ?xml version=1.0 encoding=UTF-8? Definition xmlns=/Tuxedo/WSDF/2007 name=simpapp WSBinding id=simpapp_Binding Servicegroup id=simpapp_PortType Service name=ToUpperWS/Service /Servicegroup SOAP style=document use=literal AccessingPoints Endpoint address=:8080/simpapp id=simpapp_GWWS1_HTTPPort/Endpoint /AccessingPoints /SOAP /WSBinding /Definition 封装tuxedo服务为ws(inbound)步骤(总) 一 服务配置 5、创建web service部署配置文件.dep。 ?xml version=1.0 encoding=UTF-8? Deployment xmlns=/Tuxedo/SALTDEPLOY/2007 WSDF Import location=C:\dev2009\salttest\simpapp.wsdf/Import /WSDF WSGateway GWInstance id=GWWS1 Inbound Binding ref=simpapp:simpapp_Binding Endpoint use=simpapp_GWWS1_HTTPPort/Endpoint /Binding /Inbound
显示全部
相似文档