用 Apache Geronimo 和 Axis2 实现在线银行,第 2 部分: 服务:填充内容(下)
2010-03-19 00:00:00 来源:WEB开发网 /* LOOKUPACCOUNTS */
public static boolean lookupAccounts
(OnlineBankingPortTypeStub stub, byte[] token){
try{
LookupAccountsDocument reqDoc00 =
LookupAccountsDocument.Factory.newInstance();
LookupAccountsDocument.
LookupAccounts reqDoc01 =
reqDoc00.addNewLookupAccounts();
reqDoc01.setToken(token);
LookupAccountsResponseDocument resDoc00 =
stub.LookupAccounts(reqDoc00);
LookupAccountsResponseDocument.
LookupAccountsResponse resDoc01 =
resDoc00.getLookupAccountsResponse();
int[] numbers = resDoc01.getNumbersArray();
float[] balances = resDoc01.getBalancesArray();
String[] types = resDoc01.getTypesArray();
System.out.println("Accounts:");
for(int i = 0; i < numbers.length; i++){
System.out.println(numbers[i]+" : "+balances[i]+
" : "+types[i]);
}
return true;
} catch(Exception e){
e.printStackTrace();
}
return false;
}
- ››apache设置域名绑定 以及绑定不起作用的排查
- ››apache rewrite将指定URL转向指定的几个服务器
- ››apache配置文件httpd.comf部分参数说明
- ››Apache+Mysql+PHP+phpMyAdmin+Mac OS X 10.7 Lion...
- ››apache+tomcat负载均衡_项目实例
- ››apache mysql php 源码编译使用
- ››Apache添加mod_aspdotnet.so支持ASP.NET配置指南
- ››Apache中改变php.ini的路径
- ››Apache2.2与Tomcat6整合及虚拟主机配置
- ››Apache+php+mysql在windows下的安装与配置图解
- ››Apache+Subversion完美结合,CentOS下实现版本控制...
- ››Apache HTTPServer2.2.16 发布
更多精彩
赞助商链接