General discussion

Locked

Invoke Webservice using vbscript

By rajasrirangan ·
I have tried the below code but it is not working. any body can help me. this is vb script code.

Const HOST = "http://localhost/SampleApplication/Simple.asmx"

'Const URL = "Simple.asmx"
Const FORMAT = "Raja"
' Create the HTTP object
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")


xmlhttp.open "GET", HOST & "/GetYourTime?format=" & FORMAT, false

' Send the request synchronously

xmlhttp.send()

'MsgBox HOST & "/GetYourTime?format=" & format
MsgBox xmlhttp.responseText

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums