Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Retrieving Data from UT WebService
Message
 
 
To
10/12/2001 18:33:05
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
00592438
Message ID:
00592451
Views:
23
I was logged in, but calling this WebService is different than FoxCentral or FoxWiki. I had to use exact code Michel provides in his example on his UT WebServices page. I finally got it working.

>Yes, this is correct. You need to call the Login method.
>
>
>>This is the code I am using:
>>LOCAL xx as UniversalThread
>>LOCAL loWS
>>loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
>>loWS.cWSName = "UniversalThread"
>>xx = loWS.SetupClient("http://www.levelextreme.com/universalthread.wsdl", "UniversalThread", "WebServiceSoapPort")
>>
>>llRetVal = xx.Login('my_ut_id', 'my_ut_pwd')
>>DEBUGOUT 'Logged In: ' + TRANSFORM(llRetVal) && returns TRUE
>>
>>yy = xx.GetNews(DATE() - 5, DATE(), 5)
>>I get the error on the last line trying to call the GetNews method. The error says I have to be logged in. ?????
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform