请教怎样调用通过wsdl生成的客户端(接口协议RPC)
请教怎样调用通过wsdl生成的客户端(接口协议RPC)
AsigService.java
AsigServiceService.java
AsigServiceServiceLocator.java
AsigServiceServiceSoapBindingStub.java
AsigServiceServiceSoapBindingStub stub = new AsigServiceServiceSoapBindingStub(); SimpleDateFormat dateFormat =new SimpleDateFormat("yyyy-MM-dd"); String info = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root>test</root>"; System.out.println(stub.executeXML(info));
AxisFault faultCode: {http://xml.apache.org/axis/}Server.NoEndpoint faultSubcode: faultString: No endpoint faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}exceptionName:org.apache.axis.NoEndPointException {http://xml.apache.org/axis/}stackTrace:No endpoint at test.AsigServiceServiceSoapBindingStub.executeXML(AsigServiceServiceSoapBindingStub.java:458) at test.Test.main(Test.java:318) {http://xml.apache.org/axis/}hostname:WWW-5F02D06A341No endpoint at test.AsigServiceServiceSoapBindingStub.executeXML(AsigServiceServiceSoapBindingStub.java:458) at test.Test.main(Test.java:318)