Information générale
Titre:
What files need to be on web server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement