How to take control back from service error handler in osb

I am using osb to send data to multiple services at the same time.since x query is a procedural language if any single operation fails the flow goes to service error handler which calls a BPEL webservice and logs the error in a database but the control doesnt comes back to my code I have tried everything including RESUME,REPLY operations but all in vain similarly i cannot use service callout call to my business service because its not allowing to select my BPEL wsdl operation

If your statement "the control doesnt comes back to my code" means you expect that your xquery will continue in processing than your expectations are just too high. :-)
Resume action is supposed to resume the next action in the message flow. It means the action that follows the action which caused an error.

Similar Messages

  • Help needed to take control back from sqlplus for expired password

    Hi,
    I am executing the following line for Oracle 11g in Windows from my application
    sqlplus -L "aaaa"/"aaaa" @connectonly.sql >>"D:\tempDBlogs\connectonly.log"
    connectonly.sql file contains the following code:
    whenever sqlerror exit 1
    whenever oserror exit 2
    exit
    This piece of code executes fine for both correct & incorrect userid & password and gives proper messages. Now the problem is when password of the user in DB gets expired. The controls waits for user input. But my problem is I am runinng this code from an application which waits for sqlplus.exe to end, as it can't proceed without validation. But sqlplus runs as background process and the command prompt never comes to user. Moreover I dont want to give the user the option to change DB password from my application front end.
    So I need to find a way so that if password is expired sqlplus will return the control and will not wait for user input. Or atleast my application gets to know that the password is expired so that it can kill sqlplus process.
    Can somebody help me in this.

    interesting question. I tried something on unix and this seems to work. I simply piped a line through this which leads to an error with the expire-prompt and doesnt do any harm when there is no such prompt:
    oracle@oracle:~$ echo "" | sqlplus brost/secret @test.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 19 10:18:36 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-28001: the password has expired
    Changing password for brost
    New password:
    Retype new password:
    ERROR:
    ORA-00988: missing or invalid password(s)
    Password unchangedSomething similar should be possible on windows. Of course, the real solution would be flag for sqlplus that makes it absolutely non-interactive.

  • How to determine if coming from the Error Page?

    Version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form with a collection.
    I've added a validation and set the error message to display on the Error Page to preserve the information entered into the form.
    One of the Select Lists is a cascading list. That list does not populate when returning from the Error Page.  The parent list is populated and does show the value selected before the error was thrown. It's just the list that is based on the parent that isn't populated.
    If I refresh the page the Select Lists are reset and I can access the values normally.
    So, what I think I want to do (and I'm not sure here) is to refresh the page when returning from the Error Page.
    How can I determine if I'm coming back from the Error Page?
    Is there a better solution?
    Please let me know if this isn't clear or there are questions.
    Thanks,
    Joe

    Hello,
    I'm hoping someone can help me with this.
    Thanks,
    Joe

  • Back from service, case doesn't seem right

    I just got my macbook pro back from service, maybe a week or two ago. Since its been back I've noticed the case really doesn't seem like its fitting together right. I've got gaps between various pieces of the case and have parts that don't really fit flush anymore. It wasn't like this when I sent it out
    If I call apple do you think they'll fix it? They could easily just ignore it and blame it on me, but it definitely wasn't like this when I sent it off, and the more I look at it the more it really seems put together wrong.

    I'm guessing that there is a gap on the front of the machine where the bottom case fits with the top case (the part with the keyboard & trackpad).
    Once the unit is popped open, it doesn't close quite like it did when it was first assembled. That's because there are 4 clips that are on the front inside lip that get slightly worn when the machine is popped open. I'm also guessing that there is a glue of somesort that is run lightly around the seams to ensure flush enclosure.
    There are stories that even without servicing that these gaps form after time.
    If you go and demand that apple fix it, they will. They will have to replace the top and bottom case. This fix could take quite a bit longer as it would need to be sent out to the depot. All of the innerds need to come out to replace the bottom case. But...they'll do it if you demand it.

  • How do I change back from 'Secure Erase'?

    How do I change back from Secure Erase to regular Erase or Empty Trash? I somehow switched it and it takes hours. I want to be able to change back and forth between Secure Erase and regular Erase.

    Finder menu > Preferences > Advanced
    Un-check it.

  • How to take the back up of  MPOS and planning area

    Hi Gurus ,
    i am using apo dp version 5.0 .We are trying to adding a new key kigfigures in our planning object structure and planning area .
    so,we are trying  take a back up of our Planning objects structure and planning Area .
    1.How to take the back up of MPOS and Planning area  ?
    2. How loading back the data in to the same MPOS and Planning area after adding some keyfigures to MPOS and planning area.?
    I gone  thru the www.help.sap.com but i did not understand properly .
    I would really appreciate if somebody clearly eleborate  the procedural steps .
    Thanks!
    Kriss.

    Hi Kriss,
      First let me clear you some points.
    1. MPOS always contain characteristcis only not the key figures.
    2. Planning area always contain Key figures.
    3. When you create planning area at that you have to assign MPOS & Storage bucket Profile. So Automatcially Characteristcis, Key figures & Time charcteristics realetion mentained.
    Come to your point.
    1. Before creating data source which is depend up on Planning area, you should sure that your basic structure get finalized say, MPOS, Planning area & rest configuration setting. So if you think there will be some extra key figure required after finalizing planning area then in that case you can creat some extra key figure & adding to planning area before finalizing it. So that you can use these key figure in future also.
        What ever data you want to extract from planning area you required whole data extraction process. So whenever you create data source depend up on planning area then automatcially all the info Objects( Char. key figures, time char. ) come in to data source by default. So further you have to replicate it in to APO BW & create rest data extraction process depneds up on data source. So automatcially all the info objects come in to an Info Cube & your extraction process will wrk fine.
    2. Relignment can effect on data transfer from Info Cube to Planning area becz previously your charcteristcis values are different & you had taken back with those characteristcis values, now if you did relignment then charcteristcis values are suppose to be changed, so while loading data from Info cube to Planning area your charcteristcis values will not match & data will not load for those char. values only.
        See, Data always stored in to planning area ( Live cache) against characteristcis, Key figures & time characteristcis. Data is not stored in to MPOS.
    Hope this will help you
    Regards
    Sujay

  • How to take the data from sage system to sap r/3

    hi expects,
              how to take the data from sage system to sap r/3? which adapter is to be used?what is the format of data in sage system?how the scenarios will work ? please help me in solving this problem?

    hi rohit,
    the data transfer can be done by using SOAP adapter
    do chk this link
    http://www.sage.org/lists/sage-members-archive/2001/msg01718.html
    http://www.sage.org/lists/sage-members-archive/2001/msg01739.html
    thanx
    Sampath

  • HT201304 How do I change back from UK iTunes to Australia on the iPad!!

    How do I change back from UK iTunes to Australia on the iPad!! I changed it by accident and can't find where to change it back on the iPad! Syncing to computer didn't help.

    Follow this link, which will walk you the steps:  http://support.apple.com/kb/ht1311

  • Plz tell me how I can get back from the recovery mode to my normal mode without lossing data ... actually I was trying to update ios 7 in my 4s so then mobile stuck into recovery mode...plz help?

    plz tell me how I can get back from the recovery mode to my normal mode without lossining data...I stuck in this mode while I was try to update ios 7 in my 4s

    If it's in recovery mode, anything on the phone is already gone.  Restore the phone using iTunes, then restore it from your last backup. If you've been backing up on a regular basis as intended, you won't lose anything except what's changed since the last backup.

  • I am using the hp 3525 model printer , i like to know how to take photo print from the printer

    Hi,
    I am using the hp 3525 model printer , i like to know how to take photo print from the printer .
    Regards
    Mukesh.R

    Hi Mukesh,
    I'd like to help, but can you clarify the issue?  Are you asking how to print a photo from your printer?  Also, can you confirm that your printer is a HP Deskjet Ink Advantage 3525 e-All-in-One Printer?
    Thanks!
    Tara
    **Although I am an HP employee, I am speaking for myself and not for HP.

  • HT4623 my phone was updated and  a google street view map was lost. How can i restore back from ios 6 to ios 5?

    my phone was updated and  a google street view map was lost. How can i restore back from ios 6 to ios 5?

    You cannot downgrade the iOS, there is no supported method.
    Google streetview was not lost, Google Maps were removed from iOS6 and replaced with Apple Maps.

  • Exception  caught if error is  raised  in Service Error Handler

    Can any one help me on this? Im not able to understand the funda for the behaviour?
    Proxy Service A calls proxy service B using Publish action. In proxyservice B - service error handler, Im raising an error with customised message. Proxy service B routes to another proxy service C which routes to Business service.
    If my business service gives me timed out , error is handled at Proxy service C error handler , and again Proxy Service B error handler is invoked. Here my code stops where Im raising the error.
    When I raise error in Service Handler where it is being caught?
    Thank you in advance.
    Regards,
    Vyshnavi

    Hi Vyshnavi,
    There are four levels where you may define an Error Handler and it will catch errors related to this level only. If it could not handle any error reached to it, it will propagate the error to the higher level error handler. All errors which can not be handled at lower levels, System Error Handler, handles those.
    To know more about this, please refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1040161
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1128288
    Regards,
    Anuj

  • Error Handling in OSB

    Hi,
    In OSB how to catch all different errors and send them to specific
    For ex:
    1.if i get a "file not found" error, i need to send an email notification
    2.if i get an arithmetic error , i need to send it to database
    like any other errors...
    Can we handle all those errors in a single error handler and send them to specific targets
    let me know any questions

    basically what is did is create a generic proxy service which will contain all the logic to handle your faults.
    so in your case you could create a soap or xml proxy service (let's name it ErrorHospital).
    the input of this proxy service needs to contain all the data you need to decide what to do with a certain error.
    for now let's make the interface something like
    <errorMetadata>
    <error>{$fault}</error>
    <payload>{$body}</payload>
    </errorMetadata>you could just add me metadata from the proces which is failing ofcourse, it's up to you to decide what data you need.
    now in for example the EmployeeService something fails.
    In the EmployeeService you add a service error handler, and for the start in this service error handler we will only do a publish to our new 'ErrorHospital'.
    Create the <errorMetadata> element in here and do the publish.
    At this stage we have all the metadata available in our ErrorHospital proxy service, so we can execute all the logic needed for any specifica error.
    In the ErrorHospital proxyservice you could add something like
    if $body/errorMetadata/error/faultCode = 'MAIL-001' then send mail (by use of a mail transport business service (this expression won't work, but just to show what's possible)
    in my blog i used a ErrorRepository in which i configure what actions to execute based on the errorCode
    so you could add MAIL-001 in this repository and define something like
    log_YN = Y
    mail_YN = Y
    report_YN =N
    the generic logic in your errorHospital proxy service will contain a list of
    if - then - else combinations to decide if it should mail, or if it should log or if it should report
    and this will work on every errorCode you define in the ErrorRepository.
    It's a solution we use at my current customer too and works pretty nice, and the administrators can update the ErrorRepository file from the console on production if they decide on a certain moment that they need logging on some errorCode for example
    hope it's a bit clear like this

  • Controlling how number fields come back from ADO

    Hi,
    I was wondering if it is possible to somehow control how number fields are returned from an ADO Recordset when using the Oracle ODBC driver?
    What I would like to do is to force all Number(8) columns in the DB to come back as ADO type integer - not adNumeric as they currently do....
    Thanks a lot!

    No, at that level of abstraction you don't have any control over it. Not sure if it is something you can map even at the API level as I think the driver is mapping them to SQL_C_NUMERIC.

  • How to get data back from an action ?

    Hello,
    Would it be possible to get data back from an action (out of the question EO_MESSAGE & ET_FAILED_KEY )?
    For example we got an order with order positions and we need a "function" to e.g. count all positions. Because of Performance the function should not be processed each time the order is changed, read or a position is added. Instead the function should be processed only if it was called explicitly.
    Is it possible to create a kind of action which is actually counting all entries and export the number of them?
    How to mark a parameter in is_parameters as exporting?
    Is this just done by (naming-) convention?
    What is the preferred way to have “methods” with returning/exporting values?
    Regards,
    Lorenz

    Hello Lorenz,
    As you have already figured out , the Action API provides you with only the messages and failed keys if any.
    Post action execution , you can always execute a retrieve or retrive by association , to get the latest buffer snapshot , which of course would include the changes that you have made in your action.
    If you want to ensure that users have explict control on execution of your "fucntion", then of course , you should model it as an action on the BO.
    The parameter is_parameters is an IMPORTING parameter. You CANNOT use it to export anything back from the action. For importing ,  you can of course have any structure to use as the is_paramaters , which you model as the action parameter structure which modelling your BO action.
    From an external entity the only way to interact with a BO is by consuming the BO services and you are bound by the BOBF standard interfaces. Any and all data you require needs to be modelled as node attributes ( persistent or transient ) and fetched using the RETRIEVE, RETRIEVE_BY_ASSOCIATION or QUERY services.
    Regards,
    Indranil.

Maybe you are looking for

  • Oracle Lite 10.3.0: how to find out the consumed size of a BLOB column

    Hi, we are developing an app that utilizes an Oracle Lite database and so far I have just been unable to find a reasonable way to determine the size of stored binary data. All the "usual" ways we aware of from "main" Oracle just don't seem to work wi

  • BPM activation problem

    Hi, I am trying to realize the following synchronous scenario using integration process: HTTP sender adapter>XI>HTTP Receiver adapter. (I have to send a http request to a third party system through XI and get the response back) The process has async

  • Iphone4s is 1 month wrong on the date.

    Today is Aug. 21, 2012.  My phone says it's Sept. 21, 2012.  I can change the date manually, but what is going on with my iPhone4s?  How do I get the auto time and date to work right? 

  • Russian language in a Calendar project

    Could I use Russian language in a Calendar project? I am going to order it for printing of cos.

  • SL Upgrade - Standard Account Beach Ball Spinning on Right Menu Bar?

    Just upgraded to SL from Leopard 10.5.8. Install went smoothly, went through typical verification of software, etc. Most things look good; I know the forums are flooded with folks having a terrible time, but the only buggy thing so far I've noticed i