Web Development

General discussion


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


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

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums