14 Replies Latest reply: Jan 24, 2013 8:22 AM by 843699 RSS

    Unable to invoke AIA Error Handler Extension class

    843699
      Hi,

      I am facing an issue in which the AIA error handler extension class is not getting invoked. Below are the steps I have done for this.

      1. Added the below line in AIAConfigurationProperties.xml in ErrorHandler module.
      <Property name= EH.SALESORDER_EXT.IMPL>com.oracle.TestExtensionHandler</Property>
      2. Created an entry in AIAConsole. Populated the fields as ErorCode = {http://schemas.oracle.com/bpel/extension}remoteFault, System_Id = CCF_01, ProcessName = TestAIAProvABCSImpl, ServiceName = TestAIAProvABCSImpl, Notification_Role = AIAIntegrationAdmin, FYI_Notification_Role = AIAIntegrationAdmin, ErrorType = 'TEST_AIA_EH_EXT', ErrorExtHandler = 'TEST_AIA_O2I_EXT;.
      3. Populated EBMHeader in the AIA Composite as below.

      <EBMHeader>
      <EBMID>2d353735333435323135303434303238</EBMID>
      <EBMName>{http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/PriceList/V2}PriceListEBM</EBMName>
      <EBOName>{http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/PriceList/V2}PriceListEBO</EBOName>
      <CreationDateTime>2013-01-23T11:25:25+05:30</CreationDateTime>
      <VerbCode>Sync</VerbCode>
      <Sender>
      <ID>CCF_01</ID>
      </Sender>
      <Target>
      <ID>CCD_01</ID>
      </Target>
      <BusinessScope>
      <ID>TestAIAProvABCSImpl</ID>
      <InstanceID>TestAIAProvABCSImpl</InstanceID>
      <BusinessScopeTypeCode>BusinessProcess</BusinessScopeTypeCode>
      <EnterpriseServiceName>{http://xmlns.oracle.com/EnterpriseServices/Core/PriceList/V2}PriceListEBSV2</EnterpriseServiceName>
      <EnterpriseServiceOperationName>SyncPriceListList</EnterpriseServiceOperationName>
      </BusinessScope>
      <EBMTracking>
      <SequenceNumber>1</SequenceNumber>
      <ExecutionUnitID>12345</ExecutionUnitID>
      <ExecutionUnitName>TestAIAProvABCSImpl</ExecutionUnitName>
      <ImplementationCode>BPEL</ImplementationCode>
      <ActivityDateTime>2013-01-23T11:25:25+05:30</ActivityDateTime>
      </EBMTracking>
      <FaultNotification>
      <BusinessComponentID>TestAIAProvABCSImpl</BusinessComponentID>
      <ReportingDateTime>2013-01-23T11:25:25+05:30</ReportingDateTime>
      <FaultMessage>
      <Code>{http://schemas.oracle.com/bpel/extension}bindingFault</Code>
      <Text>Some error occurred</Text>
      <Severity>1</Severity>
      </FaultMessage>
      <FaultingService>
      <ID>TestAIAProvABCSImpl</ID>
      <ImplementationCode>BPEL</ImplementationCode>
      <InstanceID>12345</InstanceID>
      </FaultingService>
      </FaultNotification>
      <MessageBatch>
      <ID>12345</ID>
      </MessageBatch>
      </EBMHeader>

      When I test the composite, I could see that CompositeJavaAction is getting invoked from the fault policy, but the custom error handler extension class is not getting invoked. I digged into aia.jar and tried to verify the classes, but I did not find any real issue with the configurations as everything seems to be as per what is required for the classes in aia.jar.

      I have placed the extension class jar file in <MW_HOME>/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1/ and ran ant command.

      Any idea please?

      Thanks,
      - KSH

      Edited by: 840696 on Jan 23, 2013 12:30 AM