March 5 2013

As discussed in my previous post, another common type of integration between Oracle BPM and Oracle Service Bus is exposing BPM processes as web services.  In the diagram below you can see the highlighted path that is taken in this case. 

Oracle BPM Process Web Services

Oracle BPM provides a feature to expose any process as a web service without any code.  You can simply right click on a process and select Process Web Service.  Once on the process web service page you can add multiple web services for this process of the following types:

  • Process Creation - This will create an instance of the process and return the instance id of the created process instance.
  • Process Execution - This will attempt to execute the processes as a synchronous web service.  This should only be used with processes that are all automatic activities or else the web service call will time out while waiting at an interactive activity.
  • Process Notification - This will allow you to expose a notification wait from your process.

With any of these web services will expose the relevant argument sets, including primitive types, BPM Objects and XML Objects.  You should be using Doc/Literal style for all web services because RPC/Encoded is now deprecated.  For security you also have the three following options:

  • None - If you choose this there will also be an authentication method on the service exposed, that will return a token needed for subsequent calls.  This is not the recommended approach as it will require 2 service calls for each call you want to make. 
  • Username Token Profile - This is the recommended approach for security on process web services.  This will add a WS-Security policy to the exposed web service.
  • HTTP Basic Authentication - This will use HTTP Basic Authentication to authenticate with a plain text user and password.

 

Oracle Service Bus Security

test

 

Exposing a Synchronous Process with Pass Through Security

test

 

Exposing an Asynchronous Process with Static Security

 

test

Recommendations


test

About the Author

Adam Desjardin

Adam DesJardin is the Chief Technology Officer for AVIO Consulting.  Adam focuses on technical strategy, standards and delivery both within AVIO and for our customers.  Prior to joining AVIO in 2007, Adam held various consulting and architecture positions at Fuego and BEA Systems where he developed and delivered process and service driven solutions.

Join the Conversation

Enter your first name. It will only be used to display with your comment.
Enter your email. This will be used to validate you as a real user but will NOT be displayed with the comment.
By submitting this form, you accept the Mollom privacy policy.