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服务器启动和关闭的地址
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服务器启动和关闭的地址
相关文章推荐
- js判断输入的数值大于另一个数值
- Liferay Portal学习笔记:portlet执行的两个阶段
- jQuery.lazyload详解
- 每天一篇javascript学习小结(Date对象)
- Javascript总结
- div+CSS实现段落首行缩进两个字符(text-indent标签)
- 关于jquery ajax 异步请求 中文乱码问题。
- HTML
- JavaScript的执行上下文
- 以jQuery中$.Deferred对象为例讲解promise对象是如何处理异步问题
- json
- Extjs应用案例--《酒店管理系统》
- WPF自定义控件与样式(1)-矢量字体图标(iconfont)
- CCDrawNode类的引用
- CCDrawNode类的引用
- CCDrawNode类的引用
- js计算时间之差
- Js中parseFloat()方法所产生的精度问题
- jquery $.ajax $.get $.post的区别
- mac工具-解析json