共用方式為


Web Services Foundation Class

Category System Utilities
Default Catalog Visual FoxPro Catalog\Foundation Classes\Utilities
Class Various
Base Class Various
Class Library _Webservices.vcx
Parent Class Various
Sample n/a

Remarks

The WebServices class library is a collection of classes that serve as the Visual FoxPro Web Services extensions for Microsoft® SOAP Toolkit 2.0. These classes allow you to register (subscribe) to Web services anywhere on the Internet in compliance with those supported by the Toolkit. Additionally, you can publish your Visual FoxPro COM servers as Web services using these extensions.

The core engine class stored in _WebServices.vcx interfaces directly with the Toolkit as _Webservices. This class contains methods for publishing web services including those which read type library information from your server and those which generate the necessary Web service support files (for example, ASP listener and WSDL service description files). Methods are also available to register an external Web service as an available resource in your IntelliSense typing list.

The WebServices class library contains other support files for working with web services. These are essentially form classes that assist the user in gathering information to register and publish Web services. They work in conjunction with the main _Webservices engine class.

To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class icon on the form. You can specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.

See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.

Properties, Events, Methods Description
Error event  
AddFoxcode method  
AddToProject method  
Alert method  
CheckTLIApp method  
CheckTypeLib method  
GenASP method  
GenWSDL method  
GetClasses method  

See Also

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes