Describes a Web service routine by providing a URL to a WSDL file.
After the WebDescription action, the routine can be called with the WebCall action.
The Web Services Description Language (WSDL) document contains all the relevant information about the Web Service procedure, including the location of the service and the operations (or methods) the service exposes. Declaring a web services via the WebDescription action or method is considered high-level and easy-to-use. If you wish to declare Web services in a more specific and low-level manner, then use WebDeclare.
It is assumed that when the WebDescription method is used, that the parameters and return arguments are known by the user, because they are in the WSDL file. It is therefore the user's responsibility to pass the right number of arguments and return values of the correct type to the subsequent WebCall method.
If you want to use User-Defined types within a web service, then you must use WebDeclare. WebDescription does not support user-defined types.
If you have access to the web service's WSDL file then you can view details about the web service using Newlook's Web Service description tool.
WSDL - (Required)
Specifies the URL that provides the WSDL that describes the routine to be executed.
Procedure - (Required)
Specifies the name of the routine as it is defined in the WSDL. Also called 'Operation' in Web Service terminology.
Alias - (Optional)
Specifies an alternate name that you can use in the Call action.
The following macro code will call a web service that converts the specified temperature from one temperature unit to another. After calling the web service, the variable varTempFahr is equal to 104. WebDescription (http://www.webservicex.net/ConvertTemperature.asmx?WSDL,
ConvertTemp, ) |
WebDeclare action | WebCall action | WebDescription method | Web Services
© 2004-2021 looksoftware. All rights reserved.