Passing Header Information in a Workflow to All Services

I need to pass a header element, for example a security element received in the request to the BPEL process, to all the web services (internal) which BPEL process calls (and consists of).
How can I do this?
Regards
Farbod

Hi,
You can send the header information by importing oasis-200401-wss-wssecurity-secext-1.0.xsd to ur bpel process. Now create a variable of element "Security" by selecting the above said xsd. In the receive activity ,in header tab,use this variable as Header Variable.Also the same in Invoke activity.Now u can pass the header information.

Similar Messages

  • Project PSI API checkoutproject is causing exception :LastError=CICOCheckedOutToOtherUser Instructions: Pass this into PSClientError constructor to access all error information

    Hi,
    I'm trying to add a value to the project custom field. After that I'm calling the checkout function before the queueupdate and queuepublish. While calling the checkout  the program is throwing exception as follow:
    The exception is as follows: ProjectServerError(s) LastError=CICOCheckedOutToOtherUser Instructions: Pass this into PSClientError constructor to access all error information
    Please help me to resolve this issue.  I have also tried the ReaProjectentity method i nthe PSI service inrodr to find that project is checked out or not  . Still  the issue is remains . Anyone please help me for this
    flagCheckout = IsProjectCheckedOut(myProjectId);
                        if (!flagCheckout)
                            eventLog.WriteEntry("Inside the updatedata== true and value of the checkout is " + flagCheckout);
                            projectClient.CheckOutProject(myProjectId, sessionId, "custom field update checkout");
    Regards,
    Sabitha

    Standard Information:PSI Entry Point:
    Project User: Service account
    Correlation Id: 7ded1694-35d9-487d-bc1b-c2e8557a2170
    PWA Site URL: httpservername.name/PWA
    SSP Name: Project Server Service Application
    PSError: GeneralQueueCorrelationBlocked (26005)
    Operation could not completed since the Queue Correlated Job Group is blocked. Correlated Job Group ID is: a9dda7f4-fc78-4b6f-ace6-13dddcf784c5. The job ID of the affected job is: 7768f60d-5fe8-4184-b80d-cbab271e38e1. The job type of the affected job is:
    ProjectCheckIn. You can recover from the situation by unblocking or cancelling the blocked job. To do that, go to PWA, navigate to 'Server Settings -> Manage Queue Jobs', go to 'Filter Type' section, choose 'By ID', enter the 'Job Group ID' mentioned in
    this error and click the 'Refresh Status' button at the bottom of the page. In the resulting set of jobs, click on the 'Error' column link to see more details about why the job has failed and blocked the Correlated Job Group. For more troubleshooting you can
    look at the trace log also. Once you have corrected the cause of the error, select the affected job and click on the 'Retry Jobs' or 'Cancel Jobs' button at the bottom of the page.
    This is the error I'm getting now while currently calling the forcehckin, checkout and update. Earlier it was not logging any errors.From this I'm not able to resolve as i cannot filter with job guid

  • Re: Passing HTTP Header Information

    I am calling a web service ( using generated client stubs)
    Is it possible to share HTTP header information to this call ?
    Sample code is :
    SimpleTestSoap echoPort = SimpleTest_Impl().getSimpleTestSoap();
    String test = echoPort.xxxxMethos();
    How do I pass an array of cookies(from the request object ) to this call ?
    Thanks

    I am calling a web service ( using generated client stubs)
    Is it possible to share HTTP header information to this call ?
    Sample code is :
    SimpleTestSoap echoPort = SimpleTest_Impl().getSimpleTestSoap();
    String test = echoPort.xxxxMethos();
    How do I pass an array of cookies(from the request object ) to this call ?
    Thanks

  • How to pass JMS header Information to proxy field

    Hi,
    I am working with JMS to Proxy scenario (Synchronous).
    I am getting one header field at sender JMS channel which need to be mapped with one of the Proxy field.
    and similarly  when proxy returning one field value that need to be mapped with receiver channel header information.
    could any one help me on how to achieve  this.
    regards,
    Navneet

    Hi,
    >>Now My Question is how can I get Dynamic Configuration Key
    Like this
    1. switch on ASMA in sender JMS communication channel
    2 Assign this udf to target field
    UDF code
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageProperty9";
    String valueOld = conf.get(key);
    return valueOld;
    3. Do a  end to end testing (message mapping test will;l throw error)
    Regards
    Suraj

  • Work order header information from BAPI_ALM_ORDERHEAD_GET_LIST

    Upfront I'll admit that this question likely falls outside of MII as I am getting bad results in SE37 as well.  Was hoping others in this group have experience with this.
    When I use BAPI_ALM_ORDERHEAD_GET_LIST there are several work orders that do not get returned, and I can't figure out why, or even what is the common thread between them.  The missing orders are viewable via iw33, and information can also be returned from BAPI_ALM_ORDER_GET_DETAIL.
    Right now, the only thing I pass in OPTIONS_FOR_ORDERID with a range of orders (ie 20 or so).  Orders are returned in the correct range, just not the one I am looking for.
    Rod

    Hi Rod,
    The only thing I can think of is that there are times where orders (or other objects) are created outside of normal procedures.  My experience was with Batch histories, but if the objects are not created in the normal process (a nebulous term at best), they will sometimes not be stored in all the proper tables.  Can you check the processing history of the orders missing to see if there are any discrepancies there? 
    Otherwise, you may need to get some ECC side help.  The ABAP code in the underlying function module may direct you to all the tables which should be populated with the correct data so you can check which tables are not populated. 
    An alternative option for getting the work order header information would be to go back to the old reliable RFC_READ_TABLE.
    Good luck,
    Mike
    Edited by: Michael Appleby on Feb 12, 2011 4:13 PM

  • Header information not getting displayed in the lines

    Hello Everyone
    I have a very basic question - its very simple but not working for me with so many attempts
    My XML structure looks like this . In the RTF , I have header information and then a table for line information looping through G_LINES.
    IN this lines table I need the SHIP_CUSTOMER_ID of the header to be displayed. I have tried all options like <?../SHIP_CUSTOMER_ID?> or <?../G_ORDERS/SHIP_CUSTOMER_ID?> , however nothing seems to be working and I am not getting the field to be displayed. Can someone please help?
    XML structure is as follows:
    <XXSTOL_29251_PICK_TKT>
    <LIST_G_ORDERS>
    <G_ORDERS>
    <CUSTOMER_NUMBER>1411</CUSTOMER_NUMBER>
    <SHIPPING_INSTRUCTIONS1></SHIPPING_INSTRUCTIONS1>
    <SHIP_CUSTOMER_ID>256</SHIP_CUSTOMER_ID>
    <G_LINES>
    </G_LINES>
    <G_LINES>
    </G_LINES>
    </G_ORDERS
    </LIST_G_ORDERS>
    </XXSTOL_29251_PICK_TKT>

    Are you grouping within G_LINES? If so, use ../../SHIP_CUSTOMER_ID
    or send me the xml and RTF template to [email protected] so that I can get a better look at the data structure and try to help.
    Thanks,
    Bipuser

  • Header Information Repeating in the Same Page

    Hi Buddies,
    I have an issue with PO Print Report. I am trying to reapet the header information by using <?start:body?> after the header informaiton and <?end body?> before the footer informaiton.
    If i have two different headers, it displayed in the same page. For e.g I have po header details for PO 30124 and PO 30124-1. These two headers information displaying in all the pages and main body and footer informations goes to the next page.
    pls guide me how to solve this one?
    Regards
    Prabu

    Hi,
    Are you saying that you need conditional headers? If so, then use <?IF ...> statements.
    If your footer is not working correctly make sure your syntax is correct?
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • How to pass BindVariables to External Process (Workflow)

    I build a shell script (unix) which accepts a command line parameter .... a "filename"
    The "filename" is a dynamic name!
    The workflow is build with a custom input parameter "filename" ... which I want to pass to an external process, which calls this shell script:
    How can I do that ?
    ExtProcess:
    Command : Val=/bin/ksh
    Parameter_List : Val=":/home/bin/myscript.sh:${Task.Input}:"
    (Binding ":Filename" replaces the whole value, sorry)
    Succes_Threshold: Val=0
    Script : Val="" , Binding=":Filename"
    ... does not pass the value of ":Filename"
    Script : Val="/tmp/fixed.name"
    ... works only with fixed names
    what I really need is something simple like:
    Parameter_list : Val=":/home/bin/myscript.sh:${Parameter.Filename}:FIXPARAM:"
    or Script : Val=":${Parameter.Filename}:${Parameter.Param2}:${Parameter.Pram3}"
    ... similar problem I had with FTP, I found no way to pass dynamic filenames or other parameters (except LOCATION Parameters)
    ... similar problem I had with EMAIL I found no way to include PARAMETERS to the mail body (except to replace the whole body by 1 parameter)
    Is there a solution or is in current version OWB 9.2 only "static" parameters supported.
    I also was missing to pass OUTPUT-parameters for example of a TRANSFORMation,
    I also was missing some urgent SYSTEM-parameters for self identification of the process(like "SYSTEM.TASK_NAME" "SYSTEM.EXECUTION_AUDIT_ID" "SYSTEM.ITEM_KEY" )
    Thanks for all hints and best regards
    Martin

    Actually... After further investigation this may not be needed. I'd be interested in the answer, to understand what is possible.
    The concept of passing parameters in the OWB workflow designer is rather limited, in my humble opinion. Sure, you can designate a "start" sequence that takes a parameter and you can pass that to mappings/transformations but there is no chance for feedback. Ie, if I manually (or through some rigged script) execute the flow with the "PARAMETER" then it will be able to bind. What about mid-flow. IE, select the record to be "processed", then call a "flow" with that as a parameter.
    Am I mistaken? Is there a way to expose the "out" parameters of a mapping, or the return of a "transformation function" as "OUTS" in the process flow.
    Of course, in a world where everything is OWB and in the DB one can leave data in tables, and pick it up on the other mappings. HOWEVER, most BI systems involve external retrievals, etc. that need a bit more "intelligence" then "run and return 1,2,3" . :)
    Hope this is helpful for product feedback. If I'm mistaken on the WF capabilities please clue me in. :)
    btw, I'm an OWB fan, certainly. The progress over the past two years has been excellent.

  • Error says: Warning: Cannot modify header information

    I keep receiving an error message after my form is sent (the form still send the information I need just wont re-direct to the next page)
    It redirects to a page that says:
    Warning: Cannot modify header information - headers already sent by (output started at /home/tommyle/public_html/newp.php:10) in /home/tommyle/public_html/newp.php on line 41
    my php code looks like this:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Tommy Lemonade Beta</title>
    <link href="style1.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <?php
    /* Set e-mail recipient */
    $myemail = "profiles@tommylemonade";
    /* Check all form inputs using check_input function */
    $name = check_input($_POST['name'], "Enter your name");
    $subject = check_input($_POST['subject'], "Enter a subject");
    $email = check_input($_POST['email']);
    $message = check_input($_POST['message'], "Write your message");
    /* If e-mail is not valid show error message */
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
    show_error("E-mail address not valid");
    /* Let's prepare the message for the e-mail */
    $message = "
    Name: $name
    E-mail: $email
    Subject: $subject
    Message:
    $message
    /* Send the message using mail() function */
    mail($myemail, $subject, $message);
    /* Redirect visitor to the thank you page */
    header('Location: thanks.html');
    exit();
    /* Functions we used */
    function check_input($data, $problem='')
    $data = trim($data);
    $data = stripslashes($data);
    $data = htmlspecialchars($data);
    if ($problem && strlen($data) == 0)
    show_error($problem);
    return $data;
    function show_error($myError)
    ?>
    <html>
    <body>
    <p>Please correct the following error:</p>
    <strong><?php echo $myError; ?></strong>
    <p>Hit the back button and try again</p>
    </body>
    </html>
    <?php
    exit();
    ?>
    </body>
    </html>
    This is line 41:
    header('Location: thanks.html');
    Can anybody see what I'm missing?

    Yeah, rework the code so you don't get any output before the php code is executed (like below):
    <?php
    /* Set e-mail recipient */
    $myemail = "profiles@tommylemonade";
    /* Check all form inputs using check_input function */
    $name = check_input($_POST['name'], "Enter your name");
    $subject = check_input($_POST['subject'], "Enter a subject");
    $email = check_input($_POST['email']);
    $message = check_input($_POST['message'], "Write your message");
    /* If e-mail is not valid show error message */
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
    show_error("E-mail address not valid");
    /* Let's prepare the message for the e-mail */
    $message = "
    Name: $name
    E-mail: $email
    Subject: $subject
    Message: $message
    /* Send the message using mail() function */
    mail($myemail, $subject, $message);
    /* Redirect visitor to the thank you page */
    header('Location: thanks.html');
    exit();
    /* Functions we used */
    function check_input($data, $problem='')
    $data = trim($data);
    $data = stripslashes($data);
    $data = htmlspecialchars($data);
    if ($problem && strlen($data) == 0)
    show_error($problem);
    return $data;
    function show_error($myError)
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Tommy Lemonade Beta</title>
    <link href="style1.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <p>Please correct the following error:</p>
    <strong><?php echo $myError; ?></strong>
    <p>Hit the back button and try again</p>
    </body>
    </html>
    <?php
    exit();
    ?>

  • How can I include the Header Information....for a File to IDOC Scenario

    Hi,
    I made a File to IDOC Scenario with DEBMDM06 for MDM>XI>SAP R/3. The Header Information in the XML File which is at the XI end is Missing. For that reason In Tcode SXMB_MONI we are getting an Error that <b>"HEADER Information Missing: Message should Start with EDI_DC40"</b> i.e the Header Information.
      My Question is that whether we can do some changes in the Message mapping Step in the Integration Repository. I HardCoded the Few mandatory Fields that were there but it Again gave me the Same Error as above.
    Can you please Suggest some Solution for this. Since the data is Coming in from MDM part the Header information is not there but It actually Important as it has got all the Port Information.
      Kindly Inform me some Solutions.
    Thanks & Regards
    Somnath

    Hi Suraj,
      Thanks for ur Reply, but Since we are Doing a File to IDOC Scenario the IDOC DEBMDM is on the Right Side in Message Mapping and as U know it is Mandatory to Map an IDOC on the Right Part. EDI_DC40 is coming as it is there in the IDOC but our XML File Does not have that. If we Don't Map then it Becomes RED, which is an Error.
      Furthermore in the Receiver Agreement we have put the Necessary Details such as Sender Service and Receiver Service along with the IDOC Communication Channels.
      Can U give as a Better Insight on this Note how to check the Header Part as it is mandatory to MAP.We also tried to HARDCODE it by putting those Values and Mapping them to a Constant but it is Giving the Same Error.
    Thanks and Regards
    Somnath

  • Pass header from alv to excel

    hi,
    can any one explain me how to pass header from my alv report when i wish to download it to excel.
    but the problem here is the header of my alv report comes form a table in to which more fields can be added in future.now the table contains 10 fields in future fields may grow up to n.
    pls help with good solution i am using gui download to pass data to excel but only body of the report is downloaded.
    thnks
    vamsi

    Sample Code -
      CALL FUNCTION 'ALV_XXL_CALL'
           EXPORTING
                i_tabname           = 'T_GRID'    " Name of the Internal table
                it_fieldcat         = t_fcatk[]       " Field catalog
           TABLES
                it_outtab           = t_grid           " Interbnal table with data
           EXCEPTIONS
                fatal_error         = 1
                no_display_possible = 2
                OTHERS              = 3.
      IF sy-subrc <> 0.
        MESSAGE e806(bk).
      ENDIF.
    It opens the excel and passes the data directly. All you need to do is to pass your ALV's field catalog here. Just transfer your field catalog in the form of KKBLO_T_FIELDCAT. Thats it.

  • Error after compiling DFF at Title: Additional Header Information

    Hi All,
    The following error message is apeared after creating DFF at Title: Additional Header Information
    "The descriptive flexfield "Additional Header Information" of application "Order Management" uses features which are only supported in oracle forms. This flexfield may not function in other environment such as OA Framework or PL/SQL APIs."
    The numbers of warning messages: 3
    Can anyone advice please? Will this problem affect customizations?
    Best Regards,
    Hans Chang

    Hi everyone
    The issue is solved and here is the answer.
    "Logon to Oracle E-Business Suite.
    Go to System Administrator (or System Administration) --> Oracle Applications Manager --> License Manager
    In the license manager screen click on the link Languages.
    Click on the NEXT button.
    Verify whether American English is set as Base Language
    If American English is not set as Base Language. Select American English Radio button in the Lower part of the screen. Click on the Submit button."
    Thanks
    Engin

  • How to pass concurrent request_id dynamically into workflow Business event subscription.

    Hi All,
    I created a workflow to send notification to user with the details in the message body of the workflow.
    Attached the same workflow to the subscription created under the seeded Business event 'oracle.apps.fnd.concurrent.request.completed'.
    Enabled the Business event for the concurrent program 'XXTEST' for 'request completed.'
    Workflow flow is:  Event>FUNCTION>Notification>END.
    In my workflow there are 4 attributes, 1 attribute is input (request id) for the function(procedure) attached in the workflow, based on that 1 input attribute (request id) the rest of 3 attributes are derived.
    Presently I have given constant value for the Attribute (request id) under its properties. I need to pass it dynamically as soon as the conc request is submitted.
    As I said its working perfectly, i.e., user (EG_AFZAL) receives notification after conc request is completed.
    Kindly suggest how to pass request id in the workflow.
    Regards,
    Afzal.

    Hi SamK,
    I applied as u suggested above in the procedure, but it is giving compilation errors.
    Below is my procedure which is attached to function in the workflow.
    CREATE OR REPLACE PROCEDURE APPS.XXWF_EMP_DETAILS
    ( ITEM_TYPE IN VARCHAR2,
      ITEM_KEY IN VARCHAR2,
      ACT_ID IN NUMBER,
      FUNC_MODE IN VARCHAR2,
      RESULT_OUT OUT VARCHAR2)
      AS
      V_REQUEST_ID NUMBER;
      V_USER_NAME VARCHAR2(240);
      V_PAYROLL_NAME VARCHAR2(40);
      V_CREATION_DATE DATE;
       BEGIN
      IF FUNC_MODE = 'RUN' THEN
        --  V_REQUEST_ID := getvalueforparameter('REQUEST_ID') ;
      SELECT REQUEST_ID INTO V_REQUEST_ID
    FROM PAY_PAYROLL_ACTIONS
    WHERE CREATION_DATE IN (SELECT MAX(CREATION_DATE) FROM PAY_PAYROLL_ACTIONS);
    select pap.payroll_name, fu.user_name, paa.creation_date
    INTO V_PAYROLL_NAME, V_USER_NAME,V_CREATION_DATE
      from
    pay_payroll_actions paa,
    pay_all_payrolls_f pap,
    fnd_user fu
    WHERE PAA.REQUEST_ID =V_PERSON_ID-- 44345723
    and paa.payroll_id = pap.payroll_id
    and fu.user_id = paa.created_by;
      --ASSIGNING VALUES TO THE ATTRIBUTES IN THE WORKLOW
      WF_ENGINE.SETITEMATTRTEXT(ITEM_TYPE,ITEM_KEY,'EMP_NUMBER',  V_PAYROLL_NAME);
      WF_ENGINE.SETITEMATTRTEXT(ITEM_TYPE,ITEM_KEY,'FULL_NAME', V_USER_NAME);
      WF_ENGINE.SETITEMATTRDATE(ITEM_TYPE,ITEM_KEY,'HIRE_DATE',V_CREATION_DATE);
      END IF;
        RESULT_OUT := 'COMPLETE';
      END;
    Kindly suggest.
    Regards,
    Afzal.

  • Oracle Alerts - Suppressing Mime-Header information in plain text emails

    Hi there
    Is there a way to suppress Mime-header information at the top of an alert email? I mean this stuff:
    >
    Mime-Version: 1.0
    Content-Type: multipart/mixed;
         boundary="----=_Part_17_6226724.1264085542237"
    Content-Language: en
    X-oracle-workflow-nid: ALR[1/0000@DEVE]
    ------=_Part_17_6226724.1264085542237
    Content-Type: text/plain; charset=ISO-8859-15
    Content-Transfer-Encoding: 7bit
    Content-Language: en
    For some reason, it is appearing in some emails, but not others, and detracts from the readability of the alert text.
    Any help appreciated.
    Regards
    CK

    852970 wrote:
    Am still new in Oracle and am trying to find the solution for this i.e note 472822.1 - Odd Email Header And Footer In 11.5.10.2 Alert. How can locate this?? thanx alot
    My Oracle Support website -- https://support.oracle.com
    You need to valid username/password to access the site/doc.
    Thanks,
    Hussein

  • Handling header information present in flat file

    Hi All,
    We have an option to ignore flat file header information present in a flat file while cerating the flat file module.
    We need to extract the file creation date from the header information.Is there any way to make use of that header information?
    Thanks
    Avanish

    We have an option to ignore flat file header information present in a flat file while cerating the flat file module.
    Do not ignore the header
    We need to extract the file creation date from the header information.Is there any way to make use of that header information?
    Take the creation date value from the header, remaining wouldnt be matching so as it will be rejected the remaing values from the header

Maybe you are looking for

  • Faxing - Modem Does Not Detect Dial Tone

    Hello Everyone, I suddenly have a need to send and receive a Fax. I have a phone line plugged into the modem port on my G4 and on trying to send a text fax, not much happens. Error message to the effect that the modem is not detecting a dial tone. Sa

  • Mail opens on its own in 10.6

    Does anyone know why mail is opening all by itself on my 10.6.7 system? I do not use the mail program on my workstation and do not want to. I keep finding Mail open and prompting me to set up. Then it will not quit. I have to forcequit. Anyone know w

  • Changed to BT and so far a good news story....

    Just thought I'd report a pleasant experience as far as BB goes.  Even though I had sort of resigned myself to accept what I had been getting for the last few years ("nothing we can do because it's limited by the distance you are from the exchange, s

  • Should I shut down my computer when not in use

    should I shut down my computer when not in use, overnight for instance?

  • What Linksys wireless routers are compatible with SES?

    SES - Stands for SecureEasySetup. It is a tool that helps users configure wireless security the faster and the easier way. Here's the link: http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=2744 Message Edited by Vince_0