Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML and Binary data
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00588125
Message ID:
00588523
Views:
21
>I am trying to get a class definition to be returned by a webservice. Before I got that far, I ran into issues with the vfp XML functions and attempting to do it within VFP.
>
>here is my code to get the class:
>
>FUNCTION Checkout(classname AS STRING)
>SELECT * FROM c:\test\test.vcx WHERE objname == ?classname INTO CURSOR class_def
>CURSORTOXML("class_def","_classdef",1,4096)
>RETURN _classdef
>
>
>upon getting the string back, I try to "unpack" it with xmltocursor()
>
> XMLTOCURSOR(o.Checkout(),"NewClass" ,4096)
>
>the class is an olebound control and it always blows up on the ole field of the xml string
>
>Obviously I have no freaking idea what I am doing, but I do (Wayne) seem to be holding my mouth right.
>
>
>Any suggestions?
>
>Thanks!
Message #588522.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform