SOA 11g- Error handling of Asynchronous composites

Hi,
We are working on Error Handling framework design for both synchronous, asynchrounous composites of SOA 11g.
Any pointers on the same will be helpfull as how to capture errors occuring during asynchronous services calls.
Thanks,
Sowmya

Thanks Naresh.
Can you help me if the below is possbile.
I have a process which takes an input and splits the inputs into multiple requests to some external system in a flow-N activity. There is an invoke activity with-in the flow N activity. And this invoke is an asynchrnous call. If at runtime we have 5 flows for flow-N, with 5 calls to external system, and out of these 4 are successful and one errors out. Can we have an error handler to just resubmit the failed request to the external system. Once we get the response from the resubmission, we want to continue with merging the output of all 5 and sending it back.
Also, let me know if there will be any issue with the call back operation due to resubmission of the invoke. This is an asynchronous invoke with call back mechanism for response.
Thank you so much.
PK

Similar Messages

  • Soa 11g - error calling SAP adapter

    Hello
    I'm installing a SAP adapter on SOA suite 11g following this tutorial http://download.oracle.com/docs/cd/E15523_01/doc.1111/e17057/bpel_pm.htm#CHDIDHHI
    Using Application Explorer i can connect to SAP server , test services and export wsdls, but when I use this wsdls (Inbound JCA Service) in a simple composite application a got this error :
    Error during deployment: Deployment Failed: [JCABinding] [OlaMundoSAP.Service1/1.0]Unable to complete load due
    Cause: Unable to find suitable outbound binding.
    My composite is very simple, only one Bpel calling a third party adapter, error occurs in deploy time.
    Any suggest guys ?

    Helder,
    in case you still phase this problem, please have a look at the following note and check the prerequisite patches to apply SOA composites:
    Oracle Fusion Middleware Application Adapter Best Practices Guide for Oracle WebLogic Server 11g (Doc ID 1080041.1)
    Patch 9563280 should solve your problem.
    Best Regards
    Thorsten

  • Error Handling in B2B Composites

    Hi B2B Experts,
    I have a composite in which i do a B2B Inbound Operation. I receive a custom PFF protocol Remittance file from one Business Partner. After i get the file, i will be creating receipts for the invoices i get in the file. My file has one header, many details and one trailer. The file has like around 800 details. So, i need to follow the same business logic for all the details may be looping them inside the while activity. So, can one BPEL instance handle like 1000 iterations of the while loop and how should i handle the errors inside the BPEL. Like let's say if something was not processed successfully for any of the detail record. I can write fault policies, keep catch and catchAll's, send emails as required. Please help me with the correct approach.
    Thanks,
    Naresh

    I would suggest you put while activity in a scope and catch expected fault [ say remote fault ] in it
    write your policy to retry the activity in the while in case it fails . you can give retryCount and retryDelay
    in case after all retries your while activity fails and throws a fault then catch this fault in main scope
    Use email activity here to send out notification

  • An error Handling in Asynchronous Proxy to JDBC Scenario?

    Hey,
    In my scenario, we'll send data from erp to third-party database.
    If it occurred an error while saving the data to database, I want to manage that error in ERP.
    Is it possible to make this scenario with asynchronous proxy to JDBC?
    If it was possible, how should do I?
    Thank you,

    Also
    go thru the following thread (Similar problem discussed)
    Re: RFC to JDBC response
    regards
    krishna

  • FTP Chunk Read in SOA 11g Error

    Hi,
    I am working on JDev 11.1.1.4. I am using ftp adapter and i am trying to use chuck read feature. On invoking the web service i am facing the following error.
    Missing class: oracle.tip.adapter.ftp.outbound.ChunkedInteractionSpec Dependent class: oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker
    Loader: sun.misc.Launcher$AppClassLoader@339122741
    Code-Source: /u07/oracle/webcenter/middleware/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/adapter.jar
    Configuration: /u07/oracle/webcenter/middleware/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/adapter.jar
    Pls. find the JCA file content below-
    <adapter-config name="FileSplitChunkReadIn" adapter="FTP Adapter" wsdlLocation="FileSplitChunkReadIn.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/FTP/Hyperion"/>
    <endpoint-interaction portType="ChunkedRead_ptt" operation="ChunkedRead">
    <interaction-spec className="*oracle.tip.adapter.ftp.outbound.ChunkedInteractionSpec*">
    <property name="ChunkSize" value="1"/>
    <property name="DeleteFile" value="false"/>
    <property name="PhysicalDirectory" value="/home/appwct/Hyperion/Read"/>
    <property name="FileName" value="Hyperion_Budget.dat"/>
    <property name="FileType" value="ascii"/>
    <property name="PhysicalArchiveDirectory" value="/home/appwct/Hyperion/Archived"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    Can anyone pls. help me in fixing this issue.
    Thanks
    Sujit

    Hi,
    Below is my .jca file
    <adapter-config name="FTP_SRD_OUT_CSV" adapter="Ftp Adapter" wsdlLocation="FTP_SRD_OUT_CSV.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/Ftp/secure_TextFileImport" adapterRef=""/>
    <endpoint-interaction portType="GetDataImportCSV_ptt" operation="GetDataImportCSV">
    <interaction-spec className="oracle.tip.adapter.ftp.outbound.ChunkedInteractionSpec">
    <property name="PhysicalDirectory" value="/DataImport/IN/"/>
    <property name="PhysicalArchiveDirectory" value="/DataImport/Archive/"/>
    <property name="DeleteFile" value="true"/>
    <property name="FileName" value="dummy.txt"/>
    <property name="ChunkSize" value="1"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    Thanks,

  • Difference between soa Error handling framework 10g & 11g

    Hi,
    Is there any document available which shows the difference between soa Error handling framework 10g & 11g
    Thanks..

    Hi,
    Please find the documentation links here..
    http://wiki.oracle.com/page/Application+Integration+Architecture
    Foundation Pack Product Documentation - Metalink Note 824495.1
    You can refer to the developer guide "E14750-01.pdf" and Chapter 13 for error handling related information.
    Regards,
    Narayana

  • Error while starting SOA 11g

    Hi Gurus,
    I have recently started working on SOA 11g and I tried to install it in my machine.. Everything got installed fine without an error.
    Below are the component versions:
    1. Database : 11.1.0.6.0
    2. RCU Version : 11.1.1.3.3
    3. Weblogic Server : 10.3.2
    4. SOA Suite : 11g
    5. Jdeveloper : 11.1.2.0
    Now that I am trying to start my weblogic I am getting an error saying "
    "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    I tried starting the managed server but it also failed with the error
    <Jan 18, 2011 3:59:46 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Unable to obtain lock on C:\Oracle\Midd
    leware\user_projects\domains\base_domain\servers\SOAServer\tmp\SOAServer.lok. Server may already be running
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
    at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:749)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:488)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:446)
    at weblogic.Server.main(Server.java:67)>
    <Jan 18, 2011 3:59:46 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jan 18, 2011 3:59:46 PM IST> <Error> <WebLogicServer> <BEA-000383> <A criticalservice failed. The server will shut itself down>
    <Jan 18, 2011 3:59:46 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    However, I am able to login into Admin Consle but I am unable to deploy any BPEL Composite on it. Can you please help with your thoughts..???
    Regards,
    Vikas Manchanda
    Edited by: 829347 on Jan 19, 2011 12:00 AM

    Hi ,
    I don't see any entry like this in my SetSOADomainenv. cmd file. Howver I added it as per your suggestion, but still no luck.
    It is still showing up the same error.
    ####<Jan 19, 2011 2:27:37 PM IST> <Warning> <HTTP> <testmac> <SOAServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1295427457094> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Any Pointers..???
    Regards,
    Vikas

  • BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite

    Hi,
    I am just testing one simple SOA Application in SOA 11g Suite. Created a SOA Composite Application with one DB Adapter at designtime all worked fine with DB Adapter. But when I deploy the Application on the server I get the following error:
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ".Do I need to jndi-name in weblogic-ra.xml if so what is the exact location. Any help is appreciated.
    Thanks

    I did but still not able to connect now getting the following error. I went to the Weblogic Console, clicked on deployments, selected DBAdapter, clicked on configuration ,
    and then I don't see outbound configurations instead it shows Outbound Connection Pools, Under Outbound Connection Pools tab I clicked on New and it asked to select Outbound Connection Group I selected the one that was already there (with JNDI eis/DB/SOADemo) and then created my JNDI which was added to the default Outbound Connection Group and in the end it asked to save the Plan.xml which I saved it under a new directory created under soa directory. But still am not able to connect.
    How do I create my own Connection Group as don't want to use the defualt one out there.
    After creating the JNDI Name it asks for saving the Plan.xml file. Where exactly we save this file. Are there any standards.
    Why can't I update any properties when I click on the new JNDI name it takes to Settings for javax.resource.cci.ConnectionFactory --> Outbound Connection Properties but there I see a save buttn but I can't make any changes.
    BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception. Missing Property: [DBManagedConnectionFactory.userName]. You may have set a property (in _db.jca) which requires another property to be set also. Make sure the property is set in the interaction (activation) spec by editing its definition in _db.jca. . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. Is there any documentation that lists all these steps as I couldn't find it anywhere. The guide only talks abou DBAdapter but how to configure etc can't find any info. Any help is appreciated.
    Thanks.

  • Scheduling multiple composites in SOA 11g

    Hi,
    I have scheduled a composite in soa 11g using this link.
    http://www.oracle.com/technetwork/middleware/soasuite/learnmore/soascheduler-186798.pdf
    Now i want an another composite also to be scheduled in the similar fashion. so I would like to use the same web service component i used for ther first one.
    Can I do this ? If not, what is the other option I can do.
    Thanks and Regards,
    Kaavya

    Hi,
    Below link has the solutions. I got the same problem and it worked for me.
    http://ariklalo.com/2013/08/04/wsm-02557-error-when-trying-to-run-a-deployed-process/
    Thanks,

  • T4CConnection Error while creating datasource in SOA 11g

    Hi All,
    i getting the below error while creating the data source with an oracle database in oracle SOA 11g. I trying to create the datasource in the weblogic console page. The error is specifically coming while testing the database connection.
    However, i am able to telnet the database box on this particular port..  Also this used to be a working connection earlier and i am able to create the same datasource from other similar SOA 11g instance...
    the error details are:-
    java.sql.SQLRecoverableException: IO Error: Connection reset
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:428)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:154)
    at utils.dbping.main(dbping.java:204)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at oracle.net.ns.Packet.receive(Packet.java:293)
    at oracle.net.ns.DataPacket.receive(DataPacket.java:104)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:315)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:260)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:185)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:102)
    at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)
    at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1136)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1113)
    at oracle.jdbc.driver.T4C8TTIdty.receive(T4C8TTIdty.java:668)
    at oracle.jdbc.driver.T4C8TTIdty.doRPC(T4C8TTIdty.java:575)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1120)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
    please let me know in case any of you know the fix..

    i also used the weblogic jar to do a db ping..  and it errored out with the above error.  however if i db ping from any other app server it works...  below is the success response from another server and the command used..
    [applmgr@g3te2soa lib]$ java -classpath /u01/app/Middleware/wlserver_10.3/server/lib/weblogic.jar utils.dbping ORACLE_THIN apps appsuat abc1.xyz.net:1525:oru1
    **** Success!!! ****
    You can connect to the database in your app using:
      java.util.Properties props = new java.util.Properties();
      props.put("user", "apps");
      props.put("password", "appsuat");
      java.sql.Driver d =
        Class.forName("oracle.jdbc.OracleDriver").newInstance();
      java.sql.Connection conn =
        Driver.connect("jdbc:oracle:thin:@abc1.xyz.net:1525:oru1", props);
    is it some netwrok issue..  but why is then the telnet working for the same server on this port ????

  • IDOC to SOAP asynchronous scenario Error handling

    Need an expert!!!!!!!!! advise on  error handling for IDOC--PI--
    SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
    Appreciate your help.
    Manish

    Hello Manish,
    My question is how i can do error handling in this scenario.
    Use the standard alert framework. Search on SDN / SAP Help for details.
    do i need to use BPM and if that is tthe case what will be steps.
    BPM is not required to raise alerts, as this is an async call.
    Regards,
    Neetesh

  • Transaction and Error handling in Mediator 11g

    Hi Experts/Gurus/All,
    We have following scenario in Mediators :-
    For Inbound Interfaces :-
    M1-->M2-->M3
    M1 calls M2 and M2 calls M3
    There are 3 mediators, Mediator#1(M1),Mediator#2(M2) and Mediator#3(M3)
    M1 performs a FIle Read and do a ABO-->OAGIS conversion
    M2 performs routing
    M3 performs a OAGIS -->ABO(JDE E1) conversion.
    Now,we are in middle to decide the Fault Handling Mechanism for this case.
    M1 is Asynchronous , M2 is Synchronous and M3 is also Synchronous.
    Question is :
    1. M1 will start a new Transaction,Do M1 will propogate the same transaction to M2 which,as being Synch,propogates the same transaction to M3 ?
    2. How will the commit and Roll back will be taken care of?
    3. What if M1 errors out?
    4. Whatif M2 errors out?
    5. What if M3 errors out?
    In question 3,4 and 5:
    What will happen will the Full Transaction ? If M3 erros out,would the Entire Transaction Propogated by M1 will be roll back?
    Also ,How about Error handling in this case:
    Do I need to create seperate fault-policy.xml and fault-binding.xml for M1,M2 and M3 ?
    Another Scenario is of OUTBOUND interfaces :-
    M1-->M2-->M3
    M1 calls M2 and M2 calls M3
    However , M1,M2 and M3 are all Asynchronous.
    In this scenarios how would I handle following :-
    1. If M2 Errors out,I need the entire Interface which comprises of M1-->M2-->M3 to roll back?
    2. If M3 Errors out,I need the entire Interface which comprises of M1-->M2-->M3 to roll back?
    3. Seperate Transactions means I have to create seperate fault-policy.xml and fault-mapping.xml to handle errors?

    Hi,
    You could create a package, and use the OdiSqlUnload to export the data into a flat file (csv) from snp_check_tab, then amend it. Then create an interface to load the data from the flat file to your tables, either via external tables or SQL Loader.
    Question is, why are you amending data going from source to target? there surely has to be something wrong with the Architecture (especially if you are getting errors in production). If you amend data, so that it is different in source as it is in target, then when it comes to regression testing, this will never match.
    The errors should go be fixed at source, and either you, or the business should have access to do so.
    Cheers
    Bos

  • XML element "userComments" of variable "UserComments" is not defined error while deploying AccountDistribution composite to soa server

    Hi,
    We did deploying AccountDistribution composite to soa server hosted in our test environment but We could not succeed as the following error was thrown on compilation itself in Jdeveloper.
    <snip>
         Error(124): XML element "{http://xmlns.oracle.com/InvoiceSynchronization/AccountDistribution/AccountDistribution}userComments" of variable "UserComments" is not defined
    <snip>
    We have had 4 variables defined with element attribute in our AccountDistribution bpel
    <variable name="UserComments" element="client:userComments"/>
    and for every variable we are coming up with this error on composite deployment.
    We have tried multiple workarounds like deleting SCA-INF of AccountDistribution that is auto generated by Jdeveloper etc but but no luck, we are still coming up with same error.
    We back traced for the element's definition i.e userComments definition and we could find the definition in xsd stored in MDS as per configuration.
    Please provide your advise on how to proceed further on this issue.
    Thanks,
    Satheesh

    Hi Nicolas,
    adf-config.xml is for all the composites present in the project, but we are getting this error in only 1 composite, our other composites are working fine without any error.
    We tried creating a new variable with type element and getting same error.
    Thanks
    Satheesh

  • Query on Fault Handling in SOA 11g

    Hi All,
    I have created a BPEL process which polls a DB table and does a logical delete(updates status column as read). Now I wanted to rollback the update incase of any fault in the BPEL process. I have an email activity and an audit table entry in my catch/catch-all blocks.
    1. If I don’t add any error handling code to BPEL, the transaction (update to DB) is rolled back incase of fault
    2. If I add any error handling code to BPEL, the transaction (update to DB) doesn’t get rolled back incase of fault.
    3. If I add bpelx:rollback in my catch/catch-all blocks, the transaction (update to DB) gets rolled back but I am unable to send email/add audit entries as those get rolled back too.
    4. I created a new datasource which supports local transactions and configured the Auditing to make use of this datasource. Now in this case when bpelx:rollback happens incase of fault, transaction (update to DB) gets rolled back and Audit data is also added (since it’s a separate transaction and not part of the Global transaction). However email activity still doesn’t get sent as it is rolled back as well.
    Please let me know how do I handle this scenario where incase of rollback both Auditing as well as email should work.
    Regards
    Subhankar

    Hi,
    The email activity basically invokes a notification service(partner link/reference). Can we set the below properties at the reference section ?
    <property name="bpel.config.oneWayDeliveryPolicy" many="false" type="xs:string">sync</property>
    <property name="bpel.config.transaction" many="false" type="xs:string">requiresNew</property>
    Or do these properties need to be set at the BPEL process service component section in the composite.xml file only. I tried setting at reference level, however it isnt taking effect. Basically I am trying to have the email activity(notification service) as a separate transaction.
    Thanks
    Subhankar

  • Problem in  setting Composite Instance Index in SOA 11G

    In SOA 11G the setIndex() xpath function is not working . But It was working in 10G.
    If I use this setIndex function in BPEL Java Embedding , in audit trails the function is executed. But If I see the result by querying the DEV_SOAINFRA.COMPOSITE_INSTANCE table INDEX1 column it is empty. No values is inserted into this INDEX columns.
    Can anyone please give a solution to set the composite instance index in SOA 11G ?
    Thanks in Advance

    1. setIndex() Xpath function in SOA 11G is working .
    2. syntax : setIndex(1,'anyValue');
    3. To view the index value for the instance created , query "DEV_SOAINFRA.CI_INDEXES" table.
    Edited by: saba on Dec 6, 2011 6:22 AM

Maybe you are looking for