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


Chapter 15 Service Palette : Context Resource

Context Resource
Shared Configuration
The Context Resource shared configuration resource allows you to specify a schema to hold context data from an incoming request or outgoing replies to a service. This allows you to pass on data, such as the username and password sent by the requesting application, to operation implementations without requiring the implementations to be aware of which transport the request was bound to. Also, you can pass data from the process that implements an operation back to the Service for any outgoing reply message. The Context Resource can also be used to store SOAP headers or message attachments.
For example, your operation implementation may require the user ID of the requestor or the public certificate of the user making the request. Also, you may want to set outgoing reply header values based on data from the process that implements the operation.
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about context separation for Service resources and operation implementations.
Configuration
The Configuration tab has the following fields.
Schema
The Schema tab allows you to define a custom schema to hold the data of the context. You can define your own datatype on this tab, and you can reference an XML schema stored in the project. See Appendix A, Specifying Data Schema for a description of how to define a schema.

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