Importing WSDLs into the Service Descriptors Folder

If you have a web service that you want to invoke, the WSDL defining that service can be imported into the Service Descriptors folder. This is done by right-clicking the Service Descriptors folder of a TIBCO Business Studio project, and selecting Import, then Service Import Wizard. This allows you to import a WSDL file from a number of sources, including a file or a URL.

Once imported, you can view the services defined by the WSDL file, for example:

As part of the importing of the WSDL file, a BOM is generated that contains all the structured data definitions used by the web service. This generated BOM will be created in the Generated Business Objects folder and can be viewed in the same way as the user-defined BOMs above. However, if you attempt to change one of the generated BOMs, a warning is generated:.

TIBCO recommends that you do not change a generated file, as you risk losing changes if the file is regenerated.

In order to call a web service, a service task must be added to a BPM process and the Task Type must be set to Web Service. Then the operation must be selected from the operations that were imported from the WSDL file by clicking the Select button in the Service Task General Properties tab.

Script tasks and user tasks can process business objects created from the structured data imported from the WSDL file in the same way as the structured data defined in the user-defined BOMs. These Business Objects can then be mapped onto the input and output parameters of the Web Service task that is being called.