Friday, 13 May 2016

Configuring Delete Operation for Target Web Service


The UID of the user to be deleted will be the input from Oracle Identity Manager to the SOA composite. This input has to be mapped to the Unique Id of the user to be deleted in the target webservice.
  1. First link the InvokeDelete operation to the appropriate partner link for delete operation as shown below. 
 


     2. Specify the partnerlink,operation and the input/output variables for this Invoke activity and 
         click Apply and OK.       




























    3. Drag an Assign activity from the component palette before the Invoke activity.
    4. Edit the Assign activity to map the input variables for the delete operation.
    5. Map the fields in DeleteOp_InputVariable to the corresponding fields in Input variable of the   
       target operation as shown below:














   6. After Configuring the DeleteAssignment activity,save the project.
   7. Compile and Deploy.
   8. Test the operation from the Enterprise Manager.

The response returned from target web service can also be mapped by adding Assign activity after InvokeDelete operation.
    1. So,map the field in InvokeDelete_delete_OutputVariable that contains a response to 
        corresponding field of DeleteOp_OutputVariable.
    2. Save the project.Deploy and test.(See my blog on deployment here)
  

No comments:

Post a Comment