我正在使用axis2 编写一个SOAP 客户端。我获取了 wsdl 文件并生成了一个存根类。然后我尝试像这样调用删除服务:
RequestObj req = new RequestObj();
req.setParam("xxxxx");
ServicePortStub stub = new ServicePortStub();
ResponseObj res = stub.remoteService(req);
org.apache.axis2.AxisFault: Transport out has not been set
但我在调用时遇到了异常remoteService
。任何想法?