Which OAM setting for passing values in HTTP header to application

Experts, what is the setting in OAM 11gR2 that is set to pass a userid pulled from a LDAP directory (which is already configured with OAM) as a HTTP Header to an application.
This is typically in cases where OAM is protecting or providing to protected resources on a Web Server or application.
Is this setting (in OAM) by default set to userid? I wanted to know exactly where and how to set this value in OAM Console settings.

In the protected resource policy and protected authorization policy in the responses tab set parameters to return headers for example if you want to return userid under name set header name like user_name, type header and the value as $user.userid. By default I guess OAM_REMOTE_USER is set in the http headers which contains the user id.

Similar Messages

  • Server did not recognize the value of HTTP Header SOAPAction: .

    hello friends,
    I am wrote a WebService client as below
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    public class AtmuClient
    public static void main(String [] args) {
    try {
    String req="request";
    String endpoint ="http://10.1.3.104/mims/service.asmx?WSDL";
    String nameSpaceUri = "http://www.cum.com/MIMS";
    Service service = new Service();
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress( new java.net.URL(endpoint) );
    call.setOperationName(new QName(nameSpaceUri, "echoString") );
    String ret = (String) call.invoke( new Object[] { req } );
    System.out.println("Sent 'Hello!', got '" + ret + "'");
    } catch (Exception e) {
    System.err.println(e.toString());
    the out put I am getting is
    Server did not recognize the value of HTTP Header SOAPAction: .
    what still I need to incorporate to my code. Do i need to add any methods still ? and one more thing is do i need to write WSDD for this? how ?. can any bady guide me
    thanQ for any greatful guidance.
    HAN.

    Try setting an empty header object for the Call
    SOAPContext ctx = new SOAPContext();
         Header header = new Header();
         Call call = new Call("", "", params, header, "", ctx);   Regards
    Byju Joy

  • BC Ecommerce SOAP Error: Server did not recognize the value of HTTP Header SOAPAction

    I am trying to add a product to an ecommerce site with this soap action: Product_UpdateInsert
    I have followed this very brief instruction: https://jollyrogers.worldsecuresystems.com/catalystwebservice/catalystecommercewebservice. asmx?op=Product_UpdateInsert
    I have a html page in a secure area with a jQuery ajax soap script.
    I get the this error when I run the script:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Server did not recognize the value of HTTP Header SOAPAction: https://jollyrogers.worldsecuresystems.com/CatalystDeveloperService/CatalystEcommerceWebse rvice/Product_UpdateInsert.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
    I have also tried to add a header with the Soap action with the beforeSend in the ajax call.
    This must have been solved before I suppose?
    Here is my script:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>Test SOAP Request</title>
        <script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.min.js"></script>
        <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.1/underscore-min.js"></script>
        <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script>
        <script type="text/javascript" src="//cdn.worldsecuresystems.com/bcapi/bcapi-0.0.1.min.js"></script>
    </head>
    <body>
    <script>
    var wsUrl = "https://jollyrogers.worldsecuresystems.com/catalystwebservice/catalystecommercewebservice. asmx";
    var soapRequest =
    '<?xml version="1.0" encoding="utf-8"?> \
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> \
      <soap12:Body> \
        <Product_UpdateInsert xmlns="https://jollyrogers.worldsecuresystems.com/CatalystDeveloperService/CatalystEcommerceWebse rvice"> \
          <username>myEmailAdress</username> \
          <password>mySecretPassw</password> \
          <siteId>1894001</siteId> \
          <productList> \
            <Products> \
              <productCode>ZJAWEyuuyN</productCode> \
              <productName>My test product</productName> \
              <description>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</description> \
              <smallImage>/images/product1/small.jpg</smallImage> \
              <largeImage>/images/product1/large.jpg</largeImage> \
             <cataloguesArray> \
                 <string>/Store/</string> \
              </cataloguesArray> \
              <pricesSaleArray> \
                <string>US/19.95,3/17.96,7/16.96</string> \
              </pricesSaleArray> \
              <pricesRetailArray> \
                <string>US/20,5/19,8/20</string> \
              </pricesRetailArray> \
              <pricesWholesaleArray> \
                <string>US/20,5/19,8/20</string> \
              </pricesWholesaleArray> \
              <wholesaleTaxCodeArray> \
                <string>US/0.00</string> \
              </wholesaleTaxCodeArray> \
              <taxCodeArray> \
                <string>GB/VAT</string> \
              </taxCodeArray> \
              <groupProducts> \
                <string>580H0036BL</string> \
                <string>ACAI60</string> \
                <string>ABC-123</string> \
              </groupProducts> \
              <groupProductsDescriptions> \
                <string>Lorem ipsum dolor sit amet</string> \
                <string>consectetur adipisicing elit</string> \
              </groupProductsDescriptions> \
              <supplierEntityId>1234</supplierEntityId> \
              <supplierCommission>0</supplierCommission> \
              <weight>30</weight> \
              <tags>NEW!</tags> \
              <unitType>string</unitType> \
              <minUnits>0</minUnits> \
              <maxUnits>2</maxUnits> \
              <inStock>43</inStock> \
              <onOrder>3</onOrder> \
              <reOrder>2</reOrder> \
              <inventoryControl>true</inventoryControl> \
              <canPreOrder>true</canPreOrder> \
              <custom1>Text in custom field 1</custom1> \
              <custom2>Text in custom field 2</custom2> \
              <custom3>Text in custom field 3</custom3> \
              <custom4>Text in custom field 4</custom4> \
              <popletImages>/images/image1.jpg;/images/image2.jpg;</popletImages> \
              <enabled>true</enabled> \
              <deleted>false</deleted> \
              <captureDetails>true</captureDetails> \
              <downloadLimitCount>20</downloadLimitCount> \
              <limitDownloadsToIP>0</limitDownloadsToIP> \
              <isOnSale>true</isOnSale> \
              <hideIfNoStock>true</hideIfNoStock> \
              <productAttributes>Size*|5|Y:L||UK/2|US/20,S||UK/1|US/10</productAttributes> \
              <isGiftVoucher>false</isGiftVoucher> \
              <enableDropShipping>true</enableDropShipping> \
              <productWeight>0</productWeight> \
              <productWidth>0</productWidth> \
              <productHeight>0</productHeight> \
              <productDepth>0</productDepth> \
              <excludeFromSearch>false</excludeFromSearch> \
              <productTitle>My product title</productTitle> \
              <cycletypeId>3</cycletypeId> \
              <cycletypeCount>-1</cycletypeCount> \
              <slug>my-product</slug> \
              <hasVariations>true</hasVariations> \
              <variations> \
                <ProductVariation xsi:nil="true" /> \
                <ProductVariation xsi:nil="true" /> \
              </variations> \
            </Products> \
          </productList> \
        </Product_UpdateInsert> \
      </soap12:Body> \
    </soap12:Envelope>';
    $.ajax({
         type: "POST",
         beforeSend: function(xhr){xhr.setRequestHeader('SOAPAction', 'https://jollyrogers.worldsecuresystems.com/CatalystDeveloperService/CatalystEcommerceWebse rvice/Product_UpdateInsert');},
         url: wsUrl,
         contentType: "text/xml",
         dataType: "xml",
         data: soapRequest,
         success: processSuccess,
         error: processError
    function processSuccess(data, status, req)
       if (status == "success")
       alert("Success!");
    function processError(data, status, req)
       alert("Failed!");
       alert(req.responseText + " " + status);
    </script>
    </body>
    </html>

    This line is a target namespace so it should not be changed: <Product_Retrieve xmlns="http://tempuri.org/CatalystDeveloperService/CatalystEcommerceWebservice"> It is very easy to think that it's a placeholder and that it should be replaced with your own url, which it should not and which will fail.
    This works now:
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <title>Test 7 SOAP Request</title>
            <script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script>
        </head>
        <body>
            <script>    
                var SoapMessage = '<?xml version="1.0" encoding="utf-8"?> \
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> \
    <soap12:Body> \
    <Product_Retrieve xmlns="http://tempuri.org/CatalystDeveloperService/CatalystEcommerceWebservice"> \
    <username>Your Email</username> \
    <password>Your password</password> \
    <siteId>1894001</siteId> \
    <productCode>HHKDKXS5MB</productCode> \
                </Product_Retrieve> \
                </soap12:Body> \
                </soap12:Envelope>';
                var url = "https://jollyrogers.worldsecuresystems.com/catalystwebservice/catalystecommercewebservice. asmx";
                $.support.cors = true;
                $.ajax({
                    type: "POST",
                    url: url,
                    data: SoapMessage,
                    dataType: "xml",
                    processData: true,
                    contentType: "text/xml; charset=\"utf-8\"",
                    success: function (msg) {
                        alert("suc: " + msg);
                    error: function (msg) {
                        alert("Failed: " + msg);
            </script>
        </body>
    </html>   

  • Which Playback Setting for 1080P

    Right setup is:
    Blackmage Decklink HD
    Final Cut Studio 2
    External Monitor connected through HD-SDI
    Footage XDCAM-EX 1080P 25fps
    My question is purely to do with External Playback. The sequence we are editing in is fine because we just match settings.
    So in External Playback Settings which one do we choose from the List.
    We normally shoot 1080 50i - so i normally choose "Blackmagic HDTV 1080i 25hz 10bit 1920 x 1080" and all works fine.
    However I want to choose a progressive setting to make sure playback on monitor is perfect but there doesn't seem to be an equivalent setting in the presets.
    There are 1080P settings but they aren't 25hz but 24 and 23.xxx settings which when we choose means the monitor will only show a still. Which normally indicates and incompatible mode.
    At the moment we are using the 1080i setting and it looks pretty good but "appears" to be a little motion blurred which i assume is the incorrect interlacing setting.
    Any help would be much appreciated.. and do let me know you need more information.
    Cheers
    Rob

    Thanks for the reply guys much apprecaited.. the monitory we are using is a Sony LMD2450. Which I hope is a nice monitor as it cost enough and lets us view at full pixels. We are connected to it using HD-SDI
    http://www.sony.co.uk/biz/view/ShowProduct.action?product=LMD-2450W
    Glad we have the correct setting for Blackmagic and think any slight weirdness in movement was us just expecting there to be some because of the setting.
    Sorry to ask another question but is there any good tutorials about setting up a monitor to work with FCP eg. for Colour Correction applications...
    Cheers and thanks again
    Rob

  • Permanantly removing vendor from sap which are set for deletion flag

    Hai Pals,
    I want step by step explanation of how to delete vendors which are marked for deletion.I have check the forum & got only transaction code SARA & Archiving object FI_ACCPAYB.I dont know hau to proceed further please give some explanation to proceed further

    Archiving is done from transaction SARA.
    Enter the object, then hit enter.
    to get the object specific steps, these are process from top to down. 
    You have to do the customizing first, which can be done from SARA transaction as well.
    Follow the link to the very details.
    See the menu on the left, expecially the first knot "Introduction to Data Archiving (CA-ARC)"
    http://help.sap.com/saphelp_erp2005/helpdata/en/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm

  • How to understand which BC set for Object BUS 2121 has to be used.

    hi,
    How do we understand this,
    If i have a BO BUS 2121 - then how do i know which BC set has to be used. and wht would be the suitable  BC Set for my reuirement .
    On what basis would i come to know that what would be the prefered BC set for this.
    Kindly suggest me with some solution or suggestion
    Thanks,
    shankar

    Hi,
    BCSet is just sample configurations for your quick system setup. You can learn process level definition setting from sample BSSet configuration and copy/enhance it for customer scenario.
    For BUS2121, there are 3 BCSet are available.
    /SAPSRM/C_SC_600_000_SP04  Shopping Cart Without Approval
    /SAPSRM/C_SC_600_001_SP04  SHopping Cart with One-Level Manager Approval
    /SAPSRM/T_SC_600_000_SP04  Test Workflow Settings: Shopping Cart ( Several samples )
    Regards,
    Masa

  • Change Default Application level setting for checkbox value from "On"/"Off" to 1/0

    Hi,
      I am creating livecycle designer forms. In that the checkboxes take a default value of "On'/"Off" and I have to change it to 1 and 0 in all the boxes on layout checkbox property.
    In livecycle i have to change it in Object-Binding tab.
      Is there an application level setting where I can set the default to 1 and 0 instead of "on/"off" at the app level itself? this way every new form will have 0 and 1 instead of off/on
    I export the form data to XML and push it to database and it needs 1 and 0.
    I need the app setting for both Adobe Acrobat 9 Extended Pro
    Please help

    It is 1/0 by default .....if you drag a checkbox from the object library onto the canvas and you are getting on/off as your default, then you have modified th eobject. You can set the object the way you want (anf property not just binding) and then you can drag the object back onto the Library palette. This will ask you to name it and if you choose the same name it will overwrite the one that is in the library.
    Paul

  • ALV WebDynpro Hierarchy -Setting non-numeric values in the header level row

    Hi Experts,
    When setting up an ALV table as a table hierarchy the standard ALV settings only seem to allow for numeric values to be displayed in the higher hierarchy levels. Is there a way to also set the values for some non-numeric columns into these higher-level rows - programmatically or through the ALV Settings?
    Example: I have delivery item level data in my context and the delivery number as a hierarchy column. Some columns in my context however actually come from the delivery header e.g. delivery block, delivery priority, ship-to etc and I would like to display these in the collapsed header rows of the delivery number.
    It seems obvious to me that this should be doable otherwise if you are looking at at a list of hundreds of deliveries and all you see besides the delivery number is numeric data such as sums & totals, it's kind of hard to know which delivery you might want to expand the sub-level for.
    Please help,
    Peter

    Hi,
    Even we have faced the same issue.
    In ALV hierarchy, we cannot display data at header items/levels. this is a constraint in ALV. You can achieve the same usign TABLE UI element.

  • Problem setting Unicode (utf-8) in http header using tomcat

    Hi:
    I am trying to set a file name in utf-8 to http header using the following code:
    response.setContentType("text/html; charset=utf-8");
    response.setHeader("Content-disposition", "attachment; filename=&#35299;&#27770;.zip");
    // I actually has file name in utf-8 here to set to the header, and I know that the name is correctly
    // and I also looked into the response object MimeHeaders object and saw the head is correctly there
    then write the content of zip file using ServletOutputStream.
    The problem I have is that the file name is not displayed correctly when prompted to save or open in the pop up window next. I found out using Fiddler that the request header is wrong:
    Content-disposition: attachment; filename=&#65533;zn&#65533;�.zip
    I am using Tomcat 5.0.28. Any idea how to get this working?
    Thanks in advance!

    You are setting the charset for the content to be UTF-8. (That is why the method is called setContentType.) But HTTP headers are not part of the content and so that has no effect on the header.
    The original specification for HTTP only allowed US-ASCII characters in headers. It is possible that more recent versions have features that allow for non-ASCII header data, but I don't know if that is the case or how you would use those features if they exist.

  • OamAuthn cookies are not set with encrypted value in https login with FFbro

    we have developed a custom login page which is deployed on oam server itself .
    In custom login page we are passing 3 userinfo like username ,passowrd and request id as part of authentication parameter .
    We have developed our own javascript to pass all these information using ajax call .
    Below are the snippet of ajax method which is posting the data to oam server .
    var uname = $("#username").val();
    var pwd = $("#password").val();
    pwd = pwd.replace( /&/g, '%26' );
    var requestId = $("#request_id").val();
    var oamAuthenticationUrl=$("#oamAuthUrl").val()+'/oam/server/auth_cred_submit';
    var postdata = "username=" + uname + "&password=" + pwd + "&request_id=" + requestId;
    $.ajax( {
    type :'POST', url : oamAuthenticationUrl, data :postdata,
    complete : function (xmlHttp, statusCode) {
    // some code if user login is done successfully ......
    Here we are making login page call using ssl port Like our login page is https://oamserver:14101/.....
    This code is working perfectly fine in internet explorer but in firefox oracle access manager is not setting any value to oamAuthnCookeis.
    I mean before logging and after logging value of oamAuthnCookies remains same like
    LoggedoutContinue .
    Thanks,
    Arun

    This is a known issue of CEP (Common Extensibility Platform, a DLL that supports displaying extensions). Code like “document.cookie” in HTML extension is invalid because CEF (CEP integrated CEF3 to display HTML Extensions) intentionally disables cookies on "file://..." for a variety of reasons.
    However, CEP stores cookies at:
    Windows: "C:\Users\yourusername\AppData\Local\Temp\cep_cookies"
    Mac: "/Users/yourusername/Library/Logs/CSXS/cep_cookies"
    Please let me know if more information is needed, thanks

  • I have just got a new macbook pro and am trying to sync my iTunes, however i have an old acount that i have all my music on and a new account which is set for only me which is now on my phone and the main account on my laptop. help please

    with my purchase of the new macbook pro i have been unable to upload any music from my iphone or any other details except from my pictures. I tried to set up the icloud but i am having difficulties doing so as all my music on my phone is under an old shared account and on my laptop i have a new account specifically for me which has also been newly uploaded onto my phone with the £70 voucher.

    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • Required setting for Locale values for Arabic db in oracle 10g

    I want to create a new db in Oracle 10g for storing the arabic data.
    My client machine is Arabic Windows XP.
    What are the steps that i will need to follow to make the db arabic supported.
    What streps will be required if i choose to make it unicode supported?
    Setting the following:-
    1. Set Database Character Set to AL32UTF8 for the Oracle Server.
    2. Set the NLS_LANG to ARABIC_LIBYA.UTF8 (on Arabic Windows xp)
    Will do the work?

    The database character set should be AL32UTF8 for Unicode support. This is a recommended setting.
    As far as NLS_LANG is concerned, this strongly depends on how your client application is written (what technology, which Oracle access API). For example, for SQL*Plus, the NLS_LANG must be set to AR8MSWIN1256, as SQL*Plus does not support Unicode on Windows, only the ANSI code page. For SQL Developer, the NLS_LANG does not matter at all.
    -- Sergiusz

  • OMS2 setting for quantity & Value update.

    Whenever new plant is  created (after go live), we have to do the the Qty & Value update (OMS2)  for that new plant/valuation area for each individual material type.
    While doing this we have select the material type  individually for each material type & then checking the Qty & Update field which takes lot of time.
    I like to understand is there any smart way to update the quantity & value update for all material type in single screen. Currently we have to go to individually for each material type.
    This will save lot of time & Smartness in consultant work.

    Hi,
    Plant is considered as an operating area or a branch or a location within a company which concerning with production facility or branch office or large warehouse storage .
    When a new plant is created – it is always better to check OMS2, OMWD and other related assignment or copy from existing running plant. Also there are other related factors individually involved to plant only for which a new plant is required; all are needs to be attended. So instead of saving time, better check all settings (excise registration, if any) for anew plant to work business effectively.
    Regards,
    Biju K

  • To create a Crystal Report which will prompt for a value and if nothing is entered select the alternative value from the database record.

    Hi Experts,
    I am working on a report in Crystal (2008) which will prompt user to input a value, but if nothing is entered then it will select relevant database value.
    I created a string parameter prompt called "{?Pack_Qty_Overide}" and used the following formula.
    IF {?Pack_Qty_Overide} = ""
    THEN {OITM.SalPackUn}
    ELSE {?Pack_Qty_Overide}
    However, when I check the formula in editor, it says that there should be a number at the end of "Else" clause.
    What am I doing wrong?

    Hi Janos,
    OITM.SalPackUn is Numeric(19.6). When I used parameter input type as number, my formula returned error that "A number is required here" at the "if .... " statement.
    So I used the formula you provided and it worked, such that when I input a quantity in parameter prompt it would display that, but if no override value given, the field remains blank - i.e. it does not display the value stored in OITM.SalPackUn.
    What am I doing wrong?
    Thanks,
    YP

  • Which Audio Setting for MPEG share for use on PC or burning to DVD???

    I just "shared" a movie (a slide and video show with soundtrack edited on Premier Elements 8)  to "Use for playback on this PC or burning to DVD"  (created an MPEG).  The audio export didn't work though.  I used the NTSC DVD Standard preset that gives the 192 kbps, 48 kHz, Dolby Digital audio setting.  Is this the setting I should use, or is there another audio setting that would work?  There is just silence on the end product.  Thanks for any help.

    Now, are you burning to a DVD-data, or to a DVD-Video?
    If the latter, then you can either Burn to Disc from PrE, or can Burn to Folder, and then use Roxio, Nero, or the great, free burning utility, ImgBurn to do the physical Burn.
    Some time back, WMP had the DVD playability disabled for all burned DVD-Videos. Not sure if MS has added that back in. To the best of my knowledge, WMP has no burning capabilities in it, but could be wrong with the newest versions.
    Hope someone else has ideas, and a better knowledge of most recent versions of WMP.
    Good luck,
    Hunt

Maybe you are looking for

  • Php and float issue

    I have created a <div "content"> with inside two divs: <div "left"> and <div "right"> I want both to be adjacent, so the left div I float. In the left I want some images and text, in the right I want a php form. This form works perfect in a regular d

  • PO value

    Hi i want to prepare custom report for the following details. please provide me related tables and logic to fetch data from tables. it is urgent please. link of tables.please provide me from which table which value to take. pfoe Po value shall take f

  • Portal admin tasks / Portal Monitoring

    Hi, I am new for EPP, and I would like to know tasks list for Basis person at EPP level. If any idea please let me know. Also if possible please tell me performance & monitoring areas in EP. Regards RP

  • Active Directory cn field not updated from sap HR using ldap.

    Hi, Apologies if this is in the wrong forum area. I am using the LDAP facility to create and modify Active Directory records from sap HR. Initially, the name field cn that was coming across into AD was in the format of the logical system and employee

  • Manipulate programmatically struts-config.xml

    Hi, Can you please share your thought on the best way (or any way, as a matter of fact) one can manipulate the struts-config.xml from a JDeveloper extension ? I can obtain the node using Node node = NodeFactory.find( url ); (where url is the URL for