Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing with consuming web services.. what 2 do when (objec
Message
De
19/08/2003 21:46:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Playing with consuming web services.. what 2 do when (objec
Divers
Thread ID:
00821648
Message ID:
00821648
Vues:
50
Playing with consuming web services..I have had several that were very simple work fine then i had one return and object and am stuck. what do I do with the (object) that is returned from the web service?...

LOCAL loWSIQuizService AS "XML Web Service"
* Do not remove or alter following line. It is used to support IntelliSense for your XML Web service.
*__VFPWSDef__: loWSIQuizService = http://java.rus.uni-stuttgart.de/quiz/quiz.wsdl , QuizService , IQuizService
LOCAL loException, loWSHandler
*TRY
loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")
loWSIQuizService = loWSHandler.SetupClient("http://java.rus.uni-stuttgart.de/quiz/quiz.wsdl", "QuizService", "IQuizService")
* Type your XML Web service code here:
* ex: leResult = loWSIQuizService.somemethod()
?leresult
---(object)

leResult = loWSIQuizService.randomQuestion()
SET CLASSLIB TO 'wwxml.vcx'
oXML = CREATEOBJECT("wwXML")
?oxml.ObjectToXml(leresult)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform