Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What files need to be on web server
Message
From
27/06/2003 10:57:51
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
What files need to be on web server
Miscellaneous
Thread ID:
00804699
Message ID:
00804699
Views:
45
I am using VFP8 to create a simple web server.

If I create a virtual directory in IIS and create my VFP project in this same directory with the below code and compile as a multi-threaded DLL and then publish my web service through Task Pane, everthing works:

DEFINE CLASS ctestcom1 AS Session OLEPUBLIC
***************************************************
PROCEDURE p_Proc1
***************************************************
RETURN [Hello World]
ENDPROC
ENDDEFINE


But if I create my VFP project in a different directory that is not an IIS virtual directory and try to publish this as a webservice, I get errors when I test the web service through Task Pane - Explore an XML Web Service.

The only difference is that 1 VFP project sits in the virtual directory and the other doesn't.

I have tried copying the .dll, .tlb and .vbr to the virtual directory and publish those files from the Task pane, but that doesn't help.

What's the best way to publish a VFP web service with out having all the source code and project files in the virtual directory?

Thanks,

Jerry
Next
Reply
Map
View

Click here to load this message in the networking platform