Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursoradapter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01020549
Message ID:
01020617
Vues:
17
Here's what I am doing;
oNet = CREATEOBJECT("MSSOAP.SoapClient30")
oNet.MSSOAPInit("http://fortemobile/avbcoorders/avbcoorders.asmx?wsdl")

lors=onet.getpendingorders(1)
lors is a .net dataset returned from the web service...

I just want to simply turn that into a vfp cursor.



>Hi, Wayne.
>
>>I have a .net webservice that is returning an ado recordset - I want to work with this data in vfp in a cursor - what would be a simple way to move the data from adors to a cursor? I do not need to update/etc this data - just read it and write bits and pieces to a separate vfp application.
>>
>>I can work with the data as an ado recordset, but I just want to make it a bit easier to see. Also, I have read the data into a cursoradapter object and I can see the data and export it to an xml file - but I am not seeing how to just create a cursor with it.
>
>If it's coming from a Web Service, then it should be an ADO.NET dataset. You can't receive an ADO recordset trough a WS, except one persisted as XML.
>
>In any case, an XmlAdapter will do. Notice that if it is a dataset (most probably, I think), the XmlAdapter will allow you to get each one of the different tables.
>
>Best luck,
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform