How to add information to header of request

Hi,
i am new Flex. I am facing one issue releated to request.
While making request i want to add one token ,this can be validated at server side to check the request is  valid or not.
But am unable to add this information to header of request
Following is the peice of code whic is am using:
var httpService:HTTPService = new HTTPService();
httpService.url = url;
httpService.method = method;
// TO DO: adding timer and transcation array
if(resultHandler != null){
httpService.addEventListener(ResultEvent.RESULT, resultHandler);
if(faultHandler != null){
httpService.addEventListener(FaultEvent.FAULT, faultHandler);
httpService.headers={"securi_token","0683b713-8529-45fd-a930-de132a87b171"};   // random genarated nuimber
httpService.send();
This is not working .Please help !!!!

Yes, it is possible. The CopyrightLayer script here: http://www.rags-int-inc.com/PhotoTechStuff/PscsScripts/ has an option (showIPTCDesc) that creates a text layer from IPTC Metadata. This should provide examples of how to place the text layer as well.
Cheers, Rags :-)

Similar Messages

  • How to add/change missing header lines in RNIF B2B?

    Hi all,
    We are using RNIF exchange protocol. We have sent invoice from BPEL to B2B. The message invoice reaches the trading partner but they are unable to process it or sent ack back as few header lines are missing in the RNIF envelope.
    Can anyone tell me or provide some pointers abt how to add/change missing header lines in B2B?
    These are the headers missing:
    Delivery header:
    <locationID> <Value>HostTradingPartner</Value> </locationID>
    Service Header:
    <messageStandard>
    <FreeFormText xml:lang="EN">PIDX</FreeFormText>
    </messageStandard> <standardVersion>
    <VersionIdentifier>1.0</VersionIdentifier>
    </standardVersion>
    Can anyone provide some inputs on this?

    As per RNIF standard, all these header elements (locationID in Delivery Header & messageStandard and standardVersion in Service Header) are optional. As you are using RossettNet over RNIF, so Oracle B2B might not be setting these headers.
    I do not have a 10g setup here so cann't test it. I would suggest you to raise a case with Oracle Support because PIDX is a non-RossettaNet standard and it's implementation in Oracle B2B will be different to RossettaNet implementation. Meanwhile, I would try the same in B2B 11g setup.
    Regards,
    Anuj

  • How to add information in account segment

    How to add information in account segment , can i create item segment similarly to account segment. I am complete new to the SBO system so can any one help me.
    Edited by: maskeyshekhar on Aug 9, 2010 3:34 PM
    Moderator message: relation to ABAP development is unclear, could be technical or functional or anything, please describe your problem in all detail in the appropriate SCN forum.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    locked by: Thomas Zloch on Aug 9, 2010 12:37 PM

    Hi KM,
    Doesn't seem to be quite straight forward.
    Similar query in below article.
    Custom
    attributes added to user objects not visible in OWA address book
    You might go through Introduction to Outlook Web App Customization 2010 and see if you can find anything useful.
    "How to Customize the Outlook Web App (OWA)Sign-In page in Exchange 2013"
    http://careexchange.in/how-to-customize-the-outlook-web-app-owasign-in-page-in-exchange-2013/
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • How to add empty soap header?

    Hello,
    I created a web service proxy using WSDL and XSD files. Then, I created a sample request from client interface and sent the request as an object to call the web services. However, I am not directly calling the webservices as I am doing it through a Gateway. Here, the problem is, the Gateway accepts only empty SOAP headers and the Gateway inserts the security details in that SOAP header and will send a request to the original web services. Even if we add any element in the SOAP header, it is not accepting the request.
    While sending a request through the client interface(Java class), I am not able to generate a empty SOAP header and send as request. I tried several ways adding a empty header. but no result. Is there any way we can add empty SOAP header while sending a requesting through Java class(Client interface)?
    Thanks
    sekhar

    Thanks for your reply.
    I have tried different approaches for adding empty SOAP header with no elements. But, none of them worked. The only solution for this issue is to add OSB proxy which has the functionality to send empty SOAP header which worked for me.
    Thanks
    sekhar

  • How to add config changes in Transport Request

    Hi Experts,
    We did some config changes in Logistics - General=>Material Master=>Configuring the Material Master=>Define structure of Data screen for screen sequence / Assign Secondary sequence / Maintain Order of Main and Additional Screens.
    But while saving this config of  Assign Secondary sequence / Maintain Order of Main and Additional Screens its not asking for Transport Request.
    Even i checked in the menu of EDIT-Tranport entries, but the menu's are in disable mode.
    Can anyone guide me how to add this two fields config changes in to TR?
    Thanks and regards,
    Anandhan

    Hi,
    This is really strage.
    However you can try the following.
    upon entering the config node, use the first menu option in which option "transport" would be there.
    Upon clicking it, the same table opens in display mode.
    Select the entries that you have created and use the option "include in transport"
    When asked for, provide teh transport number.
    Alternatively you can create a transport and them use SE10 to include entries from tables that you can select.
    ou may need teh help of an experinced ABAPer or Basis to do it if you are not confortable doing it yourself.
    However if the config effects multiple tables, then this is not a viable option as you need to know all the impacted tables.
    hope this helps.

  • How to add bookmarks to header strip and dock

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/876192]]</blockquote>
    how to add bookmarked sites to header strip below toolbar and above tab strip so that I can enter w/click- visible even when using other tabs, and how can frequent sites be added to mac dock which holds frequently used apps

    If you are using build-in APIs to show PDF in windows store app, you can save the page index as bookmarks. See more code snippets from
    https://code.msdn.microsoft.com/windowsapps/PDF-viewer-showcase-sample-39ced1e8.  

  • How to retrieve SOAP Original Header from request and response

    Hi,
    Does anyone know how to retrieve SOAP original header from SOAP request and response? I surfed but I'm able to see only the retrieval of SOAP custom headers via BPM mediator. Can anyone please help me regarding this? Also Please tell me how to check the headers in the Enterprise Manager.

    HI Chandra,
    Thanks for your suggestions.
    But i think in my case we do not want to get the complete list. We still want to get only 100 items initially and then if the user would scroll down he/she would see more items. But we already need to know the total number of items for the purpose of showing a message to the user. For e.g. Total issues (515),  but the table would initially show only 100 and then another 100 after scroll. So setting the size litmit to max would not help.
    And to be able to use the $count you mentioned, we have to still make another oData service call which we do not want.
    But as i mentioned there is already a property named "__count" in the response of the bindItems() method call and i see that it has correct count but not sure how to retrieve it inside the controller. Thanks.
    Regards,
    Ashish

  • How to add a soap header in the mesage

    Hi expert:
       We have a problem about this synchronous scenario: ECC(ABAP Proxy)>PI>P6(SOAP),  In P6,it need additional soap header as below:
    <soapenv:Header>
    <wsse:Security mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-5700630" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>admin</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">admin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    How can i add this header to the receiver message?

    Hi
    Create an XSL file like below and use in your mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <soapenv:Header>
    <wsse:Security mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-5700630" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>admin</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">admin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
             <xsl:copy-of select=""/>*     
    </xsl:template>
    </xsl:stylesheet>

  • How to add X-authenticated header with SMTP-auth

    I have smtp-auth working here. I also have normal mail header to see what ip the message is coming from. But I'd like to add X-authenticated to signature the mail is authenticated by end user.
    Can I do that? What parameter i can use for message filter?
    Many thanks.
    Chris

    Currently you can't ; however, you should open a case with IronPort and request that feature - the more that request the feature the better the chance for it to get implemented. My company has already requested this feature. We asked for a variable and a condition that we could use in filters.

  • How to add object back to transport request?

    I deleted a function module from a workbench transport request.  Now, I would like to add it back to this transport request.  How can I do this?  When I go to the include objects on the transport organizer, I do not see an option for selection function modules to be added back.
    Thanks,
    Ram.

    Hi Ram,
    Object status locked means that the same object can not be added in another request.
    The objects will be locked automatically when change/ create a object.
    But in your case since you have manually added the object in TR, so you have lock to manually.
    For that In SE10 itself select the request and goto request/task>object list> Lock.
    It will lock the object.
    Hope this helps you.
    Thanks,
    Arun

  • How to add button on heading just like this page in template?

    Hi,
    I'd like to create template that have many buttons on heading
    just like this page. But in the wizard to create template, it
    can only add three button: one for application,another for
    home,and the other for help. What should I do? Do I create
    template by coding? Please tell me.
    Thanks,
    Sirin

    You need to use an unstructured UI template. Structured UI
    templates are not supported with Portal pages.
    Regards,
    Jerry

  • How to add a Soap header to a Java client

    Hello,
    I am new in Web Services.I am struggling to set Header using Although is has been added through handler. But My requirement is to add Header at client side not from server side. Following test code is being used to set at header despite it is not working .
    Map<String, Object> req_ctx = ((BindingProvider)c).getRequestContext();
         req_ctx.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:7001/CalculatorWS/CalculatorProgram?wsdl");
         Map<String, List<String>> headers = new HashMap<String, List<String>>();
         headers.put("Username", Collections.singletonList("mkyong"));
         headers.put("Password", Collections.singletonList("password"));
         req_ctx.put(MessageContext.HTTP_REQUEST_HEADERS, headers);
    Please help me to solve this problem.

    Many thanks to reply.
    It had been done by handler.Handler is deploy at server side,In contrast we need to set handler from client side. with the help of google i found piece of code, follow as below.But it is not working for me.
    Need help am i missing something in this code Or what do i use different approach ?
    Map<String, Object> req_ctx = ((BindingProvider)c).getRequestContext();
    req_ctx.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:7001/CalculatorWS/CalculatorProgram?wsdl");
    Map<String, List<String>> headers = new HashMap<String, List<String>>();
    headers.put("Username", Collections.singletonList("mkyong"));
    headers.put("Password", Collections.singletonList("password"));
    req_ctx.put(MessageContext.HTTP_REQUEST_HEADERS, headers);

  • Need to add information/data to the Quote Print output for a quote

    I am trying to modify the print quote output generated after selecting a quote on the quote form. I need to know how to add information to this output.
    I am not sure where the output is selected from. How do I modify the select to include information from other tables in oracle. I am using the ASOPRINT.xsl routine. Any help would be greatly appreciated.
    Charles Harding

    Hi,
    From the xsl file I could figure out that the data for the quote lines is generated from the line <xsl:call-template name="line.table">. I would like to have some conditions added to it so that I can have particular type of items displayed on the PDF output. I am unable to figure out where I can add these conditions. Could someone help me in this? Any help would be appreciated.
    Thank You,
    Sowjanya

  • How to add additionnal information in EP Logon UI Header ?

    Hi all,
    I would add informations in the message "Welcome FirstName LastName" onto the EP Logon UI header.
    I could find the variable for the "Welcome" text (in logonLabels_LG.properties file), so I do not know how to add a variable (for example the Personnal Number or the Position from ECC HR) next the first and last name.
    So I could find the JSP page HeaderiView.jsp which contains the method GetWelcomeMsg(), so this one retrieve in "request" variable only first and last name...
    I suppose the next step is in the NW Developper Studio, so which object will I have to modify ? And How ?
    SAP Version:
    EP 7.0 SPS15
    ECC 6.0
    NWDI not deployed.
    Thanks in advance to all for your help,
    Olivier

    Hi,
    Hi Check this .
    How to modify the header
    Modifying the Masthead iView
    Modify com.sap.portal.navigation.masthead
    Modifying the masthead par
    how to place the modified masthead in place of default masthead in framewor
    Thanks and Regards,
    gopal.sattiraju

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

Maybe you are looking for