Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web service setup on remote server
Message
 
To
20/11/2004 15:43:33
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00963180
Message ID:
00963276
Views:
7
msvcr70.dll is the VC++7 runtime. It should be installed with VFP8.
Check out the Foxwiki for more info on WSDL:
http://fox.wikis.com/wc.dll?Wiki~WebServiceExamples~VFP
A VFP mtdll will allow multiple simultaneous VFP threads to service the web service requests, so, unless you're sure only 1 person at a time will use it, mtdll is the way to go.
FUNCTION Error(nError, cMethod, nLine)
		COMreturnerror(cMethod+'  err#='+str(nError,5)+'  
line='+str(nline,6)+' '+message(),_VFP.ServerName)
		&& this line is never executed
MS and the VFPT has provided the basic plumbing for these things(which I'm grateful for) but not much in the way of documentation or examples...

>Hi Claude, thanks for the information.
>
>>...and the vc++7 runtime.
>
>What is this file called (I will be using VFP8) and where do I find it? I cannot see it anywhere on my HDD.
>
>What about the WSDL file? Does this have to be installed on the server machine? If so, where?
>
>>Always compile to a vfp mtdll...
>
>What is the difference between a mtdll and an .exe?
>
>>Always use COMRETURNERROR
>
>I guess this has something to do with error handling, but what is COMRETURNERROR, and how do I use it?
>
>The function will require access to some small .dbf tables. Rather than supply these as separate files, is it ok to included them in the .dll (as I would for an .exe running on a network)?
>
>
>Thankyou for your patience with a beginner in this area. I'm sure I'll get the hang of it in the end. The idea of web-services is great, but I would have thought it should be easier to send data from a web-app to a VFP function, and return the result(s) back to the web-app. The setup and additional components required seems really complicated (for me, at least) to get up-and-running. I'm surprised that even Microsoft haven't come up with anything easier (yet, :-( )
>
>Regards,
>Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform