Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What files need to be on web server
Message
De
27/06/2003 10:57:51
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
What files need to be on web server
Divers
Thread ID:
00804699
Message ID:
00804699
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform