How do I get username and password in webservice when I use vbscript code as below.
call oXMLHTTP.open("POST","http://localhost:11883/ServiceCall.asmx/GetEmloyee,false,testUser,testPasword)
How do I get username and password in webservice when I use vbscript code as below.
call oXMLHTTP.open("POST","http://localhost:11883/ServiceCall.asmx/GetEmloyee,false,testUser,testPasword)
Your code example is correct.
From the MSDN Reference:
oXMLHttpRequest.open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);