CLR Extender Reference

WebServices Importer

Description »

Imports a WebService Definition Language (WSDL) into an Assembly with types you can use as if they were locals, when actually the method calls are routed to the probably remote WebService.

If you are planning to use WebServices in your app this is your best choice, because the SOAP Toolkit shipped with VFP has been phased out by Microsoft.

This dialog has several controls you use to setup the WebService to import.

URL

The remote location where the WSDL file is located. For .NET Services the WSDL has the same URL as the asmx file with the parameter ?wsdl appended to the URL.

Output File

Where the imported file will be created.

Namespace

The containing namespace to use to wrap all the Services available at the URL. See the NameSpaces discussion for more info.

UserName

If the WebService requires authentication, input here the username to use for the import process. You may have to use this information when invoking the WebService.

Password

The password if authentication is required.

Example »

 

Remarks »

WebServices Importer lets you choose between several protocols and languages for the resulting file. Optionally it allows you to create an Assembly from the imported file, so you can use the functionality automatically, it even allows you to browse the resulting assembly with the Assembly Browser.


Send comments about this topic to eTecnologia.net.