Monday 16 June 2014

Generate Configuration Plan File For A SOA Composite

There is two ways to generate a plan file from the SOA composite.xml file.

1. Using Jdeveloper:

On the Application Navigator of Jdev right click on the composite.xml file and choose the 'Generate Config Plan' option. It will generate the config plan xml file inside the project folder.




























Now change all the replace tags in config plan file as per the New deployment environment and deploy the SOA process using the Jdev.

2. Using WLST Command

Login to the wlst server using the following commands.
  • Copy the project composite.xml file to any soa server location(/home/oracle) using any ftp software.
  • login as oracle user to the soa server using putty.
  • goto cd /u01/Middleware/Oracle_SOA1/common/bin
  • execute ./wlst.sh
  • connect to the wlst server with username,pwd and host name. connect('weblogic','admin123',"t3://host:7001");
  • Run below command to generate the plan file. The below command generate the config file name as myconfigplan.xml at /home/oracle directory using the composite file /home/oracle/composite.xml.
sca_generatePlan("/home/oracle/myconfigplan.xml",composite="/home/oracle/composite.xml",overwrite=true);

Also Check : WLST Scripting

Happy Coding :)

No comments:

Post a Comment