Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Complex data objects
Message
De
01/01/2002 12:53:06
 
 
À
01/01/2002 11:54:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00599586
Message ID:
00599594
Vues:
13
Tim,

Seems to me that Web Services that return XML would be more "standardized", and this one does not return XML. Seems strange to me.

But ... I played around with it a bit ... I tried to do an XMLTOCURSOR() on the returned value and of course, it blew up. But, then instead of cancelling the prg, I simply suspended it and was able to play around with the returned value. It's an array of objects ... and you can't see what the objects are in the debugger. But, if you go to the command window, Intellisense will kick in and you can find something out about the objects.
x = oWS.getAllSOAPServices

XMLTOCURSOR(x, "testCursor")
*--- blows up here, but then go the command window and ...

? x(1).length
? x(1).item(1).xml
That's as far as I went with it, but play around more if you like.

~~Bonnie


>I have tried to connect to serveral web services that return complex data
objects. I have no problem with the connection, but I can not read the output. When I suspend my foxpro app and do a display memory. I see the object that was return to my app, but it just says 'unknown type'.
>
>Here is one of the web servies I have tested:
>
>http://www.xmethods.com/detail.html?id=23
>
>Does anyone know how to read the output from this type of web service?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform