您的位置:首页 > Web前端

flex前端传送ws服务报文开发步骤

2015-11-13 09:57 411 查看
a-画界面

b-eclipse中导出wsdl的vo文件

c-写通信:mxml中+**Service.class

在JumpTrade根目录的build目录下取自动编译生成的class文件(通讯类),

放到JumpServer/WEB-INF/classes/trade/....))

d-项目-属性-flex模块-添加 构建项目(无错误,就生成swf文件并上传到

apache-tomcat-6.0.36/webapps/BBOSEnd/trade/....)

e-配置菜单apache-tomcat-6.0.36/webapps/BBOSEnd/data.xml

f-放置相应的wsdl文件,JumpServer/WEB-INF/classes/config/webservice/wsdl/fhts/code/...

(公司现行开发需要修改WSDL中的ip,有BGSP环境的话不要)

<wsdl:port name="MyTelServicePort" binding="tns:MyTelServiceSoapBinding">

<soap:address location="http://127.0.0.1:8080/SZXEUPSSH/ws"/>

</wsdl:port>

g-配置三个文件:

1,JumpServer/WEB-INF/classes/config/webservice/definition/JumpServer-webservices_br.xml

2,JumpServer/WEB-INF/classes/config/identityMapping_br.properties

3,JumpServer/WEB-INF/classes/config/websevice_from_to_br.properties

1.通信类地址

/JumpServer/WEB-INF/classes/trade/fhts/code/hpfs/szxhpfs/JXConService.class

2.flex文件地址

/apache-tomcat-6.0.36/webapps/BBOSEnd/trade/testjx/testjx.swf

3.wsdl文件地址

/JumpServer/WEB-INF/classes/config/webservice/wsdl/testjx/AcpCoreService.wsdl

其中的location的ip需要改下

4.配置文件

JumpServer/WEB-INF/classes/config/webservice/definition/JumpServer-webservices_br.xml

这个配置文件配置的是wsdl文件的位置

JumpServer/WEB-INF/classes/config/identityMapping_br.properties

这个配置文件配置的是映射后台的

{http\://hbtst.service.bankcomm.com/basic/atomic/operation.AcpCoreService/Schema}xgj480801=qryInfo

JumpServer/WEB-INF/classes/config/websevice_from_to_br.properties

AcpCoreService.from=CHNBBOS

AcpCoreService.to=SZXCHPS

配置的是wsdl文件里的常量值

菜单配置

/apache-tomcat-6.0.36/webapps/BBOSEnd

data.xml

配置前端显示的菜单(暂不清楚怎么配置)

5服务器启动和关闭的地址
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: