|
khanmdh -> Web Service Error (9/22/2008 11:27:33)
|
I am getting erroe when I am tryin to invoke webservice: Error is " The download of specified resources has failed" Here is the code: Const serviceUrl = "https://apsp8263:39444/cis-odes-svc-ws/hsr" ' Create the HTTP object Set xmlhttp = CreateObject("Microsoft.XMLHTTP") xmlhttp.open "POST", serviceUrl, False ' Send the request synchronously Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.GetFile("C:\Test.xml") Set objReadFile = objFSO.OpenTextFile("C:\Test.xml", 1) strContents = objReadFile.ReadAll msgbox strContents xmlhttp.send strContents xmlhttp.responseText Here is the request envelope which placed in c drive : <?xml version="1.0" encoding="iso-8859-1"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://clinical.uhg.com/cis/odes/ws/message/1" xmlns:ns1="http://clinical.uhg.com/cis/1"> <soapenv:Header/> <soapenv:Body> <ns:ReadEntityRequest> <ns:EntityIdentifier> <ns1:ID schemeID="CIS">00200000006904</ns1:ID> </ns:EntityIdentifier> </ns:ReadEntityRequest> </soapenv:Body> </soapenv:Envelope> Any help is higly appreciated
|
|
|
|