Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 15 Service Palette : Service

Service
Shared Configuration
A Service shared configuration resource describes an interface and its associated operations. The also specifies a set of endpoint bindings that expose the service to potential clients over specific transports.
Before creating a Service resource, you will need to create the following resources:
To define a Service resource, follow this general procedure:
1.
Provide an abstract WSDL file (see WSDL) that describes the interface to the service.
2.
3.
4.
5.
6.
7.
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about services.
Configuration
The Configuration tab has the following fields.
Note: Select this check box only if you want to expose your Service to the ActiveMatrix world.
Note: You can drag and drop a process definition from the project tree to the operation implementation cell. If the signature of the operation matches the process definition, the process be inserted. If the process definition or the WSDL changes, the icon for the process definition in the cell changes to a warning triangle indicating the operation and implementation signatures no longer match.
Note: If you are using TIBCO Enterprise Message Service as your JMS provider, you can use the Browse button next to this field after specifying a valid connection in the JMS Connection field. The Browse button displays a list of configured destinations in the JMS server that are appropriate for this activity.
Note: If Target Service is configured, the value is reflected in the WSDL as a query parameter.
Note — In the TIBCO ActiveMatrix BusinessWorks 5.10 release, a change occurs in the behavior of this feature. Now only the messages that are not confirmed, are redelivered.
See SOAP Specification Compliance for more information.
Advanced SOAP Settings
For each operation, you can specify advanced configuration options. To access the advanced configuration options, perform the following:
1.
2.
3.
4.
Click the Advanced button next to the operation name.
The Advanced SOAP Settings dialog appears. The following sections describe the tabs on this dialog.
Input Attachments
See Messages With Attachments for more information about message attachments.
The Input Attachments tab has the following fields.
Input Headers
The Input Headers tab allows you to specify a SOAP message parts used for any SOAP headers expected in the incoming request. The specified input headers are also included in the concrete bindings in the generated WSDL file.
Use the +, X, and arrow keys to add, delete and move the input header messages in the list.
The Input Headers tab has the following fields.
Output Attachments
See Messages With Attachments for more information about message attachments.
The Output Attachments tab has the following fields.
Output Headers
The Output Headers tab allows you to specify a SOAP message parts used for any SOAP headers expected in the outgoing reply. The specified output headers are also included in the concrete bindings in the generated WSDL file.
Use the +, X, and arrow keys to add, delete and move the input header messages in the list.
The Output Headers tab has the following fields.
Fault Headers
This Fault Headers tab enables the user to configure headers for declared faults. With this you will be able to configure different schemas to be mapped to the headers for different Fault messages.
This Fault Headers tab has the following fields.
Input Context
The Input Context tab allows you to specify a Context Resource that contains transport-specific data. The data you provide to the context resource is available to the process definition that implements the operation.
The Input Context tab has the following fields.
The Context Resource that specifies the schema you want to use. The schema of this resource should include elements for each data element from the transport information you want to provide to a process definition that implements the operation.
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
When the Expose Security Context field is checked, the following schema is available in the Mapping Panel field.
Output Context
The Output Context tab allows you to specify a Context Resource that contains data the process definition implementing the operation has provided. The data can then be mapped to Headers of the output message returned to the client.
The Output Context tab has the following fields.
The Context Resource that specifies the schema you want to use. The schema of this resource should include elements for each data element you want to provide to the output Headers for the message.
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
Fault Context
The Fault Context tab allows you to select a fault context resource that is set with SOAP fault attributes. The data can then be mapped to Fault Elements of the Fault message returned to the client.
The Fault Context tab has the following fields.
 
Partner Binding
The Partner Binding tab allows you to bind partners invoked by all operations in a service on the Partner Binding tab of the Service. Only partners that require binding appear on this tab. The Partner Binding tab has the following fields:
Partner Name - name of the partner as specified in the Process Definition.
Process - The process in which the partner is declared.
PortType Namespace - is a non-editable field displaying the PortType Namespace corresponding to the Port Type selected.
Partner Link - the partner link configuration for the partner. This field can optionally be specified by double-clicking on the field and browsing the list of available partner link resources in the project.
WSDL Source
The WSDL Source tab displays the concrete WSDL interface file that is generated based on the information specified on the Configuration tab of this resource. This tab has the following fields.
http://<host>:<port>/<serviceURI>?wsdl
where <serviceURI> is the value in this field.
Note: The Target Namespace of the service should be an abstract WSDL if embedding Interface or Types.
Note: To use Abstract WSDL in the Partners tab of the Client Process Definition containing Invoke Partner activity, uncheck Interface.
Overview
The Overview tab provides a tree view of the service that you can expand and collapse to view the exposed endpoints and operations for the service.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved