Can not connect with the web service

annarannar Member Posts: 24
Hi!

I am trying to send an XML-file to the webservice but I am missing something.
  CLEAR(xmlDoc); CLEAR(xmlHttp); CLEAR(ostOutStream);
  CREATE(xmlDoc); xmlDoc.async := FALSE;

  recLog."Sent XML Message".CREATEOUTSTREAM(ostOutStream); // i take the xml from the blob
  xmlDoc.load(ostOutStream);

  CREATE(xmlHttp);
  xmlHttp.open('POST',txtURL);
  xmlHttp.setRequestHeader('Content-type','text/xml');
  xmlHttp.setRequestHeader('SOAPAction','urn:allin:webservice:standard:submit');
  xmlHttp.send(xmlDoc); // here comes the error

Instead of sending it tells me:
The call to member send failed. msml6.dll returned the following message:
System error -2146697208.


The error means: A connection with the server could not be established.

I see that there is a webservice on the other end, I have accepted the certificate in IE but still no effect.

Any ideas?
Sign In or Register to comment.