Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Retrieving Data from UT WebService
Message
 
 
À
10/12/2001 18:33:05
Information générale
Forum:
Level Extreme
Catégorie:
Autre
Divers
Thread ID:
00592438
Message ID:
00592451
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform