OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Web Service Error

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> Web Service Error
Page: [1]
 
khanmdh

 

Posts: 4
Joined: 9/9/2008
Status: offline

 
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
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Web Service Error - 9/22/2008 17:00:03   
Other than about 1000 other things that could be wrong, I sometimes find forcing the response.content type works:

response.ContentType = "text/xml"

That needs to go in your ASP code before the XML get's written to the browser.

That help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to khanmdh)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Web Service Error - 9/22/2008 17:00:46   
quote:

Set objReadFile = objFSO.OpenTextFile("C:\Test.xml", 1)


Also be sure you have appropriate permissions for that file....

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to khanmdh)
khanmdh

 

Posts: 4
Joined: 9/9/2008
Status: offline

 
RE: Web Service Error - 9/22/2008 19:10:49   
I think it is not the file it self with same request i able to make call to local server which http, the problem lies in the https, so any one knows how to make webservice call to https with vbscripts.

Would appreciate your help

(in reply to rdouglass)
Page:   [1]

All Forums >> Web Development >> Server Issues >> Web Service Error
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts