Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

BPEL Deployment Configurations

How to enable specific transports when deploying BPEL 

Enabling specific transports can be done by introducing service.xml to the BPEL file. You can configure the required transport by defining it in service.xml as shown below.

...

Code Block
<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:tns="http://wso2.org/bps/samples/CustomerInfo"> 
           <process name="tns:CustomerInfo"> 
           		<in-memory>true</in-memory> 
           		<active>true</active> 
               	<provide partnerLink="CustomerInfoPL"> 
                   <service name="tns:CustomerInfoService" port="CustomerInfoPort"> 
                      <endpoint xmlns="http://wso2.org/bps/bpel/endpoint/config" serviceDescriptionReference="services.xml"/> 
                   </service> 
               </provide> 
          </process> 
</deploy>

How to remove older versions of the BPS process which are no longer required? 

To get rid of the older versions of the process, the best option is to un-deploy the older version before deploying the new version. That way you can keep only the current version you are developing.  

 

 

...

BPS Transports 

How can I invoke a business process through JMS or talk to a partner service using JMS?

...

This article (http://wso2.com/library/articles/2012/01/configuring-jms-transport-in-wso2-business-process-server-bps)  describes how you can use JMS transport in BPS 

...

Human Tasks

Can we assign potential owner as direct user id instead of role/group in human tasks?

...

Humantask implementation is based on OASIS WS-Humantask and Bpel4People specifications. According to that people assignment is always a list of users or a list of unresolved groups of people [1] [2].
You cannot assign a user, instead you have to create a particular role/group and assign the user to that role/group.

[1] http://docs.oasis-open.org/bpel4people/bpel4people-1.1.html [3.2 Assigning People] 

Assigning People can be done in different ways.
(I)Via logical people groups (“Using Logical People Groups)
(II)Via literals
(III)Via expressions

[2] http://docs.oasis-open.org/bpel4people/ws-humantask-1.1-spec-cs-01.html

...