Payload XML DOM Object Update using Java Embedding
Hi,
I have a Java Embedding activity which updates the payload after making
a call to a local EJB. The EJB sends back updated information. In my Java
Embedding activity i try to update the payload nodes with the new information.
It get's really cumbersome to do this sort of thing in BPEL. Basically i am trying
to remove an existing node in the payload and replace it with a new node.
I did so may things that i really don't remember what are they. Finally i managed to
update the payload with the following code.
org.w3c.dom.Element payload = (org.w3c.dom.Element)getVariableData("inputVariable","payload","/MSG");
org.w3c.dom.Element oldNode = (org.w3c.dom.Element)getVariableData("inputVariable","payload","/MSG/TSLData");
org.collaxa.thirdparty.dom4j.Element tslElem = com.collaxa.cube.xml.dom.DOMFactory.convertToCollaxaElement(oldNode);
oldNode = (org.w3c.dom.Element)getVariableData("inputVariable","payload","/MSG/REC");
payload.removeChild(oldNode);
msgElem = com.collaxa.cube.xml.dom.DOMFactory.convertToCollaxaElement(payload);
msgElem.add(recElem);
I feel that there no proper interface to update the data in the payload values with
nodes, string etc. It would be nice if we don't have to work with
com.collaxa.cube.xml.dom.DOMFactory
org.collaxa.thirdparty.dom4j.Element
the collaxa classes.
We need to have more than setVariableData, bascally good payload manipulation API's.
Let me know if there are any alternatives to do this.
Thanks,
Senthil L
I have been having the same difficulties. Were you able to find any documentation or javadocs for the Collaxa libraries? If so, I would greatly appreciate locating them.
Similar Messages
-
How to use Java Embedding activity, getting error
Below is a simple code where in I am just assigning input variable to output variable(of type long), using java embedding activity, and I am getting error in Java Embedding Activity step.
<bpelx:exec name="Java_Embedding_1" language="java" version="1.4">
<![CDATA[
Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");
String arg1=inputValue1.getNodeValue();
setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg1));]]>
</bpelx:exec>
Runtime Error:
<runtimeFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>java.lang.*NumberFormatException*</code>
</part><part name="summary"><summary>null</summary>
</part><part name="detail"><detail>[Ljava.lang.StackTraceElement;@1c50684</detail>
</part></runtimeFault>
Could anyone please point out the mistake?No, that's not working. Throwing below error.
faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {}
parts: {{summary=<summary>XPath query string returns zero node.
According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node.
Please check the BPEL source at line number "" and verify the &lt;to&gt; part xpath query.
My output varaible is of type long and there i m creating a Long object using it's constructor which takes in a string, Long(String s)
Actually, I m not just priniting the input, but i need to perform some calculations also on the inputs, like
Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");
Element inputValue2 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input2");
long arg1=Long.parseLong(inputValue1.getNodeValue());
long arg2=Long.parseLong(inputValue2.getNodeValue());
long arg3 = arg1+arg2;
setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg3)); -
Nullpointer exception while multiple users reading from XML DOM object
We are getting a null pointer exception when we are trying to read from a Static XML DOM object . We are getting the exception in weblogic 7.1 very rarely but started getting the exception in weblogic 9.2 more frequently. When multiple users are trying to access the Static variable we are getting null pointer exception. I think it is a memory related issue. Making the whole method synchronized is resolving the issue. But that is not the right thing to do. Can any one know what might be the issue here?
I am giving the code and the XML. I have tried to give the latest Xerces parser from the Apache site but got the same exception. Please help me in this regard.
The XML is also provided below along with the code.
package com.test;
import java.beans.BeanInfo;
import java.beans.Introspector;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
//import org.apache.xml.serialize.XMLSerializer;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class ObjectPersistanceXMLParser {
public static volatile Document configXML;
* @param objectName
* @param attributeName
* @return
* @throws Throwable
public static ArrayList getData(String objectName,String attributeName) throws Exception
Node ndDoc = getXMLDoc();
Node ndRoot = ndDoc.getFirstChild();
NodeList ndFirstList = ndRoot.getChildNodes();
BeanInfo bi = Introspector.getBeanInfo(ndFirstList.getClass());
System.out.println("****** "+bi.getBeanDescriptor().getBeanClass().getName());
System.out.println("This is the number of child nodes present:"+ndFirstList.getLength()+":::"+ndFirstList.item(0).getNodeValue());
ArrayList returnResult = null;
String strReturnResult = null;
for(int i=0;i<ndFirstList.getLength();i++)
if(ndFirstList.item(i).getNodeName().equals("ObjectDBMapping"))
NodeList ndObjectList = ndFirstList.item(i).getChildNodes();
for(int j=0;j<ndObjectList.getLength();j++)
if(ndObjectList.item(j).getNodeName().equals("Object"))
if(ndObjectList.item(j).getAttributes().getNamedItem("NAME").getNodeValue().equalsIgnoreCase(objectName))
NodeList ndFieldList = ndObjectList.item(j).getChildNodes();
for(int k=0;k<ndFieldList.getLength();k++)
if(ndFieldList.item(k).getNodeName().equals("field"))
if(ndFieldList.item(k).getAttributes().getNamedItem("NAME").getNodeValue().equalsIgnoreCase(attributeName))
returnResult = new ArrayList();
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("SOURCE_TABLE").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("SOURCE_COLUMN").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("TYPE").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("PERSIST").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("DEFAULT_VALUE").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("PRIMARY_KEY").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("VERSIONABLE").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("PRECISION").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("FOREIGN_KEY").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("PARENT_TABLE").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("PARENT_COLUMN").getNodeValue());
returnResult.add(ndFieldList.item(k).getAttributes().getNamedItem("LEVEL").getNodeValue());
//return returnResult;
if(strReturnResult == null){
System.out.println("This is the current state of dom: ");
//printDom((Document)ndDoc);
if(!attributeName.trim().equalsIgnoreCase("class") &&
!attributeName.trim().equalsIgnoreCase("operationFlag")&&
!attributeName.trim().equalsIgnoreCase("primaryKeyColumnName")&&
!attributeName.trim().equalsIgnoreCase("tableName"))
System.out.println("No DB Mapping found for Object "+objectName+" and attribute "+attributeName);
return returnResult;
* @param objectName
* @param tableName
* @return
* @throws Throwable
public static int getMaxFields(String objectName,String tableName) throws Throwable
Node ndDoc = getXMLDoc();
Node ndRoot = ndDoc.getFirstChild();
NodeList ndFirstList = ndRoot.getChildNodes();
int returnResult = 0;
for(int i=0;i<ndFirstList.getLength();i++)
if(ndFirstList.item(i).getNodeName().equals("ObjectDBMapping"))
NodeList ndObjectList = ndFirstList.item(i).getChildNodes();
for(int j=0;j<ndObjectList.getLength();j++)
if(ndObjectList.item(j).getNodeName().equals("Object"))
if(ndObjectList.item(j).getAttributes().getNamedItem("NAME").getNodeValue().equalsIgnoreCase(objectName))
NodeList ndFieldList = ndObjectList.item(j).getChildNodes();
for(int k=0;k<ndFieldList.getLength();k++)
if(ndFieldList.item(k).getNodeName().equals("field"))
if(ndFieldList.item(k).getAttributes().getNamedItem("SOURCE_TABLE").getNodeValue().equalsIgnoreCase(tableName) &&
ndFieldList.item(k).getAttributes().getNamedItem("PERSIST").getNodeValue().equalsIgnoreCase("Y"))
returnResult++;
return returnResult;
/*This method returns a Document Object of the ObjectConfig.xml file. This method is separated
* out from the calling method to keep an option OPEN in case it is later decided to read XML
* from memory instead of physical location.*/
public static Document getXMLDoc() throws Exception
if(configXML == null)
synchronized (ObjectPersistanceXMLParser.class)
if(configXML == null)
if(System.getProperty("OBJECT-CONFIG-XML") == null){
System.out.println("System Property OBJECT-CONFIG-XML not found");
String filePath = System.getProperty("OBJECT-CONFIG-XML");
System.out.println("Reading CONFIG Xml from file - "+filePath);
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
BeanInfo bi = Introspector.getBeanInfo(docBuilderFactory.getClass());
System.out.println("****** "+bi.getBeanDescriptor().getBeanClass().getName());
try
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
configXML = docBuilder.parse(filePath);
}catch(Throwable t)
int errorCode = 111;
String errorMsg = "Problem in parsing OBJECT-CONFIG-XML file";
System.out.println(errorMsg);
else
System.out.println("Config XML Loaded from memory.....new");
return configXML;
public static void main(String args[]) throws Throwable
/*public synchronized static void printDom(Document doc){
XMLSerializer ser = new XMLSerializer(System.out, null);
try {
ser.serialize(doc);
} catch (Throwable e) {
e.printStackTrace();
System.out.flush();
<?xml version="1.0"?><root>
<ObjectDBMapping>
<Object NAME="com.los.common.entity.LoanTask">
<field NAME="loanTaskId" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="LOAN_TASK_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="Y"
VERSIONABLE="Y" FOREIGN_KEY="N" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="taskId" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="TASK_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="Y" PARENT_TABLE="UWM_TASK_MASTER" PARENT_COLUMN="TASK_ID">
</field>
<field NAME="taskName" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="TASK_NAME" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="taskStatus" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="TASK_STATUS" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="taskCreationDate" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="TASK_CREATION_DATE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="taskClosureDate" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="TASK_CLOSURE_DATE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="taskClosedBy" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="TASK_CLOSED_BY" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="updatedDate" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="UPDATED_DATE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="updatedBy" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="UPDATED_BY" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="createdDate" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="CREATED_DATE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="createdBy" SOURCE_TABLE="UW_LOAN_TASKS"
SOURCE_COLUMN="CREATED_BY" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
</Object>
<Object NAME="com.los.common.entity.LOSUnderwritingRules">
<field NAME="undwRunRuleId" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="UNDW_RUN_RULE_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="Y"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="underwritingRunNo" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="UNDERWRITING_RUN_NO" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="underwritingRunId" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="UNDERWRITING_RUN_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="ruleGroup" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="RULE_GROUP" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="ruleName" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="RULE_NAME" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="messageCode" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="MESSAGE_CODE" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="messageText" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="MESSAGE_TEXT" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="passFail" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="PASS_FAIL" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="overrideAuthorityLevel" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="OVERRIDE_AUTHORITY_LEVEL" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="overrideYN" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="OVERRIDE_Y_N" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="overrideBy" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="OVERRIDE_BY" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="overrideOn" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="OVERRIDE_ON" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="createdBy" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="CREATED_BY" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="updatedBy" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="UPDATED_BY" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="createdDate" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="CREATED_DATE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="updatedDate" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="UPDATED_DATE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="processName" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="PROCESS_NAME" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="overrideReason" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="OVERRIDE_REASON" TYPE="VARCHAR2" LENGTH="1000"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="messageModule" SOURCE_TABLE="UW_UNDERWRITING_RULES"
SOURCE_COLUMN="MESSAGE_MODULE" TYPE="VARCHAR2" LENGTH="30"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
</Object>
<Object NAME="com.los.common.entity.Applicant">
<field NAME="applicantId" SOURCE_TABLE="UW_APPLICANT_MASTER"
SOURCE_COLUMN="APPLICANT_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="Y"
VERSIONABLE="N" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="registrationNumber" SOURCE_TABLE="UW_APPLICANT_MASTER"
SOURCE_COLUMN="REGISTRATION_NUMBER" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="N" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="cifNumber" SOURCE_TABLE="UW_APPLICANT_MASTER"
SOURCE_COLUMN="CIF_NUMBER" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="N" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="customerStatus" SOURCE_TABLE="UW_APPLICANT_MASTER"
SOURCE_COLUMN="CUSTOMER_STATUS" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="N" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="customerType" SOURCE_TABLE="UW_APPLICANT_MASTER"
SOURCE_COLUMN="CUSTOMER_TYPE" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="N" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantLastName" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="APPLICANT_LAST_NAME" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantFirstName" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="APPLICANT_FIRST_NAME" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantMiddleName" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="APPLICANT_MIDDLE_NAME" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantNameSuffix" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="APPLICANT_NAME_SUFFIX" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="nationality" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="NATIONALITY" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="age" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="AGE" TYPE="NUMBER" LENGTH="5"
PRECISION="2" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="dateOfBirth" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="DATE_OF_BIRTH" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="identificationType1" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="IDENTIFICATION_TYPE1" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="identificationType2" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="IDENTIFICATION_TYPE2" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="identificationType" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="IDENTIFICATION_TYPE" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="identificationNumber1" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="IDENTIFICATION_NUMBER1" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="identificationNumber2" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="IDENTIFICATION_NUMBER2" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="identificationNumber" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="IDENTIFICATION_NUMBER" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="guarantorIndicator" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="GUARANTOR_INDICATOR" TYPE="VARCHAR2" LENGTH="50"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="separateCobDisclosureRequir" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="SEPARATE_COB_DISCLOSURE_REQUIR" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="domesticRisk" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="DOMESTIC_RISK" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="crossBorderRisk" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="CROSS_BORDER_RISK" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="title" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="TITLE" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="previousSurname" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="PREVIOUS_SURNAME" TYPE="VARCHAR2" LENGTH="50"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="legalName" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="LEGAL_NAME" TYPE="VARCHAR2" LENGTH="200"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="preferredName" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="PREFERRED_NAME" TYPE="VARCHAR2" LENGTH="50"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="gender" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="GENDER" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="seniorCitizenStatus" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="SENIOR_CITIZEN_STATUS" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="staffIndicator" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="STAFF_INDICATOR" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="warVeteranIndicator" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="WAR_VETERAN_INDICATOR" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="noOfDependants" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="NO_OF_DEPENDANTS" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="maritalStatus" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="MARITAL_STATUS" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="educationStatus" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="EDUCATION_STATUS" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="detApplicantId" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="APPLICANT_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="Y" PARENT_TABLE="UW_APPLICANT_MASTER" PARENT_COLUMN="APPLICANT_ID">
</field>
<field NAME="detApplicantDetailId" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="APPLICANT_DETAIL_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="Y"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="usResidentIndicator" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="US_RESIDENT_INDICATOR" TYPE="VARCHAR2" LENGTH="1"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="employeeNumber" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="EMPLOYEE_NUMBER" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="isdefaulter" SOURCE_TABLE="UW_APPLICANT_DETAILS"
SOURCE_COLUMN="ISDEFAULTER" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="2" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
</Object>
<Object NAME="com.los.common.entity.ApplicantContact">
<field NAME="applicantId" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="APPLICANT_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="Y" PARENT_TABLE="UW_APPLICANT_MASTER" PARENT_COLUMN="APPLICANT_ID">
</field>
<field NAME="contactId" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="CONTACT_ID" TYPE="NUMBER" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="Y"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="addressType" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="ADDRESS_TYPE" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantAddressLine1" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="APPLICANT_ADDRESS_LINE_1" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantAddressLine2" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="APPLICANT_ADDRESS_LINE_2" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantAddressLine3" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="APPLICANT_ADDRESS_LINE_3" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantAddressLine4" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="APPLICANT_ADDRESS_LINE_4" TYPE="VARCHAR2" LENGTH="100"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="residingSince" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="RESIDING_SINCE" TYPE="DATE" LENGTH=""
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="residentialStatus" SOURCE_TABLE="UW_APPLICANT_CONTACT_INFO"
SOURCE_COLUMN="RESIDENTIAL_STATUS" TYPE="VARCHAR2" LENGTH="20"
PRECISION="" PERSIST="Y" LEVEL="1" DEFAULT_VALUE="" PRIMARY_KEY="N"
VERSIONABLE="Y" FOREIGN_KEY="" PARENT_TABLE="" PARENT_COLUMN="">
</field>
<field NAME="applicantEMaCould you please provide the stack trace?
-
Convert XML file into DTD using Java
Hi All,
I want to do convert the xml file into DTD using Java.
I read the DOM package but didnt get clear idea.
Anyone of you have an idea please share the coding with me.
Any suggestions greatly appreciated.
Thanks
VeeraHi All,
I want to do convert the xml file into DTD using Java.
I read the DOM package but didnt get clear idea.
Anyone of you have an idea please share the coding with me.
Any suggestions greatly appreciated.
Thanks
Veera -
How to include Logs/log4j in SOA with out using java embedding activity
Hi,
I have a requirement where I need to log the values of a particular variable and need to store it in a new log file. Is there any way to log the details with out using java embedding activity.
Thanks,You can try this.
http://veejai24.blogspot.co.uk/2008/04/simple-way-to-implement-log4j-in-your.html
Thanks,
Vijay -
Set credential using java embedding activity in SOA11g
Hi,
In SOA 10g in java embedding activity we used to set the creadentials like below
*try {*
getLocator().lookupProcess("bpelprocess_name").getDescriptor().getPartnerLinkBindings().getPartnerLinkBinding("partnerlink_name").setPropertyValue("basicHeaders",inputvar1);
*}catch(Throwable ex) {*
when we try to use the above expression in SOA11g, it doesn't work even after importing mandatory libraries. Pls suggest how to set the security credentials ln SOA11g using Java Embedding.
Thanks,
ABI can call the service from SOAP UI by providing username and password.Where do you provide username and password in SOAPUI?
Service endpoint is like : https://myhost.com/ccx/service/hr...It is a SSL call so you need to configure the trust and identity keystore at Weblogic (SOA) server as well. make sure that you have imported the target server's certificate (along with it's CA if any) in your trust store of weblogic. You may refer-
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13707/identity_trust.htm#i1202182
If it is two way SSL then the target server will also need your server's certificate in it's trust keystore.
Regards,
Anuj -
How to write into file from xml dom Object
Hello,
I try to transform my xml DOM document object into
file. I try the following:
try {
// Prepare the DOM document for writing
DOMSource source = new DOMSource(newDoc);
// Prepare the output file
File file = new File(myHomeRep + "btLom.xml");
StreamResult result = new StreamResult(file);
// Write the DOM document to the file
Transformer xformer = TransformerFactory.newInstance().newTransformer();
xformer.transform(source, result);
} catch (TransformerConfigurationException e) {
} catch (TransformerException e) {
But my file is empty.
I do it with some wel formed xml tree document, thus I am certain
that the xml tree exists.
Could you explane me please what I am doeing wrong,
or is there are some possibility to make from my xml dom object
a file.
In advance much thanks,
JuliaHere's one thing you are doing wrong:} catch (TransformerConfigurationException e) {
} catch (TransformerException e) {
}With this code, if an exception occurs then you are guaranteed to know nothing about it. At the minimum do this:} catch (TransformerConfigurationException e) {
e.printStackTrace();
} catch (TransformerException e) {
e.printStackTrace();
} -
Cannot use Java Embedding in Jdeveloper 11.4
Hi,
I am using Jdeveloper 11.1.1.4.0 . I am using a Java Embedding Activity in my BPEL and when i compile the project, the error which is coming is SCAC 50012. The same is working in 11.1.1.3.0 Jdeveloper Version.
The code i am using in Java Embedding activity is
Logger logger = Logger.getLogger("oracle.soa.Logger");
LogFormatter.configFormatter(logger);
String var1 = ((oracle.xml.parser.v2.XMLElement) getVariableData("inputVariable","payload","/client:process/client:input")).getFirstChild().getNodeValue();
logger.info("Message from Logging level:Info"+var1 );
Please help me with this...
Thanks,
N
Edited by: Naresh on Jul 13, 2011 10:47 AMI got the Java Embedding Activity working...,I used the following imports in my BPEL....
<bpelx:exec import="java.util.logging.Logger"/>
<bpelx:exec import="java.util.logging.Level"/>
<bpelx:exec import="oracle.fabric.logging.LogFormatter"/>
<bpelx:exec import="org.w3c.dom.*"/>
<bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>
<bpelx:exec import="java.util.*"/>
<bpelx:exec import="java.lang.*"/>
<bpelx:exec import="java.math.*"/>
<bpelx:exec import="java.io.*"/>
<bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>
Hope this helps anyone who have been struggling like me before...
Thanks,
N -
Getting Error: SCAC-50012 while using Java Embeding Activity
Hi,
I am using Jdeveloper 11.1.1.4.0 . I am using a Java Embedding Activity in my BPEL and when i compile the project, i got one error------Error: SCAC-50012
The code i am using in Java Embedding activity is
java.lang.String TraceLogMessage = null;
java.lang.Boolean tracelogenabled;
java.lang.String title = (java.lang.String)getVariableData("Title");
java.lang.String instanceID = (java.lang.String)getVariableData("InstanceID");
java.lang.String serviceName = (java.lang.String)getVariableData("ServiceName");
tracelogenabled = oracle.apps.aia.core.eh.logging.AIALogger.isTraceLoggingEnabled("INFO","http://xmlns.oracle.com/ExecuteSalesOrderFulfillmentDeviceUpdateEBF");
setVariableData("TraceLogEnabled", tracelogenabled);
if (tracelogenabled.booleanValue())
TraceLogMessage = "Starting " + serviceName + " Instance: " + instanceID + title; ;
oracle.apps.aia.core.eh.logging.AIALogger.logTraceMessage("INFO", null ,TraceLogMessage);
i have imported the following in bpel but there is no luck........
<bpelx:exec import="java.util.logging.Logger"/>
<bpelx:exec import="java.util.logging.Level"/>
<bpelx:exec import="oracle.fabric.logging.LogFormatter"/>
<bpelx:exec import="org.w3c.dom.*"/>
<bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>
<bpelx:exec import="java.util.*"/>
<bpelx:exec import="java.lang.*"/>
<bpelx:exec import="java.math.*"/>
<bpelx:exec import="java.io.*"/>
<bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>
Please help me with this......
Thanks&Regards,
sumanHi Lara,
Thanks for the responce.......
I checked the scac log file it contains the following code.
---------------------------------------------- scac logfile ----------------------------------------------------
Mar 15, 2012 5:32:18 PM com.collaxa.cube.CubeLogger info
INFO: validating "BPELProcess1.bpel" ...
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:154)
at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:282)
at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:156)
at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:49)
at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
Mar 15, 2012 5:32:23 PM CubeProcessGenerator compile
WARNING: classpath is: D:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;;C:\JDeveloper\mywork\sampleApplication\JavaEmbed\SCA-INF\classes;C:\JDeveloper\mywork\sampleApplication\JavaEmbed\SCA-INF\classes;C:\JDeveloper\mywork\sampleApplication\JavaEmbed\SCA-INF\gen-classes;D:\Oracle\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel1-1-xbeans.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel_coherence_config.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\thirdparty.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpm-analytics.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\wsif-binding.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\monitor-rt-xbean.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\oracle.soa.bpmn.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\user-patch.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.thirdparty.jar;D:\Oracle\Middleware\jdeveloper\uddi\lib\oracle.soa.uddi.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\bpm-infra.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-scheduler.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\xmlunit-1.1.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-xpath-exts.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.wls.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-was.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-wls.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\classes;D:\Oracle\Middleware\oracle_common\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar
Please help me how can i solve this issue.
Thanks&Regards,
Suman -
Using Java Embedding Unzip Code and a Trigger File in a BPEL Process
Hello,
Thanks in advance to anyone that contributes with any insight. It is much appreciated. Having said that I will get to the crux of my problem.
I am currently using Oracle 11g. I have created a SOA composite application that incorporates BPEL and Java. I have the code needed to unzip and extract compressed folders. However, when this was first built out using BPEL it automatically created a web service in the "exposed service" lane and not a file adapter which I believe is needed in order to trigger the process via a start.txt file for example. Based on what I know ... this web service automatically connecting to the BPEL process was simply due to the order of operations, etc. So by creating a 'read' file adapter first and then creating the BPEL process and selecting the template "Define Service Later", it does not automatcially connect the web service to the BPEL process and it will allow me to connect a file adapter to this BPEL process instead ... great. When opening up the BPEL file I then connect a recieve component to this file adapter and configure appropriately.
Essentially, my objective in setting up a trigger to start this unzip process is due to the BPEL process before that outputs or writes the .zip folder to the same directory that I want to poll and/or trigger via a start.txt file. I can get this process to work with a webservice connecting to the BPEL process and by using a Java Embedded in BPEL file, which in turns calls the package/ class that has the java code needed to unzip.
For some reason whenever I try to use a file adapter instead of the native web service that gets created (as mentioned above) it doesn't work. It seems to build or compile just fine however, I am getting errors when I try to deploy.
Note: The Java code contains all the paths where the zip file is to be taken from and extracted to. So because this is in the code I don't need the file adapter to handle this. I just want to use the file adapter so that I can trigger the process via start.txt or something of that nature.
Thanks to anyone that has any suggestions.
Kind Regards,
Kevin
Errors when attempting to deploy are as follows:
[04:12:54 PM] Error deploying archive sca_Job2_UnZip_rev1.0.jar to partition "default" on server soa_server1 [http://WN017A.homedepot.com:8001]
[04:12:54 PM] HTTP error code returned [500]
[04:12:54 PM] Error message from server:
There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: Job2_UnZip: ORABPEL-05250
Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file "H:\Oracle\Middleware\user_projects\domains\Dev_Acorde\servers\soa_server1\dc\soa_d78eb301-314c-422a-a748-bcfe7d0906e8"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of BPELProcess1
This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
[04:12:54 PM] Check server log for more details.
[04:12:54 PM] Error deploying archive sca_Job2_UnZip_rev1.0.jar to partition "default" on server soa_server1 [http://WN017A.homedepot.com:8001]
[04:12:54 PM] #### Deployment incomplete. ####
[04:12:54 PM] Error deploying archive file:/C:/JDeveloper/mywork/Job2_UnZip/Job2_UnZip/deploy/sca_Job2_UnZip_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)Just wanted to provide a screenshot of the BPEL file as supporting documentation to better illustrate my issue.
Thanks so much,
Kevin -
Getting error while calling external Jars in BPEL by using Java embedding activity in soa 12c
Hi,
I am trying to use an external Jars for the business logic implementation. Here I need to pass XML as input and
and I expect the "Password " field has to be return.
Following are the steps I have followed:
1) Created a java project with sample class and added the external jars into the project "Libraries &Classpath".
2) Created a jar file out of it.
3) Created a BPEL project with Java Embedding.
4)Wrote the java code in java embedding activity.
4) Added the above created jar file to the BPEL project's lib/jar and added in SCA-INF/lib project folder as well.
5) Imported the package with the class as in the jar (e.g <bpelx:exec
import="pkg.testInterface"/>)
6) Deploy the BPEL project.
while deploying the SOA build is sucessful but my depoyment is incomplete.
error:
advices will be great....
Regards,
DilipHi,
Can you confirm if the BPEL Version is 1.1 or 2.0.
If you are using BPEL 2.0 you need to import the required jar/class file as:
<import importtype="http://schemas.oracle.com/bpel/extension/java" location="pkg.testInterface"/>
For BPEL 1.1 the syntax to import other jar/class file is:
<bpelx:exec import="pkg.testInterface"/>
If you import the classes in the correct format you will not face any deployment error. -
XML DOM getDocumentElement() working in Java, not in Tomcat
This is a really strange one (to me anyway) !
We have some XML parsing classes tested in Eclipse that run just fine as Java code. When we try to use them in Tomcat, though, we get an error with getDocumentElement() - it always truncates at the beginning of the XML. This is the XML string we are using for testing in Eclipse:
"<rft><pollcfg><tmo>200</tmo><retry>5</retry>"
+ "<mapping>"
+ "<name>Simulation</name>"
+ "<subnet>0</subnet>"
+ "<comm>com8</comm>"
+ "</mapping>"
+ "<comm>com11</comm>"
+ "<comm>com12</comm>"
+ "<subnet>1</subnet>"
+ "<subnet>2</subnet>"
+ "<subnet>3</subnet>"
+ "<subnet>4</subnet>"
+ "</rft>";
And we load this string into a DOM as follows
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setValidating(false);
dbf.setNamespaceAware(true);
dbf.setIgnoringElementContentWhitespace(true);
DocumentBuilder builder = dbf.newDocumentBuilder();
ByteArrayInputStream bais = new ByteArrayInputStream(XMLRetrievedData.getBytes());
doc = builder.parse(bais);
ANd then we can say :
System.out.println( "getDocumentElement() was " + doc.getDocumentElement() );
and we get the XML.
If we run this in Tomcat the line
System.out.println( "getDocumentElement() was " + doc.getDocumentElement() );
produces
[rft: null]
instead of the XML we get when we run the same code in Eclipse !!
We want to parse the DOM, delete some elements and add some new elements. Then we want to return the altered DOM as a String .. for whatever client needs it.
Any ideas about this ? What could be wrong ?
Thanks !!Hi there,
I've got the same problem, except it doesn't even work as a Java application... getDocumentElement() always returns null... any idea?
I checked the classpath and tried several versions of Document/Element, but without success.
Regards,
Laurent. -
Trying to invoke a Java class from BPEL Proces using Java Embedding
Hi All,
I have a requirement to invoke a Java class from the BPEL process;
I am trying to import the class by "* <bpelx:exec import="+package_name.classname+"/>*.
But, while compiling, I get the following error:
"Error(19,57): Failed to compile bpel generated classes. failure to compile the generated BPEL classes for BPEL process "BPEL_PROCESS_NAME" of composite "default/COMPOSITE_NAME!1.0"
The class path setting is incorrect. Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version."
Referred the scac.log:
SAXParseException in file +project_path+\composite.xml
org.xml.sax.SAXParseException: <Line 29, Column 32>: XML-24535: (Error) Attribute 'http://www.w3.org/XML/1998/namespace:id' not expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:318)
at oracle.soa.scac.ValidationFaultUtil.validateStreamWithSchema(ValidationFaultUtil.java:146)
at oracle.soa.scac.ValidationFaultUtil.validateCompositeWithSchema(ValidationFaultUtil.java:120)
at oracle.soa.scac.ValidateComposite.validateWithSchema(ValidateComposite.java:1480)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:519)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:223)
May 19, 2010 6:46:29 PM com.collaxa.cube.CubeLogger info
INFO: LibClasspath=E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\commonj.sdo_2.1.0.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\./classes
May 19, 2010 6:46:37 PM com.collaxa.cube.CubeLogger info
INFO: validating "RHMEDIInboundProcess.bpel" ...
May 19, 2010 6:46:37 PM com.collaxa.cube.CubeLogger warn
WARNING: CubeProcessor.compileGeneratedClasses() classpath is: E:\Softwares\OracleFMW\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;E:\Softwares\OracleFMW\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\JDeveloper\mywork\InboundEDI_RnD\parseInboundEDIXML\classes\com\onerheem\integration\EDIInboundProcess\parseInboundEDIXML.jar;;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\classes;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\classes;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\gen-classes;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\commonj.sdo_2.1.0.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\./classes
Any suggestions to rectify the same?Hi,
I wud suggest you to make a jar of ur java class and include it in the project libraries of BPEL and make use of java embedded activity this way it works.
have a luk at below link:
http://niallcblogs.blogspot.com/search/label/embedded%20Java -
How to convert xml file to xsl using java
Hi all,
I have an XML file with which i need to convert(transform) it to an xsl file using java.
I am new to converting xml file to xslt.Please send me if u have code .
Thanks in advance
regards
RamYou seem to be asking the wrong question. An XSL file can be used to transform an XML file, but transforming an XML into an XSL does not make sense. The API for running XSL transforms on the Java platform is described here:
http://java.sun.com/javase/6/docs/api/javax/xml/transform/package-summary.html -
How to display a BPEL variable using Java Embedding
Hi, hope someone can help, I'm sure this is something very simple but for the life of me can't seem to find it through the tutorials including the Dev guide.
Question
=======
How can I display user defined and BPEL variables in the process activity "Java Embedding" ?
ex: System.out.println(bpws:getVariableData("myDatabaseParameterVariable")
This example doesn't work but this is basically what I am trying to achieve.
I would appreciate any help with this.
RookieActually that's all the code I have.... System.out.println(myDatabaseArg);
myDatabaseArg is a simple parameter defined in the database adapter configuration wizard which is used as a criteria to retrieve data.
Just before I invoke the Read I use the Java Embedding to display the content of the parameter.
Maybe you are looking for
-
After scanning my document and converting to Microsoft Word the size of characters are different
After scanning my document and converting to Microsoft Word the size of characters are different and things like puntuation are distorted. How do I get the uniformity like the original?
-
IDisk has information not visible in iWeb
When I go to my Web Gallery to view, download, or upload, there is no problem. When I browse my site, or friends to, there is also no problem(by site I mean http://web.mac.com/[AppleID]). Normally, all information, if hosted with .Mac, made with iWeb
-
What are the default settings for ethernet, shows connected but no internet
What are the default settings for ethernet ? shows connected but no internet via ethernet. It used to work fine but I think i have changed something getting my airport to work. Now i only get internet via wifi. Thanks in advance
-
Connect Elitedesk 600GI to projector through displayPort
I have a HP Elitedesk 600GI which has DisplayPort and VGA. I would like to connect to a projector which has both HDMI and VGA. I would like to free the VGA cable for any other computer that might need to project through the same projector while i con
-
the music keys next, prev and play/pause not working in lock screen. I have already reset my iphone twise. reset all settings also. It worked for 2 days and today morning also the same issue. WHich is really annoying. iOS 6.1.4 never had such kinda i