Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can anyone help with this?
Message
From
22/09/2005 16:38:55
 
 
To
14/09/2005 09:58:45
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01049412
Message ID:
01052184
Views:
12
Not sure but you can try something like the below 2 examples (replace the appropriate values of course):
lcuser = ""          && replace with your username
lcpassword = ""      && replace with your password
lcsite = ""          && replacw with the url

*-------------- Test Example 1
loWScript = CreateObject("WScript.Shell") 
ln=loWScript.RegRead('HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable') 
loservice = CREATEOBJECT('mssoap.soapclient30')
loservice.mssoapinit("http://www.levelextreme.com/WebService/universalthread.asmx?WSDL") && change to lcsite
IF ln = 1
   loService.ConnectorProperty.UseProxy = .t.
ENDIF
loservice.ConnectorProperty("AuthUser") = lcuser 
loservice.ConnectorProperty("AuthPassword") = lcpassword
loservice.ConnectorProperty("WinHTTPAuthScheme") = 1
lcXML=loservice.GetMessage(DATE(),5)
RELEASE loservice

*--------------Test Example 2
loUniversalThread=Createobject("mssoap.soapclient30")
loUniversalThread.mssoapinit("http://www.levelextreme.com/WebService/universalthread.asmx?WSDL") && change to lcsite
loUniversalThread.Login(lcuser,lcPassword)
lcXML=loUniversalThread.GetMessage(DATE(),5)
RELEASE loUnivesalThread
RETURN
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform