tomcat6.0.2 axis2.1.2 jdk6.0
怎么接收从客户端传送的list,list里全是OMElementImpl,localName为empty
客户端list中有对象
RPCServiceClient serviceClient = new RPCServiceClient();
EndpointReference targetEPR = new EndpointReference("http://192.168.1.188:8080/ysjg/services/ysjgService/");
Options options = serviceClient.getOptions();
options.setTo(targetEPR);
Object[] opAddEntryArgs =new Object[]{1,constract,cdInfoList};
Class[] classes = new Class[]{String.class};
QName apAddEntry = new QName("http://service.bestvike.com","addConstractInfo");
Object[] results = serviceClient.invokeBlocking(apAddEntry, opAddEntryArgs,classes);
System.out.println(results[0]);
怎么接收从客户端传送的list,list里全是OMElementImpl,localName为empty
客户端list中有对象
RPCServiceClient serviceClient = new RPCServiceClient();
EndpointReference targetEPR = new EndpointReference("http://192.168.1.188:8080/ysjg/services/ysjgService/");
Options options = serviceClient.getOptions();
options.setTo(targetEPR);
Object[] opAddEntryArgs =new Object[]{1,constract,cdInfoList};
Class[] classes = new Class[]{String.class};
QName apAddEntry = new QName("http://service.bestvike.com","addConstractInfo");
Object[] results = serviceClient.invokeBlocking(apAddEntry, opAddEntryArgs,classes);
System.out.println(results[0]);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货