By Juergenkress-Oracle on Jun 13, 2015
the holiday season I was working on a service to receive e-mails in BPM
using the UMS-email-adapter. Then process the attachments and the body
and upload them to the Oracle ACM-case the email was meant for.
I won't get in too much detail here, since there are some articles on the use of ACM-API's like the ones of Niall Comminsky.
Unfortunately, until now, there are no WSDL/SOAP or REST services available on the ACM-API's, as they are on the Workflow Task API's. However, it is not so hard to make the API's available as services. The trick is to wrap them up in a set of Java-beans, with one class with methods that do the jobs and create 'request and response beans' for the input parameters of the methods and the response.
A few years ago I wrote an article on using Spring components in SOA Suite 11g. This approach is still perfectly usable for SOA/BPM12c. And gives you a WSDL interface on the API's in near to no time.
There is one remark on the API's, though. That is on the creation of the the ACM Stream Service, or actually the creation of the BPMServiceClientFactory to get the context. In the blog of Niall you'll read that you need to set the following context-properties: Read the complete article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.