我正在使用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
。有什么想法吗?