I am trying to send a SOAP request using client code that uses libraries created using the wsdl2java tool for eclipse, but keep getting this error:
[ERROR] The system cannot infer the transport information from the Address: http://172.17.4.2:8081/axis2/services/CDMS URL.
This client is a proxy server that sits between the "real" client and the server. I got the url from wsa: in the SOAP message box from the real client and use it to create a connection to the server.
I pretty much lost the ability to search for a possible source of the error, can anyone give a hint? I'm not sure what information I can provide here that might be useful, so just let me know what other error messages or extracts of configuration files I should provide to help you help me :)
Thanks...
UPDATE:
I made several more tests, the request was sent successfully if I rigidly set the URL string to the client, and did not receive it from another message:
ConfigurationContext cc = ConfigurationContextFactory.createConfigurationContextFromFileSystem("/home/me/axis2-1.6.2/repository", "/home/me/axis2-1.6.2/conf/axis2.xml"); CDMSStub stub = new CDMSStub(cc, "http://172.17.4.2:8081/axis2/services/CDMS");
I do not understand why, because the line I put has the same meaning / content as hard-coded ....
source share