Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when trying to publish web service

lCoimbra

Programmer
Jan 13, 2025
2
Hello.

I'm trying to create a small webservice for testing purposes in my Windows 10 and Windows 11 machines. I have IIS enabled and running.
I have read somee tutorials like "XML Web Services for Visual FoxPro Developers" written by Doug Hennig.
Somehow I'm getting several errors and strange things, for instance, I'm unable to create a New or Existing Virtual Directory. The windows is like this:

1736771320816.png

I don't know why. If I try to write it down I'm getting:
1736771393054.png
I don't understand this. I'm having these problems in both Windows 10 and Windows 11 computers.
TIA
 
The upper window also tells you don't have IIS installed on that machine. So either you try to configure a web service client with this, or the detection of a too modern IIS version failed on the server.

Just like in a recent thread about FoxIs and Isapi I'd say this is all too old. The way to build VFP XML Web Services was built on the Soap Toolkit which deprecated long ago. I'd look into other ways of providing and/or consuming a web service. West Wind has all you need in WEb Connection - https://webconnection.west-wind.com/ and while one paragraph's title is Create JSON REST Services it says AJAX (Asynchronous JavaScript and XML) there you have XML, if you absolutely want. The description tells you there are utility functions to cope with object to json and json to object conversion, though, and JSON is the more lightweight and more often used standard for transporting both objects and data, so a good reason to rethink it loike that.

If you already have built your XML web service foundation and now struggle with publishing and consuming it that's another story. But using the soap toolkit is not the only way.
 
Last edited:
The upper window also tells you don't have IIS installed on that machine. So either you try to configure a web service client with this, or the detection of a too modern IIS version failed on the server.

Just like in a recent thread about FoxIs and Isapi I'd say this is all too old. The way to build VFP XML Web Services was built on the Soap Toolkit which deprecated long ago. I'd look into other ways of providing and/or consuming a web service. West Wind has all you need in WEb Connection - https://webconnection.west-wind.com/ and while one paragraph's title is Create JSON REST Services it says AJAX (Asynchronous JavaScript and XML) there you have XML, if you absolutely want. The description tells you there are utility functions to cope with object to json and json to object conversion, though, and JSON is the more lightweight and more often used standard for transporting both objects and data, so a good reason to rethink it loike that.

If you already have built your XML web service foundation and now struggle with publishing and consuming it that's another story. But using the soap toolkit is not the only way.
Hello, Chris.
Thanks for your reply.
I was trying to use it in order to be able create blocks of VFP9 code that could be executed externally either in Android or Windows devices ( connected in the local network ). Imagine, for instance, to get the customer's data from our database. This intended to be free of charge and that's why I was trying to use this in VFP.
I will take a look at what you mentioned.
Thanks
 

Part and Inventory Search

Sponsor

Back
Top