Add the following libraries from Libraries and Classpath to the class path:

26-80 Modeling and Implementation Guide for Oracle Business Process Management uri=oraclewss10_saml_token_client_policy policy-references identityPropagation soapClient server server name=ERP soapClient rootEndPointURLhttp:sta00147.us.oracle.com:7001rootEndPointURL identityPropagation mode=dynamic type=saml policy-references policy-reference enabled=true category=security uri=oraclewss10_saml_token_client_policy policy-references identityPropagation soapClient remoteClient serverURLt3:sta00147.us.oracle.com:7001serverURL initialContextFactoryweblogic.jndi.WLInitialContextFactory initialContextFactory participateInClientTransactionfalseparticipateInClientTransaction remoteClient server server name=CRM soapClient rootEndPointURLhttp:sta00048.us.oracle.com:7001rootEndPointURL identityPropagation mode=dynamic type=saml policy-references policy-reference enabled=true category=security uri=oraclewss10_saml_token_client_policy policy-references identityPropagation soapClient remoteClient serverURLt3:sta00048.us.oracle.com:7001serverURL initialContextFactoryweblogic.jndi.WLInitialContextFactory initialContextFactory participateInClientTransactionfalseparticipateInClientTransaction remoteClient server workflowServicesClientConfiguration

26.5.5.2 How to Use Task Listing Region Parameters

Task listing region parameters control the display behavior of the embedded region. This section describes these parameters. Display Parameters ■ federatedMode The task list displays in federated mode if this paramater is passed as true. To run the task flow in federated mode, you must pass the list of federated servers to the task flow using one of these options: – Put the client configuration file wf_client_config.xml in the class path APP-INF\classes\wf_client_config.xml at the ear level or the WEB-INF\classes of the web application. The client configuration file contains all federated server details. For more information, see Section 26.5.5.1.2, How to Use the Task Flow in the Federated Mode. Using Approval Management 26-81 – Construct a JAXB object, which contains the federated servers list. This JAXB object can be passed to the task flow through the federatedServers parameter. For information on how to construct the JAXB object, see the details of that parameter. ■ federatedServers This parameter displays a list of servers if the task flow is run in federated mode. Construct a JAXB object WorkflowServicesClientConfigurationType using the code shown below, and then pass it as a parameter to the task flow. Ensure that you set one server as the default, as indicated in bold type in the code. A default server is used when you have many servers defined in wf_client_ config.xml or in the JAXB object. However, the workflow client is preferred for a single server. There are a few legacy APIs that do not take the server name as parameter. To support these APIs, you must define one single server as default server; otherwise these APIs do not work. Example 26–10 Defining a Single Server import oracle.bpel.services.workflow.client.config.IdentityPropagationType; import oracle.bpel.services.workflow.client.config.PolicyReferenceType; import oracle.bpel.services.workflow.client.config.PolicyReferencesType; import oracle.bpel.services.workflow.client.config.RemoteClientType; import oracle.bpel.services.workflow.client.config.ServerType; import oracle.bpel.services.workflow.client.config.SoapClientType; import oracle.bpel.services.workflow.client.config. WorkflowServicesClientConfigurationType; WorkflowServicesClientConfigurationType wscct = new WorkflowServicesClientConfigurationType; ListServerType servers = wscct.getServer; Setting default server in the list ServerType defaultServer= new ServerType; servers.adddefaultServer; defaultServer.setDefaulttrue; defaultServer.setExcludeFromFederatedListtrue; defaultServer.setNamedefault; RemoteClientType rct = new RemoteClientType; rct.setServerURLt3:sta00048.us.oracle.com:7001; rct.setInitialContextFactoryweblogic.jndi.WLInitialContextFactory; rct.setParticipateInClientTransactionfalse; server.setRemoteClientrct; SoapClientType sct = new SoapClientType; PolicyReferencesType prts = new PolicyReferencesType; PolicyReferenceType prt = new PolicyReferenceType; prt.setEnabledtrue; prt.setCategorysecurity; prt.setUrioraclewss10_saml_token_client_policy; prts.getPolicyReference.addprt; IdentityPropagationType ipt = new IdentityPropagationType; ipt.setModedynamic;