xfire客户端代码调用2
来源:互联网 发布:网络统考是看答案抄吗 编辑:程序博客网 时间:2024/05/22 00:13
private static final String WSDLURL = "wsdl url地址";
private static Service srvcModel = new ObjectServiceFactory()
.create(InvestmentSendMsg.class);
private static XFireProxyFactory factory = new XFireProxyFactory(
XFireFactory.newInstance().getXFire());
static Logger logger = Logger.getLogger(InvestSendMsg.class);
public static int msgSend(Map map, List list) {
try {
InvestmentSendMsg srvc = (InvestmentSendMsg) factory.create(
srvcModel, WSDLURL);
return srvc.sendMsg(map, list);
} catch (MalformedURLException e) {
e.printStackTrace();
logger.error(e.getMessage());
return 0;
}
}
上面是部分代码,InvestmentSendMsg 这个类是直接给写服务的要的一个接口类,
这样调用起来还是挺简单的,总感觉有写不爽。
- xfire客户端代码调用2
- xfire 客户端调用
- xfire客户端调用
- xfire 客户端代码分析
- xfire 客户端代码分析
- xfire客户端代码,对于复杂类型的调用
- xfire-在客户端调用WebServices
- xfire+webservice(客户端调用篇)
- xfire客户端调用webservice测试
- myeclipse xfire客户端调用接口
- WSClient客户端调用---codehaus.xfire
- axis,jax-ws,xfire客户端调用
- xfire 客户端调用webservice注意要点
- xfire 客户端调用webservice注意要点
- axis1.4 xfire java web客户端调用
- 客户端调用Xfire WebService(含JavaScript)
- Webservice使用xfire发布及客户端调用
- webservice之xfire的客户端调用
- 调试记录-关于#include与#include在64位编译时的问题
- 如何对hadoop作业的某个task进行debug单步跟踪
- Linux 内核中的 GCC 特性
- DownloaderTest | Http协议 | 断点续传 | Thread
- Keil软件仿真的串口调试技巧
- xfire客户端代码调用2
- Delphi中的THashedStringList对象
- internetopen、internetOpenUrl、InternetReadFile,urldownloadtofile
- 正斜杠与反斜杠的分析
- js传递中文参数的url到asp(jscript)解释得到的中文参数为乱码的解决方法
- 杀死进程命令kill,pkill,killall,xkill
- .NET调用新浪微博开放平台接口的代码示例
- [转] Windows下的Memcache安装
- 简易的TCP完成端口库