Tuesday 3 January 2017

Deployment of SOA Composite between environments using Token Configuration

1. Create a sample hello world composite and deploy it on Web Logic server.

2. Create a composite and invoke the deployed hello world service. Make sure the server is up and running while invocation of this service.

       3. Creating Token Configuration from Jdeveloper.

      

     Or browse the below token configuration file.
     
     

      

     We can see the URL being replaced by tokens in composite.xml file

     

     Before deploying make sure that the corresponding values for this token should be specified in em 
     console or token configuration file should be imported.

     Login to em console rt click soa-infra à SOA Administration à Token Configuration
      
     

    If we have a configuration file use Bulk Append Tokens

    

    

    or else use Modify Configuration File. Create or Modify the values from here.

    

    If some changes happened in the endpoints in our composites no need of deploying it just we

    need to change the token configuration from em console.

    Advantages:

    1.       Allows compiled composites to be deployed to environments without the need to rebuild.
    
    2.       Single token file per environment rather than per project.

    Disadvantages:

    1.       Requires SOA server restart for each addition, modification or deletion of a token.
    
    2.       Token file exists in both local file and on server which may lead to synchronization issues.


Thank You!!!!


Happy Learning!!!!

No comments:

Post a Comment