Back Forward Service Package form
Completing the Context tab

About Service Package data instances

Complete the Context tab to indicate whether stateful or stateless processing applies to this package, and to identify an access group for listeners and requestors.

Field

Description

Processing Mode

Select Stateless if the services in this package can be executed by any requestor in of a pool of requestors, without regard to processing that the requestor performed earlier. See More about Service Packages.

Select the default value Stateful otherwise.

Choose this value carefully. Using requestor session pooling may improve performance if a high volume of uniform requests arrive, even when authentication is required. See Concepts — How requestor pooling for services works.

Service Access Group

SmartPromptIdentify an access group for requestors of this service package.

Process Commander uses this access group, even for services that require authentication, to locate the service rule. The service rules and service activities to be executed must be accessible to requestors operating with this access group.

TipEspecially if this service is to execute without authentication, set up an access group that provides only the minimum capabilities to service requestors and reference it here. For example, you can include an access role (Rule-Access-Role-Name rule type) linked to Access of Role to Object rules (Rule-Access-Role-Obj rule type) that limits which classes the service can view or update. Also, review the service activity to ensure that no combination of input parameters allows the activity to perform more than the service needs.

Click the pencil icon (Pencil) to open the access group data instance.

Requires authentication ?

Select if the service request requires authentication. When selected, the system expects Process Commander Operator ID and password values in the arriving request message.

When selected, authentication occurs only for the first request for stateful services that use pooling and don't destroy the requestor. Later service requests that include the Session ID in the request message continue with the same previously authenticated requestor session.

TipIn high-volume production settings, authentication can be costly in terms of computer resources. However, unauthenticated service requestors can access the RuleSets and Versions conveyed by the access group in the Service Access Group field plus those assigned to the requestor type named APP. (Services run as APP requestors.) Depending on security and volume factors, for best performance you can leave the Requires Authentication? box cleared.

The location and name of the Operator ID and password values vary, depending on the service type:

Service Type

Location

COM Username and password are passed in as arguments to the create() method of the COM Home interface.
CORBA The user name and password are passed as arguments.
dotNet The arriving request message must contain a user name and password value either in the HTTP header (using HTTP Basic Authentication), or as header or parameter values of the request envelope.
EJB Username and password are passed in as arguments to the Create() method of the EJB Home interface.
Email Operator ID and password are on the Properties tab of the email listener data instance
JMS Operator ID and password are on the Listener Properties tab of the JMS listener data instance.
MQ Operator ID and password are on the Properties tab of the MQ listener data instance.
SOAP The arriving SOAP request message must contain a user name and password value either in the HTTP header (using HTTP Basic Authentication), or as header or parameter values of the SOAP request envelope.
Suppress Show-HTML?

Select to cause the system to skip over any activity step that calls the Show-HTML method in the service activities that execute through service rules that reference this service package instance.

This feature lets you reuse or share an activity that supports both interactive users and services.

 Integration Viewer

After you save this form, click to view a tree of the components that comprise the package. See About the Integration viewer.

zzz About Service Package data instances