Make a BPEL instance recoverable from a BPEL fault hanler?

Hi
Does anybody know of a way to make a BPEL instance recoverable from a BPEL catch fault handler, e.g. using Java to programatically instruct the service engine to do the same thing as when using the fault management framework and fault policies to perform a human-intervention action?
A scenario where this would be very useful is when you have a transformation that fails, e.g. due to missing values in a DVM or XREF. Then, instead of having to do a resend from the source system, you would solve the issue in the affected DVM or XREF and then recover the instance.
Regards
Lars

Hi,
I don't know of an expiclit way of achieving this directly from within a BPEL Fault handler (e.g. Java API Calls). However an approach i have used is to be a little creative with the use of additional components. You could either place the xForm in a spearate component. Thay way be invoking from the parent component the invoke will receive the fault. Hence your fault framework and fault policies can configure the appropraite actions beacuse the fault occurs on an invoke. Another approach is if you did not want to move the transform is to call a spearate component that just throws a fault. This would have a similar approach as the invoke would receive the fault.
Regards Dave

Similar Messages

  • How to get child process instance id from main process

    Hi All,
    I have a main process invoiking a child process 1 and child process 1 inturn calling child process 2.Is there any way to get the child process 2 instance id from main process or main process instance id from child process 2.. Using tree finder in BPEL Control i can find the direct sub process(child 1) instance id from the main process instance. Is it possible to trace Sub process 2 instance id without going for the instance detail of sub process 1.
    Thanks in advance
    ChitraDevi

    you could easily derive this from the bpel cube_instance table. using cikey and parent_id columns. you can use IInstanceMetaData javadoc, it has method called getParentId( ) to get the id. you can get the root id (instance-id of the main bpel process instance) using getRootId( ). you can checkout this blog.
    http://tech-sash.blogspot.com/2008/04/oracle-soa-suite-retrieving-process.html

  • Weird error when clicking on instance- flow from the console

    When I have heavy volume coming in for the bpel server(ex: hundreds of instances generated at a time), I see the following weird error when I am trying to see the instance flow from console:
    Process state off. The process class "BugBAM" (revision "v2004_12_20__61032" ) has not been turned on. No operations on the process or any instances belonging to the process may be performed if the process is off. Please consult your administrator if this process has been turned off inadvertently.
    I didn't do anything to the process to turn the state off. What does this error message mean?
    Thanks, Jenny

    I am assuming that you are using 10.1.2 beta 1. Is that correct? I am wondering if in that version there is a switch that turns a process off when a new version of the process is deployed (this would be a bug because the active process should only be switched to retired).
    Next time you get this error, could you please go to the BPEL Console and check the state of the BPEL process.
    We will try to trace the error message in the source code and try to determine if there are other circumpstances which would generate the same error code.
    Edwin

  • BPEL Fault

    Somebody could help me with that error.
    I deploy a process that use 1 WSDL Document(BinesAsignadosWSDL.wsdl), when i try to create a process instance the follow error is thrown
    BPEL Fault: {http://schemas.oracle.com/bpel/extension}remoteFault{code=HTTP, summary=(404)Not Found, detail=return code:  404
    Error 404: Archivo no encontrado: services/BinesAsignadosWSDL

    Hi',
    1.) Include these 3 elements in your output variable XSD, assign the faultcode,faultstring and detail
    2.) put a catch all on your BPEL process
    3.) inside the catch all put a assign activity
    4.) Inside the assign expression use ora:getFaultAsString() this will get you the error log
    5.) map this function to a variable "FaultVariable"
    6.) extract the various details using string functions
    7.) Pass the details from FaultVariable to the output variables "faultcode,faultstring and detail "
    -Yatan

  • BPEL fault policy takes more time, when rethrowing

    Hi All,
    I have a scenario where BPEL fault policy is taking more time to re-throw the fault back to BPEL
    Scenario:
    1) Partner link service throws as business exception
    2) This exception is first caught by BPEL fault policy, this in-turn will invoke "oracle.apps.aia.core.eh.BPELJavaAction" & then it is re-throw's back to BPEL process. Then time while rethrow'n back to BPEL process it taking too much time.
    Environment:
    SOA suite : Version      10.1.3.4.0 with AIA
    Hi all , any updates on this
    Edited by: user535670 on Aug 19, 2009 7:43 PM

    Abap team debugged and found out that there was an issue with RFC in ECC system.
    RFC connection was not working. it was causing the flow to wait for 1 mins. Basis fixed the issue to make RFC working. now interface works without connection time out.

  • Unable to make a new instance of a class?

    Why can't I make a new instance of this object?
    This doesn't work:
            static void generateConfirmationDialog(String s1, String s2,
                String s3)
                int optionConfirmation = JOptionPane.showConfirmDialog(null,
                    "Confirm inputs: \n" +
                    "\n1: " + s1 +
                    "\n2: " + s2 +
                    "\n3: " + s3,
                    "Input Confirmation",
                    JOptionPane.YES_NO_OPTION,
                    JOptionPane.QUESTION_MESSAGE);
                if (optionConfirmation == JOptionPane.YES_OPTION)
                    //A new instance of an object.
                    //Class UserInterface
                    //Inner Class FileChooser
                    UserInterface.FileChooser fc = new
                        UserInterface.FileChooser.FileChooser();
                else if (optionConfirmation == JOptionPane.NO_OPTION)
                    //Returns the user to the main menu, with inputs intact.
            }Here's that class:
        public class FileChooser extends JFrame
            FileChooser()
                JFileChooser filechooser = new JFileChooser();
                int returnValue = filechooser.showDialog(this, "Upload");
                //Not done yet, but it should be able to display it
        }But this works:
        public static void main(String args[])
            UserInterface menu = new UserInterface();
        }

    1. Does class FileChooser need direct access to any nonstatic member variables or methods in the enclosing class (by your claim UserInterface)?
    If not, then just make the nested class static by:public static class FileChooser extends JFrame
        // body
    }note the static qualifier in the class definition. People frequently make inner classes where static nested classes would do equally as well or even better. Only if the nested class is "attached" to the instance is it necessary to make it non-static.
    2. If so, does the generateConfirmationDialog() have to be static?
    If not, simply remove the static qualifier from the method.
    3. If so, you will have to pass the instance created in your main() method to the method and use it to instantiate the inner class. The syntax isUserInterface menu = new UserInterface();
    FileChooser fc = menu.new FileChooser();4. Is there some reason you can't just use a filechooser from Swing?

  • Response Time BPEL Fault

    Hi everybody,
    i have the following Problem:
    create a simple composite with one Mediator wiring to one simple BPEL Process.
    The BPEL throws his own Business Fault define within the WSDL.
    The Mediator propagate this Fault to the inital caller.
    Everthing works fine but...
    The Response Time for the normal request and response of the BPEL is 300 - 400ms.
    If the BPEL throws the Fault, the response Time is over 6 Seconds!!
    Has anyone an idea why the Response Time from the BPEL Fault is so much higher?
    Thanks a lot
    regs Stefan

    Hi Neeraj,
    the Problem is identified. The long Response Time comes from our internal Company Network.
    The Response Times if calling the Service from hosted Environment is OK.
    Regards Stefan
    Edited by: stisiman on 27.03.2013 14:57

  • HT204380 How can I make a face time call from one country to another( supporsing both parties using iphone 4s). What will be the caller charges. If there is no charges as we use wifi, will there be a charge till connecting the call?

    How can I make a Face Time call from one country to another( supporsing both parties using iphone 4s). What will be the caller charges. If there is no charges as we use wifi, will there be a charge till connecting the call?

    FaceTime is free to use. You will not be charged for using FaceTime.

  • HT204380 i have a mac book pro and a i-pad 2. both of the devices have the same apple id and same mailing adress. if i want to make a face-time call from my mac book to i-pad 2. how can i do that?

    i have a mac book pro and a i-pad 2. both of the devices have the same apple id and same mailing adress. if i want to make a face-time call from my mac book to i-pad 2. how can i do that?

    You have to add another email address on one of the two devices that you can use as the "You can be reached for FaceTime at" contact address and then remove/uncheck the Apple ID email address as the contact address on that device. The way you are currently setup is like to trying to call yourself on your on phone - from your own phone.
    Using the iPad as the example go to Settings>FaceTime>You can be reached for FaceTime at>Add another email address. Then add a working email address in the next window. Apple will verify the email. Go to the inbox of that email account, read and respond to Apple's email in order to complete the verification process.
    Go back to Settings>FaceTime>Uncheck the Apple ID email address and make sure that the new email address is checked/selected (you will see it being verified again) and that new email address will be your contact address for the iPad.

  • Make readonly pdf with data from forms

    Hi there,
    I really appriciate any help on this issue...
    I am not able to make read only file with data from the fillable pdf forms.
    Requirement is my client need some form where they can enter some data and make a read only file from those forms and send them to their clients.
    So I made fillable form in acrobat and send them, they will use reader to fill up the form but I dont know how to save those file with data so it will become just a document.
    is there any way ?
    Thanks....
    -M.

    I am soory I am slow...
    I made form file in acrobat... but after that my client is going to use reader and enter data to this forms and saves it. and then my client is going to send them to their customers.
    So I shall use reader code and make all fields read only right ?
    In this case I have to make a button and run this code on submit ?
    Thanks.
    -M.

  • How to make a self-playing DVD from FCP project of 75 minute film.

    A Quicktime film has been made in Final Cut. It is about an hour and 15 minutes long. It needs to end up on a self-playing DVD.
    Maybe this is a question for the FCP boards (or for DVD SP, which I don't know well): What's the approach to get this project to DVD?---having it look best on the DVD. Are there compression best practices?

    Or you may be able to make a Kiosk mode DVD from a QT file / folder using iDVD. (btw ...I've done this successfully thru iDVD6 but I have not yet tried it under iDVD08):
    http://discussions.apple.com/thread.jspa?messageID=4764361&#4764361
    Please note that this approach is the only way I know of to make a DVD (w/in iDVD) that plays by itself and with no menu whatsoever. Hence the DVD will always play in a continuous loop until you press stop or eject on the remote. Or if you prefer you can also use Roxio Toast which has a similar feature.

  • How to make report with access 2010 from SharePoint Discussion lists 2013

    HI,
    I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
    but instead it is shown as a separate entry in the database.
    Anyone can please help?
    SAN
    Santhiya
    Santhiya

    Hi Santhiya,
    I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
    http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • BPEL Fault Handling Framework, default Action to send Notification

    All,
    I'm using SOA Suite 11g R1
    Is there a way to send (email) Notification without Java coding in the BPEL Fault Handling Framework ?
    I would like to, when catching a fault in the Fault Handling Framework (remotFault/bindingFault) -> send a Notification and then HumanIntervention.
    Thanks
    Bjorn-Erik

    Hi,
    one option wud be to send it to human intervention and then rethrow the fault back to bpel....here u can define the email activity in the catch handler...try it.

  • Make System.in read input from a command prompt

    How can i make System.in read input from a command prompt which is opened after program
    is started. Please note that program starts without commad promt. Can u plz help?
    sharmila

    System.in DOES read from the command shell that you start the app in.
    What you don't have is a prompt.
    You should know about Java Almanac. There are code samples for simple things like I/O that everyone should know about. There's an example there to help you.
    MOD

  • How can i make sure the graphic file from my subcontract create is really llegal?

    how can i make sure the graphic file from my subcontract create is really llegal?
    They have creat the PNG file which creat from Adobe Illustrator CS5.
    I have try checking on Metadata In Adobe Bridge, and it seem to be blank.
    So i would likt to know how can i make sure the graphic file from my subcontract create is really llegal?
    Thanks

    I have try checking on Metadata In Adobe Bridge, and it seem to be blank.
    So i would likt to know how can i make sure the graphic file from my subcontract create is really llegal?
    shoo: if i had to do that for every file i get  i would go insane, as scott said, post contract: files that they (sub contractor) supply you, presume them ok unless you KNOW otherwise, or a copyright flag pops up contradicting ownership.
    G

Maybe you are looking for

  • Installation lock error while uploading meter readings in sap isu

    Hi, Following is the process followed:- Execute EL35 transaction to generate MRO Print in SAP ISU. at back end a process is triggered where Meter readings are fetched from a data server and uploaded in the sap isu using BAPI BAPI_MTRREADDOC_UPLOAD as

  • Payroll scipts

    Good day I'm an apps dba and I have been tasked to write the follwing reports and I dont know where to start. Payroll 1.     Report on employee bank account numbers that appear on the vendor master file (Creditors). 2.     Report on where more than o

  • Use of SELECT SINGLE FOR UPDATE

    Hello, Am I missing something with FOR UPDATE addition in Open SQL? When I use it I can't get a lock to appear to SM12. For example, if I select a single record for update from table EKKO it's still possible to effect a normal MEPO update of the rele

  • E1000g driver problem

    Hi I have a motherboard with 2 intel PRO/1000 ports on it, and also a PCI board with 4 of the same. # prtconf -D gives me pci8086,341a, instance #0 (driver name: e1000g) pci8086,341a, instance #1 (driver name: e1000g) pci8086,1000, instance #2 (drive

  • Aperture 2 - Color Management

    I have the HP9180 and have been making great prints using HP paper. I decide I wanted to try creating my own custom printer profiles. I have been trying to use a custom paper with an embedded profile when printing but when I try to save as a preset,