xfire下自定义参数
来源:互联网 发布:2017阿里大数据平台 编辑:程序博客网 时间:2024/05/17 23:01
接口定义默认参数In0、In1...不太友好。
修改方法:
添加annotation:
@WebServicepublic interface Iupward {@WebMethod@WebResult(name="result")public String example(@WebParam(name="message")String message);@WebMethod@WebResult(name="result")public int pushMOInfo(@WebParam(name="infotype")String infotype, @WebParam(name="mobile")String mobile,@WebParam(name="content")String content,@WebParam(name="msgtime")String msgtime, @WebParam(name="note")String note);@WebMethod@WebResult(name="result")public int pushMOInfos(@WebParam(name="jsonObj")String jsonObj);}
services.xml加
<serviceFactory>jsr181</serviceFactory>
<service><name>ApplySheetService</name><serviceClass>sjck.service.IApplySheetService</serviceClass><implementationClass>sjck.service.ApplySheetServiceImpl</implementationClass><serviceFactory>jsr181</serviceFactory><style>wrapped</style><use>literal</use><scope>application</scope></service>
- xfire下自定义参数
- xfire中自定义参数名
- XFire绑定Aegis自定义友好参数(复杂对象)
- XFire实现自定义类型参数传递和调用返回自定义类型方法
- xfire接收自定义对象
- XFire中的安全验证and自定义WSDL文档的参数名
- XFire 参数是对象解决
- XFire中进行自定义异常
- eclipse下使用xfire 全记录
- xfire在tomcat下运行,报找不到xfire错误。
- php 调动java xfire参数错误
- xfire 参数对象 命名空间的问题
- Xfire调用webservice无法传递参数问题解决
- xfire 修改wsdl的参数名称
- xFire两种客户端的传递参数
- xfire调用服务传入参数为null
- xfire
- xfire
- HP大中华区总裁孙振耀退休感言
- cocos2d-x学习笔记(6)--按钮
- 菜单和其他资源(3)之创建自己的浮动菜单
- 减少图片HTTP请求的方案 作者:rainweb 日期:2009-10-26
- 一个参数 nls_date_language
- xfire下自定义参数
- HDU-1698(线段树又写)
- 28个Unix/Linux的命令行神器
- 各类暴力事件频发,究竟是为何?
- windows7引导故障的解决修复mbr
- 我们都是小清新,学习——So easy
- Poco::format & Poco::NumberFormatter & Poco::NumberParser
- 程序员们该如何避免十年后成为Loser
- ant项目构建