Showing posts with label ORACLE SOA 12C. Show all posts
Showing posts with label ORACLE SOA 12C. Show all posts

Sunday, 25 September 2016

Oracle 12c New Features

Oracle has released SOA Suite 12c and lots of new features are introduced in this release. Below is list of some of the new features.

Single Installer: Oracle Suite 12c comes as single installer for developers that means you only need to install only one setup (SOA Suite 12c), DB/Weblogic/SOA will get installed, you need to install it separately. Oracle SOA 12c use Java Derby database, which is file based and that makes it really fast.


Single IDE: In Oracle SOA 12c Jdeveloper is used as IDE for all designs. For OSB development we need not to use different IDE (Eclipse) anymore, we can develop OSB application in Jdeveloper itself.

Debugger: This is new feature in Oracle SOA 12c, debugger is introduced to debug SOA and OSB applications. With the help of debugger we can debug our code before deploying it; this saves lot of development efforts. We can also change message text while debugging it.

Graphical MDS: In Oracle SOA 12c graphical tool is provided to publish, search and consume filed from MDS and OER.

SOA Templates: With the introduction of templates sharing of code between teams become earlier and development efforts reduced. There are three types of templates introduced.
  • Project Template
  • Component Template
  • Custom Activity Template

BPEL Sub-process: Sub-process is introduced in this launch which helps to reduce redundancy. Suppose we need to update database table 3 times in one flow so instead of add 3 different invoke to same BPEL, create sub-process which update the database table and use that sub-process 3 times in that BPEL. There are two types of sub-processes.
  • Standalone sub-process
  • Inline sub-process

Re-sequencing in OSB: In 11g this feature was available in Mediator, in Oracle SOA 12c this features added to service bus also, with the help of this feature we able to process the request message in proper sequence.


Adapter: Coherence, LDAP and cloud adapter are introduced in this release.


Xquery Mapper: In this release Xquery mapper is introduced which provide XQuery support.

Enterprise Service Scheduler: ESS is out of box scheduler. By using this we can schedule the services.

Translate Activity Translate activity is also introduced which is used for Native to XML and XML to Native transformation.

MDS support for OSB: In 11g version MDS support was not there for OSB but in 12c MDS support is provided for OSB.







Saturday, 30 April 2016

How To Import SOA Composite Into JDEV



Open Jdev, File --> Import --> SOA Archive into SOA Project
























Provide an appropriate project name




















Import the jar file and finish





















This will import all the project resources from the jar file into your current project





Sunday, 24 April 2016

oracle.fabric.common.FabricInvocationException: Unable to find the WSDL service defined for service name

I was working on an integration with siebel system .When I am trying to invoke their service,

it used throw the below mentioned error :

 <fault>
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part  name="summary">
<summary>oracle.fabric.common.FabricInvocationException: Unable to find the WSDL service defined for service name {http://abcd.com/}CC_spcDC_spcNotifications. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace and service name in the #wsdl.endpoint element. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate any HTTP proxy settings for the server.</summary>
</part>
<part  name="detail">
<detail>Unable to find the WSDL service defined for service name {http://abcd.com}CC_spcDC_spcNotifications. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace and service name in the #wsdl.endpoint element. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate any HTTP proxy settings for the server.</detail>
</part>
<part  name="code">
<code>null</code>
</part>
</remoteFault>
</bpelFault>
</fault>


How To Tackle This Problem :


1) First take out the wsdl file and put in xml spy  or any online validator to check whether structure is of correct format.


2) The wsdl file should have a structure called "service" at bottom like mentioned below.If its missing it throws out  mentioned error intermittently(ideally it should not) :


<service name="Notifications">
      <port binding="tns:spcNotifications" name="C_spcNotifications">
         <soap:address location="http://abcd.com"/>
      </port>
   </service

3) Check with target partner system whether their service is up or running.


4) Most Imp:


This  can be resolved temporarily by bouncing the SOA Server.Issue might come up again if same wsdl is uploaded again.



I have spent nights in resolving this issue....happy programming!! :) 



12c-SOAINFRA database connection in Default domain of SOA12c IntegratedWeblogicServer


Follow the below steps to connect to SOAINFRA database:

1. To connect to weblogic server connection details are required. These connection details can be found from the SOADataSource. For this login to weblogic admin console.


2) After login, click on Data Sources.


3. Open SOADataSource and click on Connection Pool. Copy the connection URL. URL will be like
jdbc:derby://localhost:1527/soainfra;ServerName=localhost;databaseName=soainfra

Description of URL :

  • HostName : localhost
  • Port Number : 1527
  • UserName : soainfra
  • Database Name : soainfra


4)Now open JDeveloper or any other tool to acess the SOAINFRA database.

5) Create a new database connection and and fill details as mentioned in the step 3. Select Connection Type as "Java DB (Derby)".

6) Connection will get created as shown below :













Sunday, 13 September 2015

java.security.AccessControlException: access denied

In Oracle SOA 12c when we deploy composite to default partition or any other partition then we may get below error.

Error:

[09:40:14 PM] Error deploying archive sca_HelloWorld_rev1.0.jar to partition "default" on server DefaultServer [http://localhost:7101]
[09:40:14 PM] HTTP error code returned [500]
[09:40:14 PM] Error message from server:
There was an error deploying the composite on DefaultServer: java.security.AccessControlException: access denied ("oracle.fabric.permission.CompositePermission" "default" "provision"): access denied ("oracle.fabric.permission.CompositePermission" "default" "provision").
- See more at: http://www.soawork.com/2014/07/oracle-fabric-permission-composite.html#sthash.GZEzTwej.dpuf




Cause:

This error occurs when you use JDK 8 to install Oracle SOA 12c in your machine, JDK 8 has some extra security features that causing this issue.

Resolution:


Uninstall your Oracle SOA 12c and re-install with JDK 7 version.



Oracle 12c Soa Suite Installation In Windows

In this blog I will explain you how to install Oracle Soa 12c.It very simple and need less time consuming  as compared to other versions.

Step1 :

Go to google and  search with "Oracle SOA  Suite Downloads"

Step2 :

Pick up the 1st link navigate to oracle website,"Accept license agreements" ,expand "Recommended install process" and start downloading the complete pack "SOA Suite 12.1.3 Size: 2.97 GB, Check Sum: 1579850769"




Step 3:


Once downloaded go to the folder path where its saved in your disk.Next go to command prompt by right clicking 
"RUN AS ADMINISTARTOR" and locate to the path where its actually downloaded.

For example in my case to run the downloaded  exe file its below commands in command prompt :

F:\softwares\12c_downloads> "C:\Program Files\Java\jdk1.7.0_67\bin\java.exe"   -jar  fmw_12.1.3.0.0_soa_quickstart.jar



Note--> You need to provide java/ jdk path as mentioned in bold.





Step 4:

Wait for few seconds it will start installing.Click -> next-> next as suggested to complete the installation



Step5:

Once done open jdeveloper --> Navigate To Run-->Start Server Instance.

Provide details 1st time when you configure like--> host,port,username, password

Click OK,,wait for few minutes your 12c server will get configured.

This is last step once server in running mode you can build applications and deploy to weblogic 12c server.