My Oracle Support Banner

How To Create A Custom Policy Based On "oracle/wss10_x509_token_with_message_protection_service_policy" And Apply It To A BPEL Composite That Calls A Simple WebService In Another Domain? Then Create A Pair Of New Policies (Doc ID 1535635.1)

Last updated on JANUARY 16, 2020

Applies to:

Oracle Web Services Manager - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Goal

This document is intended to provide just a sample on how to make a setup and implementing a BPEL Compisite to call a web service in a different domain.
Then secure the Composite and Web Service using a policy created based on the "oracle/wss10_x509_token_with_message_protection_service_policy" policy and changing the configuration of it to only sign the header and not encryption.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Generation of the certificates used for the configuration
 CA Generation
 

Server Certificates
 

Client Generation
 
Create the Web Service for testing
 

Create a Composite that calls the web service deployed on the SOA Domain
 
Configure Security Provider on EM for the SOA Domain
 
Configure Credentials for the SOA Domain
 
Configure Security Provider on EM for the SOA Domain
 
Configure Credentials for the SOA Domain
 
Attach the "oracle/wss10_x509_token_with_message_protection_service_policy" policy to the HelloService in SOA Domain
 
Attach the "oracle/wss10_x509_token_with_message_protection_client_policy" policy to the HelloServiceCall composite in SOA Domain
 
Add a new user to the real in the SOA Domain names webservice
 Test the BPEL composite calling the HelloService web service
 Create a new set of policies based on the ones used for the testing
 
For the Web Service Domain
 For the Client domain
      
Attach these new policies to the web service and to the BPEL client (accordingly) and test the call from the BPEL
 
Attach the new service policy to the Web Service
 
Attach the new client policy to the BPEL process
 
Testing the BPEL Process with the new set of policies


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.