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
。何か案が?