Error Hospital to handle Functional Errors

Hi,
In my implementation I'm consuming external Web Services from BPEL.
Some of those webservices may return errors in a controlled fashion, returning a numeric field that indicates failure due to whatever reasons.
My question is: Can a BPEL process receive the response from such a web service and thwow an error to the error hospital, so that all errors(connectivity errors and functional errors) are handled in the same console?
Thanks,
Alex

can you give a description of "the error hospital"
is this something you created yourself..or do you use the bpelconsole for this together with the faultpolicyframework ?

Similar Messages

  • Error handling function: ORA-20001: get_dbms_sql_cursor error:ORA-00942: table or view does not exist  is not trapped. Why?

    Why APEX 4.1 Error handling function does not trap  the error of missing table?
    Say, I create simple application with single IR report page and I also assign standard simple error handling function.
    Function works perfectly, except but this case:
    If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
    and error handling function is not invoked at all.
    Is this a feature or a bug?

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Passing data to event handler function

    I am trying to pass value to the event handler function but I
    am getting the following error. Can someone please tell me what I
    am doing wrong?
    1067: Implicit coercion of a value of type void to an
    unrelated type function
    here is the code
    private function myClickListener(myid:int):void{
    Alert.show("The button was clicked");
    public function handleStringResult(event:ResultEvent):void{
    catInfo = event.result as ArrayCollection;
    for each(var o:Object in catInfo){
    var b:Button = new Button();
    b.label = o.FILLCOLOR;
    b.id=o.CATID;
    b.setStyle("fillColors",['#'+o.FILLCOLOR,'#'+o.FILLCOLOR]);
    b.setStyle("color","#FFFFFF");
    b.setStyle("fontFamily","Arial");
    b.setStyle("fontSize",8);
    b.setStyle("textRollOverColor", "red");
    b.addEventListener(MouseEvent.CLICK,
    myClickListener(o.CATID));
    myvbox.addChild(b);
    ]]>

    "Merlyn MM" <[email protected]> wrote in
    message
    news:[email protected]...
    > Sure, Here is the code. I am very new to flex and if my
    code doesn't make
    > sense
    > then please let me know the correct way to do this. I
    really appreciate
    > you
    > taking time!
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute"
    > backgroundColor="#FFFFFF"
    > initialize="myService.getcategories.send()">
    > <mx:WebService id="myService"
    > useProxy="false"
    > wsdl="
    http://devsite/rc/category.cfc?wsdl"
    > showBusyCursor="true">
    > <mx:operation name="getcategories"
    > result="handleStringResult(event)"
    > fault="Alert.show(event.fault.message)"/>
    > <mx:operation name="getsubcounties"
    result="handleStringResult(event)"
    > fault="Alert.show(event.fault.message)"/>
    > <mx:request>CATID</mx:request> //need to
    pass category ID here
    > </mx:operation>
    > </mx:WebService>
    >
    > <mx:Script>
    > <![CDATA[
    > import mx.collections.ArrayCollection;
    > import mx.rpc.events.ResultEvent;
    > import mx.rpc.events.FaultEvent;
    > import mx.controls.Alert;
    > import mx.controls.Button;
    >
    > [Bindable]
    > private var catInfo:ArrayCollection;
    >
    > private function myClickListener(myId:String):void{
    >
    > myService.getcounties.send() // I need to send catid
    here to the
    > webservice
    > }
    >
    >
    > public function
    handleStringResult(event:ResultEvent):void{
    > catInfo = event.result as ArrayCollection;
    > for each(var o:Object in catInfo){
    > var b:Button = new Button();
    > b.label = o.FILLCOLOR;
    > b.id='btn'+o.CATID;
    >
    >
    b.setStyle("fillColors",['#'+o.FILLCOLOR,'#'+o.FILLCOLOR]);
    > b.setStyle("color","#FFFFFF");
    > b.setStyle("fontFamily","Arial");
    > b.setStyle("fontSize",8);
    > b.setStyle("textRollOverColor", "red");
    > b.addEventListener("click", myClickListener);
    > myvbox.addChild(b);
    > }
    > }
    > ]]>
    > </mx:Script>
    I'd change it to this:
    private function myClickListener(e:Event):void{
    //I don't see where you're using the ID, but to get it,
    //use this code:
    var myID = e.currentTarget.data;
    myService.getcounties.send() // I need to send catid here to
    the
    webservice
    public function handleStringResult(event:ResultEvent):void{
    catInfo = event.result as ArrayCollection;
    for each(var o:Object in catInfo){
    var b:Button = new Button();
    b.label = o.FILLCOLOR;
    //note that you couldn't have used your ID
    //as a "handle" to anything, so I replaced
    //that logic with something you _could_ use
    b.data=o.CATID;
    b.setStyle("fillColors",['#'+o.FILLCOLOR,'#'+o.FILLCOLOR]);
    b.setStyle("color","#FFFFFF");
    b.setStyle("fontFamily","Arial");
    b.setStyle("fontSize",8);
    b.setStyle("textRollOverColor", "red");
    b.addEventListener("click", myClickListener);
    myvbox.addChild(b);
    You could also use a Repeater and set this up in MXML.
    HTH;
    Amy

  • Func_exec reports:  no handler function given for directive  in iPlanet webserver 4.1

    Hi,
    I am trying to run servlets on iPlanet webserver fasttrach edition 4.1 on Windows NT,The web server starts ok as well, but when I try to connect to it I receive a server error and the following messages are in the error log:
    for host 124.163.117.31 trying to GET /servlet/sample, func_exec reports: no handler function given for directive.
    could you please give me some solution for this.
    Thanks&Regards,
    Anne.

    means there is an issue with the the Init Loadmodules line. Normally, check the syntax, make sure the shared objects are where the web server thinks they are.
    If all is good, in unix, check to make sure the init line is all ONE LINE with no line breaks.

  • I can't remove event handler functions

    Hi guys!
    Please help to remove event handler functions of a
    FLVPlaback. I add some functions for an FLVPlaback instance and
    that's why doesn't work the control panel (play button, pause
    button and so on) Here is a link:
    http://sexaid.fw.hu/vg/vg.html
    to understand simply the problem. thx every ideas!

    I would prefer not to announce the URL to the world on this forum, but I can say the old website still starts with the standard .Mac URL http://web.mac.com/username/iWeb and the new one until I set up to use my own domain was the same I believe.
    Empty the Cache has no effect I can still go to the URL and explore the various pages.
    I do not think that the .Mac websites are hosted from the iDisk location as I have defiantly deleted them from my iDisk and I have rechecked every file in the iDisk for any sign of them also my new iWeb '08 website never appeared in the iDisk. I would presume that the .Mac websites are hosted from a particular location on the Apple servers and I need to some how pull them off separately because publishing another new site with iWeb '08 has just left me with two sites and the old one remains and does not exist in iWeb '08 so I can unpublish it.

  • Use movie clip event handler function, but not via an event

    Let's say I have the following code:
    var initObj = new Object();
    initObj.mood = "happy";
    mc = attachMovie("mcBox","instBox",100,initObj);
    mc.onPress = boxPress;
    function boxPress() {
    trace("Box mood: " + this.mood);
    Now, let's say there are times that I want to call boxPress()
    other than when the onPress event happens. In other words, I want
    to call boxPress() for a movie clip via my AS code, but not when an
    onPress event has occurred for that movie clip. Is this possible?
    Or is it possible to simulate or force an onPress event for a movie
    clip so that the handler function gets called for that movie clip?

    addEventListener only works with components in ActionScript 2
    "workingonasite" <[email protected]> wrote
    in message
    news:f1vu8r$92i$[email protected]..
    > So I am trying to get my head around event Listeners.
    When I use this
    > example
    > on a button it works fine:
    >
    > but when I add the same listener to a movie Clip on the
    stage with an
    > instance
    > name of "box", it does not work. Is there something
    basic I am missing?
    >
    >
    >
    > var buttonListener:Object = new Object();
    > buttonListener.click = function(eventObj:Object) {
    > trace("click");
    > };
    > mybutton.addEventListener("click", buttonListener);
    >

  • Context Handling functions

    Hi,
       Can someone point me to a blog or article which shows real life scenarios for Context handling functions as I want to practice what I have read. I have already read some articles on these functions(removecontext, usoneasmany etc) and I understand contexts and also context change etc

    Hi Sonia,
    Check out this blog and SAP contribution files on Context Handling:
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd
    Regards,
    Subhasha Ranjan

  • How to update the ztable by using table handling function

    how to update the ztable by using table handling function
    It is very urgent ...............................
    thanks in advance

    see the  below code for the direct   ztable update
    Report  ZUPDATE_PRPS.
    tables: zprps.
    parameter: p_wbs like zprps-pspnr,
               p_value like zprps-fakkz default 'X'.
    data: wa_fakkz type zprps-fakkz.
    *START-OF_SELECTION
    start-of-selection.
    call function 'CONVERSION_EXIT_ABPSP_INPUT'
         exporting
             input     = p_wbs
        importing
             output    = p_wbs
        exceptions
             not_found = 1
             others    = 2.
    select single fakkz
      into wa_fakkz
      from zprps
    where pspnr eq p_wbs.
    if sy-subrc eq 0.
       update zprps set fakkz = p_value where PSPNR eq p_wbs.
       if p_value is initial.
         message i999(za) with 'Billing element field has been unchecked'.
       else.
         message i999(za) with 'Billing element field has been checked'.
       endif.
    else.
      message i999(za) with 'WBS element not found'.
    endif.
    reward  points if it is usefull .....
    Girish

  • Handling Functional Acknowledgement only in case of transaction exception

    Hi ,
    We have requirement to acknowledge client with only exception transactions. How can we handle this with B2B?
    I have used the Functional Acknowledge concept wherein for Acknowledging EDI transactions, we are using Control D3 message format and moving the acknowledgement message to another JMS Queue.
    But the acknowledgements/Control EDI messages are getting generated for both success as well as error cases and there is no way to distinguish between them. How can I restrict this to only Error cases.
    Basically flow is like EDI Message Format --> JMS Queue --> B2B
    --> (in success case) XML generated in B2B_IN_Queue (no ack required)
    --> (in error case) generate CONTRL D3 message and send it to another JMS Queue.
    Pls help.
    Regards
    Aparna

    Hi All,
    Can anyone pls answer my question?
    Regards
    Aparna

  • [JS] Event handler function is shown as the result in the ESTK

    I have a ScriptUI tree, with an onExpand event, like this:
    Window1.tvwTree.onExpand  = function (item){
        $.writeln(item.key + " is now expanded.");
    Every time the script is run, I get this in the Javascript console of the ExtendScript Toolkit:
    Execution finished. Result: onExpand()
    First question is: why?
    Second question: What's the best and cleanest way to take care of the onExpand event? I didn't manage to assign a function to the onExpand event, in the same way as I do for parameter-less functions.
    For simpler events, with no parameters, I do it like this:
    Window1.....DropDownList2.onChange = cboNewLanguage_onChange;
    ... but the onExpand event has its "item" parameter to take care of, and I don't manage to assign the function in a similar way. Please enlighten me.
    (Would it be possible to use a prototype approach, for events like this? Getting a common function for all onExpand events...???)
    Thanks,
    Andreas

    Hi Andreas,
    First question: what is supposed to be item.key? Have you extended the ListItem properties?
    The way you assign the onExpand function seems correct to me. The following code should work:
    var myExpandHandler = function(/*ListItem*/ item)
         // this => TreeView
         // item => expanded ListItem
         alert( item.text + ' is now expanded.' );
    myTree.onExpand = myExpandHandler;
    Alternately, you can create a generic handler through the TreeView prototype:
    TreeView.prototype.onExpand = function(/*ListItem*/ item)
         // this => TreeView
         // item => expanded ListItem
         alert( item.text + ' is now expanded.' );
    Works for me in CS4 & CS5+.
    Note: the onExpand function has no event listener counterpart, so you cannot use the form:  <widget>.addEventListener('expand', myEventListener).
    I don't know why your script causes the ESTK console to display "Result: onExpand()". Probably your code contains the corresponding $.writeln somewhere, doesn't it? Also, take into account that if your UI code uses sth like myListItem.expanded = true; then the onExpand handler is called before the win.show(). This may explain unexpected feedback in the console (?)
    @+
    Marc

  • How can I handle function pointer in Java?

    Is there any class/methods which can be used to implement function pointers in java.? If yes pliz, help me to get in.

    The java equivalent of function pointers is the one-instance class, as used to pass handlers to swing components, for example. Often an anonymous class is used.
    Put your function signature in an interface, and pass an object that implements that interface:
    public Class1 {
      public interface CallBack {
        void myMethod(String arg1);
      CallBack callb;
      public Class1(CallBack callb) {
       this.callb = callb;
      callb.myMethod("A string");
    class2 {
       first = new Class1(new Class1.CallBack() {
         public void myMethod(String arg1) {
           ... do something ...

  • Can you add seek handle/function to a progress Bar?

    I've got a nice little brogress bar working for my AS3 app,
    but I also want to provide a seek/scrub function. I haven't been
    able to figure out how to make one yet, let alone add it to the
    progress display. But I did what I want to do (provide a great
    little scrubber/progress bar combination) at
    http://www.gotoandlearn.com
    (video basics 5). The problem is it's in AS2 and I can't seem to
    figure out the equivalent functionality in AS3 - I'm having issues
    understanding the migration of components/functions in AS3.
    The code for the AS2 example is below:(it sits on frame 1 of
    the .fla rather than in a package/.as file)
    Any ideas where to find/adapt what would be "equivalent"
    using AS3 classes?

    But I don't want that the user actually sees the dummy page, I want them to get directly to the external page. is it possible to make clicking on the dummy page immediately send the user to the external page?

  • Error Hospital

    Does anyone know anything about the error hospital. I have heard utterings but want to find out more. Is this in the current release 10.1.3.1. Is there a document out there that shows how to implement?
    cheers
    James

    The error hospital is a design pattern that outlines a best practice on how to generically handled errors. There is normally a lot of common actions (audit, logging, notification, etc.) that occur when an error is encountered. The error hospital pattern outlines how to move the common actions for error out of each BPEL process and into a central error handling process. This error handling process can be as simple as writing a record to an error table and sending an email and as complicated as using rules engine and human workflow to track and retry tasks.
    There are components rumored to be coming in the 10.1.3.3 release that provides some enhanced error handling functionality, but I haven't see any details on it yet. Rumors are it will help with flow control of processes. For example if a process has an error because a database connection is down it will queue up all of the process that follow until the connection is restored. Once the connection is restored it will flow control the number of requests sent to the database connection so not to overwhelm BPEL or the database.
    The current functionality in 10.1.3.1 provides automatic retries and other nice features already. Can you provide more details around what you are looking for and maybe I can point you in the right direction.
    Chris

  • Handling runtime errors

    We have an AS3 application made in Flash Builder that I would like to compile such that the script continues to execute after encountering a runtime error.
    We made a simple AS3 test movie and compiled it with Flash CS3 and then Flash Builder.
    The movie tries to evaluate a variable that does not exist, and then puts a yellow square on the stage.
    Here is the core of the code:
    if(this["d"] == 1){ } // this line throws a runtime error because d is not declared.
    var s:Sprite = new Sprite();
    s.graphics.beginFill(0xFFCC00);
    s.graphics.drawRect(0,0,200,200);
    addChild(s);
    In the movie compiled in CS3 (with this code in a frame on the timeline) the runtime error seems to be ignored - and the square appears.
    In the movie compiled in FB with this code wrapped in a simple Class, or if this class is used as the document class for a CS3 movie - then the resulting swf throws the runtime error and does not add the sprite to the stage.
    Here is the simple Class:
    package
    import flash.display.MovieClip;
    import flash.display.Sprite;
    public class ErrorTest extends MovieClip
    public function ErrorTest()
    if(this["d"] == 1){ } // this line throws a runtime error because d is not declared.
    var s:Sprite = new Sprite();
    s.graphics.beginFill(0xFFCC00);
    s.graphics.drawRect(0,0,200,200);
    addChild(s);
    Why does it ignore the error when I just publish this code on the timeline?
    How can we compile a swf that will emulate this behavior using class files?
    Does the timeline code extend a class that ignores runtime errors?
    We read this http://livedocs.adobe.com/flex/3/html/help.html?content=11_Handling_er rors_03.html and it seems that the description in the documentation is inaccurate as is pointed out in the comment:
    The following statement regarding uncaught exceptions seems to be either inaccurate or misleading: 
    "At run time, Flash Player ignores, by design, uncaught errors and tries to continue playing if the error doesn't stop the current SWF file"    
    Script execution does NOT continue when hitting an error - even in a non-debug player.  Previous versions of AS/Flash Player used to continue.  For the non-debug Player, this is arguably a better approach as it prevents small errors from bringing down an entire block of script.
    Our experience confirms this.  Is there any way to globally specify that the application should continue on uncaught errors?
    We saw this class: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fla sh/events/UncaughtErrorEvents.html
    It seems to be only available in 10.1 - which is higher than we would like to target.

    Thanks Anirudh,
    In Flash Builder, try doing
    if(this.hasOwnProperty("d") && this["d"] == 1){ }
    I was just throwing this error as an example of throwing an error, and not looking to fix it in particular.  We have a large and complex application which is used by many people.  Unfortunately, some of our users are experiencing runtime errors that are stopping the execution of the script - and we do not know exactly where those are.  They may be easy to fix once we can locate them. Unfortunately, we have not been able to reproduce them locally.
    If the flash player encounters an error in the constructor of the sprite/movieclip which is the main class, it will not be able to continue. If this error had occurred in an event handler, then you'd be able to continue.
    Can you tell us more about the rules of uncaught runtime error handling? For example: when I compile this code - the sprite is not shown on the stage and the second trace is not executed - despite having moved the code to an event handler function.
    package
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    import org.osmf.events.TimeEvent;
    public class ErrorTest extends MovieClip
    public function ErrorTest()
    var t:Timer = new Timer(100, 1);
    t.addEventListener(TimerEvent.TIMER, eventHandler);
    t.start();
    protected function eventHandler(e:Event):void {
    trace("1");
    if(this["d"] == 1){}
    trace("2");
    var s:Sprite = new Sprite();
    s.graphics.beginFill(0xFFCC00);
    s.graphics.drawRect(0,0,200,200);
    addChild(s);
    I'd like to publish our application such that it would ignore all run time errors. Are there any compiler or other options to achieve that.
    Ideally we'd like to collate the errors such that end users could open a hidden text field and copy the error messages and send them to us.

  • Importing error: related to function-based indexes?

    I've come across a strange error. I've got a user that has an export dump file who wants me to import the data into a new database. (Its an Oracle 10G database.)
    When I use the 'imp' command, the table import completes successfully, but I end up receiving the following warnings:
    IMP-00003: oracle error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942
    "CREATE INDEX "X" on "Y" (TO_CHAR("Z",'yyyymmdd')) P"
    "CTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1 FREEL"
    "IST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TBSPC" LOGGING"
    The table itself seems to have been imported correctly; and all data rows exist. Its just the index that isn't being imported/rebuilt. (Other indexes on the same table were imported properly.)
    The only thing that I could find that seems odd is that this index uses functions (the "TO_CHAR" in the index above). All of the other indexes on the table refer to basic fields. And I can rebuild the index manually.
    Is the 'imp' command able to handle function-based indexes? Is there some parameter than I need to set to allow it to import these indexes?
    (I know the more efficient thing to do would be to do an import with no indexes and rebuild them later...)
    Edited by: user588235 on Dec 9, 2009 5:16 PM

    Function based indexes should be supported. If it is exported, then it should be able to be imported. This just seems like a weird case. Have you tried to create a different table and then create a function based index on that table then see if exp/imp work?Yes, I have tried creating new versions of the tables (both with and without function-based indexes).
    During my tests, I found that I can recreate the problem if I create the table in Oracle 9 and import it into Oracle 10; the problem doesn't occur when importing/exporting between Oracle9->Oracle9 or Oracle10->Oracle10. (However, the user told me that this was an export from Oracle 10.)
    One other thing: I've noticed that if, instead of importing into a user account, I import into the system account, it works with no problems. For example:
    imp userid='sys/xyz as sysdba' file=mydata.dmp fromuser=use1 touser=use2 ->Results in warnings while reading indexes
    imp userid='sys/xyz as sysdba' file=mydata.dmp fromuser=use1 touser=sys ->works with no warning
    This makes me suspect that its a problem with the permissions that have been granted. (I've granted 'create any index' and 'query rewrite' to the user account however.)
    Not to change the issue, but since this is 10g, have you tried using datapump to expdp/impdp the same information?Might be an option; problem is, I'm dealing with a legacy system that was set up to use 'imp/exp', so altering backup and restore methods will require a lot of work.

Maybe you are looking for