Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web service or ASP?
Message
From
06/12/2001 16:30:15
 
 
To
06/12/2001 15:20:23
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00589377
Message ID:
00590825
Views:
31
>can you return only one value from a web class

Just one value... but...

> or can you also return cursors?

The problem with that is, you know have a VFP specific Web service, so if it were even possible, I wouldn't recommend it... but...

> or should I convert my cursors with cursortoxml()?

This would be a very applicable solution. Also, you can create your own XML, for example, say you want to return to values in one, just do this:
RETURN <returns value1="1" value2="2"/>
That returns two values that are parsable.

>And would the correct technique for inserting a record into a SQL Server table be to call the appropriate web service, passing the fields to insert as parameters, and have the web service call the stored procedure for inserting the record? Or is there a better way to call my stored procs from ASP?

Best way in SQL Server? Honestly, couldn't tell you, I'm not the SQL buff that most others are. Hopefully, someone else can jump in and tell you.

>I installed the SOAP Toolkit from the VFP 7.0 CD.

Alrighty, so, what code are you using to test this out? Did you create the Web Service or are you just trying to call one already on the net?
Previous
Reply
Map
View

Click here to load this message in the networking platform