Business object update on XSD change and BOM export to xsd
Step 1: String( XML data ) to Oracle BPM Business Object ( BO ) Conversion
Method Name :
oraext:parseXML(xmlString)
Example :
oraext:parseXML('<?xml version="1.0" encoding="UTF-8" ?><Adr AdrID="hn" AdrLine1Txt="hnh" AdrLine2Txt="nbnvb" CityNm="nbvnbn" CntyNm="bvnbvn" FlatNum="bvn" FullPstlCd="bnv" HseNm="nvbnbv" HseNum="bnb" xmlns="http://capitalone.com"/>')
Step 2 : Oracle BPM Bussiness Object (BO) to String (XML data )
Method Name :
ora:doTranslateToNative()
Example:
ora:doTranslateToNative(bpmn:getDataObject('xsd_ProcessDataObject'),'xsd/Application_krishna.xsd','Application','STRING')
Usage :
bpmn:getDataObject('xsd_ProcessDataObject') --------------- Process Data Object
'xsd/Application_krishna.xsd' ---------------- Response XSD to validate xml data
'Application' ----------------- Root Element Attribute
'STRING' ----------------- Conversion Format
No comments:
Post a Comment