|
Contents
Index
|
Simple Web Service Channels
Simple Web Service Channels dynamically generate the user interfaces for interaction with relatively simple web services. Some examples of simple web services might include:
For example, a web service channel might enable the user to interact with a Currency Exchange web service. The Channel will dynamically construct the front end user interface that will allow the user to supply values for the input parameters required by the Currency Exchange web service, and upon submission of the input form, invoke the designated method on the web service subsequently rendering the results received back from the web service.
The simple web service channels are:
The Sample Pre-Configured Web Service Channel is available on the Desktop by default. The Sample Configurable Web Service Channel can be added by the administrator.
Sample Pre-Configured Web Service Channel
The sample pre-configured web service channel provides a sample currency converter service.
To Use the Web Service
To Set the Default Values For the Web Service
Default values are automatically displayed in the currency converter fields. To change these values, do the following:
Sample Configurable Web Service Channel
The Configurable Web Service Channel allows the capability to switch the channel to point to a user specified web service. This is achieved by giving the user the ability to modify values for the WSDL URL and the method name belonging to the web service. However, unlike the pre-configured channel type, the configurable web service channel will not allow the user any facility to store default values for the web service input parameters.
At any given time, a channel based on the Simple Web Service Provider can be bound to a single web service and associated method.
As the name suggests, the Configurable Simple Web Service Channel will only be suited to use with relatively simple web services, for example web services that have non-complex input and output parameters and user interface presentation requirements.
The Simple Web Service Provider will only support simple data types, such as integer, string, double. There will no support for arrays in the input or output parameters.
The only exception to this will be support for user-defined types, that consist of simple types themselves and have only one level of nesting, for example they cannot contain other user-defined types.
The Simple Web Service Provider will support the following WSDL configuration property types:
The Simple Web Service Provider will not support the use of import statements or fault data in the binding operations in the WSDL Definition.
If the Simple Web Service Provider detects that it is not equipped to handle a particular web service, it will display a suitable message to the user.
To Configure the Channel to Point to a Web Service
Contents Index |