sinat_27669779 2015-04-27 07:35
浏览 4115

调用服务端的webservice接口异常,axis2,求大神解答,,拜托,拜托,感谢~~~

异常信息如下:Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: org.apache.axis2.databinding.ADBException: Unexpected subelement {接口命名空间地址}arg0
faultActor:
faultNode:
faultDetail:

调用代码:
java rpc方式调用:
serviceClient = new RPCServiceClient();
Options options = serviceClient.getOptions();
options.setTimeOutInMilliSeconds(600000L);
EndpointReference targetEPR = new EndpointReference(wsdlUrl);
options.setTo(targetEPR);
QName opQName = new QName(nameSpace, method);
Class[] classes = new Class[] {String.class};

String result = serviceClient.invokeBlocking(opQName, params, classes).toString();//wsdlUrl,nameSpace,method,params,opQName这些数据都是有的,可是invokeBlocking()时就提示异常了。

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
    • ¥15 安装svn网络有问题怎么办
    • ¥15 Python爬取指定微博话题下的内容,保存为txt
    • ¥15 vue2登录调用后端接口如何实现
    • ¥65 永磁型步进电机PID算法
    • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
    • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
    • ¥15 如何处理复杂数据表格的除法运算
    • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)