Thursday, October 13, 2011

Modifying auditLevel in SOA 11g code

It is possible to configure the auditLevel within your SOA 11g code by adding a single line within composite.xml.

By doing so, when the code is deployed, it will assume that auditLevel. This can be overriden manually at any time via the EM console.
<?xml version="1.0" encoding="UTF-8"?>
<composite name="QueryCustomer" applicationName="Test" mode="active" revision="1.0" state="on" xmlns="" xmlns:ui="">
  <import location="http://soadev:8001/soa-infra/Customer.wsdl" namespace="" importType="wsdl"/>
  <import namespace=""
  <service ui:wsdlLocation="QueryCustomer.wsdl" name="QueryCustomer_ep">
    <interface.wsdl interface=""/>
    < port="" location="oramds:/apps/AIAMetaData/wsdl/QueryCustomer.wsdl"/>
  <property name="oracle.composite.faultPolicyFile">oramds:/apps/AIAMetaData/faultPolicies/fault-policies.xml</property>
  <property name="oracle.composite.faultPolicyFile">oramds:/apps/AIAMetaData/faultPolicies/fault-bindings.xml</property>
  <property name="auditLevel" many="false">Inherit</property>
  <component name="QueryCustomer">
    <implementation.mediator src="QueryCustomer.mplan"/>
    <property name="passThroughHeader">true</property>

Valid values for auditLevel include:
  • Inherit
  • Off
  • Production
  • Development


Ahmed Aboulnaga

1 comment:

sabapathy said...


Is it possible to access that composite level "auditLevel" property in BPEL process ?

Because I do want to set composite instance title based on auditLevel set in EM console.