Friday, January 27, 2017

Integrate Oracle SOA Suite with Docusign


Docusign is a cloud application which provides facility for e signature of documents.

Though with Integration cloud services (ICS)the docusign adapter comes by default and there is direct connection available to connect your application to docusign.

However docusign also provides REST and SOAP api which can be called from your on premise applications to integrate with Oracle SOA Suite.

The related document for the API's can be found in the following link

https://www.docusign.com/developer-center/api-overview#sdk-docusign


In order to call the docusign service from SOA you first need to import the certificates of docusign into the keystore of Oracle SOA Suite.


Make sure you are importing the chain certificates as well in the keystore.

Once you have imported the certificates, you also need to pass on the security credentials to call the dcousign service.

In order to call the docusign service in SOA Composite.

Attach an OWSM policy "oracle/wss_http_token_client_policy" in the reference swimlane of Composite.

Now pass on the username and password in the SOA Composite source for the reference.

Refer to the following link on how to specify the property in the composite

http://oracle-bpel.blogspot.in/2010/06/passing-userid-and-password-credentials.html


Now here one important point is the user name.

When you login to docusign it needs three parameter

Username,Password and integrator key


While passing the Username is SOA it should be passed in following format to call docusign


[IntegratorKey]Username


which mean if your integrator key =abc
and Username = xyz

you will pass following string as password in the above property for USername

[abc]xyz