I got this code (The code is in
VB Script) from one of the sites.
Code:
Sub Test()
Const HOST = "http://localhost/"
Const URL = "TestWS/TestWS.asmx"
Const FORMAT = "dd-MMM-yy"
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "GET", HOST & URL & "/GetYourTime?format=" & FORMAT, false
xmlhttp.send ""
MsgBox xmlhttp.responseText
End Sub
However, When I run the program I get the following error:
"Request format is unrecognized."
Can anyone tell me what the error is. Is there a better way of doing this??
Please Help...
Thanx in Advance
Regards
Ganesh