Friday, November 02, 2012

OSB kernel:398034 while creating proxy service with dual operations in a wsdl file

Problem:
We had a requirement where i want to have a OSB which has 2 operations, but with same payload.
So started creating a webservice with 2 operation. Just copy pasted operation tag and renamed operation name, then copy pasted wsdl:operation tag with in wsdl:binding tag and renamed. but kept the soapaction tag with same URL.

Then tried to create a proxy service using the custom wsdl service. As soon as i use browse button to locate the wsdl file, iam getting osb kernel:398034 error.

Solution: Inorder to fix that error, you have to change the soap:operation soapAction URL. Change it and then try to browse your port or binding, navigate to Operation tab in eclipse and change the "Selection Algorithm" to SOAPAction Header.

Thanks,
Vijay

Wednesday, September 19, 2012

SCAC-50012 / MDS-01335

Exception: SCAC-50012 / MDS-01335


MDS-01335: namespace "/apps" mapped to metadata-store-usage "mstore-usage_1" but its definition was not found in MDS configuration.

oracle.mds.config.MDSConfigurationException: MDS-01335: namespace "/apps" mapped to metadata-store-usage "mstore-usage_1" but its definition was not found in MDS configuration.

Solution: Include the aia.jar file to the project library, then you can deploy the project.

Wednesday, August 15, 2012

Wednesday, August 08, 2012

How to set ANT_HOME

1. Install ant and JDK to your system.

2. Set ANT_HOME like below.

       Right click on my computer and properties
       Click on Advanced System Properties, you will get System Properties popup window.
       Click on the Environment Variable.
3. Create a new Variable under System Variables.
       Set Name as "ANT_HOME", provide the value. Ex: ANT_HOME=C:\java\ant
4. Create another to set JAVA_HOME under System Variables.
       Set Name as "JAVA_HOME", provide the value. Ex: JAVA_HOME=C:\Program     Files\Java\jdk1.6.0_20
5. Open a new comand prompt and check whether its set or not by checking thir version
       a. To check java -version
       C:\Users\eibm155>java -version
       java version "1.6.0_33"
       Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
       Java HotSpot(TM) Client VM (build 20.8-b03, mixed mode, sharing)
     b. To check ant -version
       C:\Users\eibm155>ant -version
       Apache Ant version 1.8.0RC1 compiled on January 5 2010

Exception: "Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar"

The above exception will surface if the path for jdk is not accessible by the path variable you had set to environment variables.

Tuesday, July 17, 2012

SOA 11g DVM with Qualifier Example

DVM with Qualifier is little different.
Code.dvm

?xml version="1.0" encoding="UTF-8" ?
dvm name="Foods" xmlns=http://xmlns.oracle.com/dvm
description /description
columns
column name="KEY" qualifier="true"/
column name="NAME"/
column name="VALUE"/
/columns
rows
row
cellASIA/cell
cellINDIA/cell
cell91/cell
/row
row
cellASIA/cell
cellSRILANKA/cell
cell044/cell
/row
/rows
/dvm

Function to use in Transformation or in Assign activity is as below
xsl:value-of select='dvm:lookupValue("Foods.dvm","NAME",/client:process/client:input,"VALUE","DEFAULTVALUE","KEY","ASIA")'/

You can find more information in the below URL.
Example:
http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/med_dvm.htm#autoId3

Wednesday, July 04, 2012

Printing output value in EM Console while using Java Embedded in BPEL

When you work with Java Embedded, you wont be able to see the output in console.
To see the output value in the console,  use the below function

addAuditTrailEntry("Status is: " + status);

You can see the output message as below.

Status is: TRUE

Wednesday, June 13, 2012

Root exception is org.omg.CORBA.COMM_FAILURE

When you write weblogic client you may encounter with below exception message.

"Root exception is org.omg.CORBA.COMM_FAILURE"

The above exception will surface when you use wlclient.jar to connect to the server box with t3 protocol.
Workaround is to use the weblogic.jar file to connect to t3 protocol with. This will resolve the issue.

IIOP protocol is used to send bulk data and slow, to connect to IIOP protocol use wlclient.jar , t3 protocol will be light and fast, use weblogic.jar file to connect.