How to use a web-service
If you want to use an existing web service exposed by some web site then you need to do the following:
- Define an intelligent business object representing the web site exposing the web service with System intelligence type – see the “Defining Intelligent Business Objects” section.
- Define the SOAP channel as the default channel for this object. Specify the URL where the WDSL file describing the web service is exposed as the property of the channel – see the “Setting Properties of SOAP Channel” section (alternatively ask the web service provider for the WSDL file, copy this file to a local file system and specify the URL to this, file, for example:
file://c:/temp/lookup.wsidl
). - Discover services of the business object – see the “Discovering Services” section. The web service you want to use should appear in the list of services exposed by the object.
- Define a rule that will request the service of the business object using the
REQUEST SERVICE
action.