Sunday, December 20, 2015

Using Properties File with Java Code in SOA12c

-------------------------------------------------------------------
This blog post contains few points which I learnt through my experience while working in Oracle SOA 12c Server Setup and Deployments.
-------------------------------------------------------------------- 
I was working on a issue where I have to read properties file called in a Java Code through BPEL component. We copied the file in the code location, but post deployment it is not bee called by Java Class file. Then the best way we found to read the file as a Library present in SCA-INF folder, and this resolved our issue.

So, while calling a properties or any other file to be used by SOA component is to copy in <<Code_Location>>/sca-inf/lib folder.

Note:- This workaround is used when you are not allowed to copy the file at some server location or not allowed to copy it in MDS.

Please help me with your feedback and comments.

Tuesday, December 15, 2015

Import MDS in SOA 12c without using WLST Scripts

-------------------------------------------------------------------
This blog post contains few points which I learnt through my experience while working in Oracle SOA 12c Server Setup and Deployments.
--------------------------------------------------------------------

In this post we will be going over the steps for Importing MDS in SOA 12c without using WLST Commands.

Before going over the Deployment steps, here are few of the Pre-Requisites to perform the deployment and verification.
  1. We should be having Admin access to the server.
  2. We should be having DB Credentials of MDS for verification.
  3. The Files need to be imported should be available.
Using below steps we would be able to import the MDS.
  1. Open JDeveloper 12c, and Create a New SOA Application "MDSApplication".
  2. Create a Projects with Folder structure you want your MDS looks like.
  3. Import the WSDL's and XSD's and Other files which you want in your MDS, in your Project.
  4. Compile your Application and Check for any errors.
  5. Create a New Deployment Profile for your application, and choose the application type of "SOABundle"
  6. Under Files Section, Select the project jar files of your MDSApplication, so it would be imported in MDS.
  7. Now Deploy your MDSApplication and Create a Jar File of the same.
  8. Once Jar is prepared, Login to SOA Em Console
  9. Go To SOA, and Right Click On SOA_INFRA and Go To Administration --> MDS Configuration.
  10. For Import of MDS, choose the option provided by default and Browse the file generated in Step#7, and click Import.
  11. Repeat the Step#9 and #10 for other Managed Servers as well.
This Process will Import your DB Based MDS. For Verification create a SOA-MDS Resource in your JDeveloper IDE and provide the MDS Credentials used during Installation.

I hope this will be helpful. Feedback is always welcome....

B2B Features with OIC

During last couple of months various new features are getting introduced in Oracle Integration Cloud, out of those there is a new feature f...