+

Search Tips   |   Advanced Search

 

Propagating work area context over Web services

 

WAS V6.1 introduces the option to propagate work area context on a Web service call. Prior to WebSphere Application Server V6.1, work area context was only propagated over RMI/IIOP calls. The work area APIs have not changed to implement this propagation. You can use the work area APIs as they have in the past and as outlined in the work area documentation. However, by default, work area context is not propagated on a Web service call, enable this option.

 

Procedure

  1. Enable a server to propagate work area context on a Web service call.

    1. Start the console.

    2. Select Servers > Application servers > server > Business Process Services.

      • To enable the work area service, (the UserWorkArea partition) to propagate its context on a Web service call:

        • Select Work area service.

      • To enable an individual partition to propagate its context on a Web service call:

        • Select Work area partition service.

        • Select a partition.

    3. Check the EnableWebServicePropagation field to enable Web service propagation.

    4. Save the new configuration and restart the server to apply the new configuration.

  2. Enable a client to propagate work area context on a Web service call:

    The steps below are for the work area service (the UserWorkArea partition). For user defined partitions the EnableWebServicePropagation property must be set when creating a partition on the client, see The Work area partition manager interface.

    1. Set the property com.ibm.websphere.workarea.EnableWebServicePropagation to true when invoking the launchClient script found in the $WAS_HOME/bin directory. For example, to set this property to true, add the following system properties to the launchClient invocation as needed: -CCDcom.ibm.websphere.workarea.EnableWebServicePropagation=true

    2. Set the property com.ibm.websphere.workarea.EnableWebServicePropagation in a property file that is used by the launchClient script. See Running application clientsfor additional information.



Work area partition service

 

Related tasks


Configure work area partitions

 

Related Reference


The Work area partition manager interface
Example: Using the work area partition manager Work area partition collection Work area partition settings Work area service settings