Tuesday, March 12, 2013

# 227 exposing Fusion CRM web services via OSB

Again I am using the SalesLead Service.
The idea is to create a Business service thru which I can create a new Sales Lead.

Step 1 - Create a new OSB project


Step 2 - Import the required XSDs/ WSDL into your OSB project




Step 3 - Create a keystore in the following OSB directory


Step 4 - Add the Fusion CRM cert to this keystore

Step 5 - Configure this keystore as a provider in EM 





Step 6 - Configure CSF-Key in EM 
Here we essentially create a key based on the username / password of our Fusion CRM user.






I created the key - matt-key
















Now that we have done the security setup...

Step 7 - Configure the Business Service WSM policy




Step 8 - Configure the Business Service Security to use matt-key

 Here I set csf-key to matt-key


Step 9 - Test with the following payload


 Step 10 - Validate in Fusion CRM











Step 11 - Create a Proxy Service

 Service Type = Any XML Service

Add the following to the proxy























In this particular example, we don't need to map variables.
We will use the exact same payload as when testing the business service.


All we need to configure is the Routing














Test the proxy

























Validate in CRM
















No comments:

Post a Comment