Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to create and use my first web service
Message
 
To
08/01/2003 15:35:23
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00739531
Message ID:
00740070
Views:
14
Hi,

If you did all as default (I mean soap installation on your IIS) you do not need "FileUtils", "FileUtilsSoapPort" or they have to be defined correctly (but usually I do not use them).

Secondly, please check your method/function GetCount() not in COM object (may me your COM object has no rights to read files or it has functions that you cannot use in a COM object).

May be it helps you.



>Hi All,
>
>I'm trying to follow the MSDN walk through on creating and using a web service with Visual FoxPro. I create and test the COM object and it seems to work fine. I then use the Web Service wizard to create the WSDL and WSML files which also seem to work fine. I then try to use the web service using the following:
>
>
>x = createobject("mssoap.soapclient")
>x.mssoapinit("http://localhost/wsVFP/FileUtils.wsdl","FileUtils", "FileUtilsSoapPort")
>
>
>Then according to the documentation (as I interpret it), I should be able to do the following (where GetCount is a method/function of my COM object that returns the number of files in the current directory):
>
>
>?x.GetCount()
>
>
>However, this does not work... what am I doing wrong??
>
>Thanks in advance for any help.
>
>Aloha,
>
>James
Previous
Reply
Map
View

Click here to load this message in the networking platform