How to set HTTP header field "cookie" with http receiver adapter?

Hi,
I am using http receiver adapter (not axis) in a scenario. I could not set a parameter with key cookie in http header. Is there some kind of restriction to set it? I am able to set others like connection and create custom fields using ASMA and dynamic key configuration via UDF on mapping.
Could you please comment on, is cookie http parameter special or noneditable by PI's http adapter? I am looking for a solution without editing any abap code...
Regards,

I believe it is possible since axis adapter provides very same functionality. Let me summarize my scenario may be it helps:
I am trying to call series of webservice lets say in a BPM. First service (login service) will provide me with a session id (in http header with key Set-Cookie) then I will call another service which has that session id in its http header with key cookie then I am going to logout. So I am testing the second part now, but it doest let me send cookie http header parameter.
I hope I clarified a bit more my problem.
Regards,

Similar Messages

  • Get a specific Http header field from an http request in a component

    Hello,
    In a custom component that I've created ( which extends ServiceHandler), I'd like to access a specific http header field from the http requests that this component receives.
    I assume this could be accessible through m_binder or m_service, but I didn't find any solution so far.
    Any Idea?
    Thanks in advance,
    Leo

    As it may help others, I answer what I figured out.
    Every details of the http request is put into the m_binder.
    So a specific field can be accessed with m_binder.getEnvironmentValue("My_data")
    You can also list all the available data as it is a standard properties set.

  • How to set ApplIndentityData header field in JMS adapter

    Hi Guys ,
        I have one requirement for update the field in SAP JMS header. I am using transport protocol for IBM Websphere MQ in JMS adapter.
    While sending data to IBM Websphere MQ Queue via JMS Adapter, need to set the field called ApplIndentityData with the appropriate value which is populate to a MQHRF2 header of a message.
    So, regarding that where will do it? Means JMS receiver adapter or IBM MQ level. If JMS receiver adapter, I think using ASMA, So please guide me how to set this filed value in JMS adapter or share any document you have.
    Thanks & regards
    Vijaykumar S

    Hi RejaSekar,
           I reffered your blog and did the below settings in JMS module and ASMA settings. 
    1) Changed the mode for u201CJMS-Complaintu201D instead of u201CWebsphere MQ(non JMS)u201D
    2) Additional JMS message properties tab created below property name and java type.
           LocalName    --> String
           Partname      -->  String
    3) In module parameter tab added the below module name and key
        AF_Modules/DynamicConfigurationBean   -->  LocalEnterpriseBean  -->  RFH2HEADER
    4) Under parameter Tab
         RFH2HEADER       -->   key.0      -->     insert http://sap.com/XI/System/JMS  DCJMSMessageProperty0
         RFH2HEADER       -->   key.1      -->     insert http://sap.com/XI/System/JMS  DCJMSMessageProperty0
         RFH2HEADER      -->  value.0    -->    LocalName
         RFH2HEADER      -->  value.1    -->    PartnerName
    Kindly check the above settings whether this is correct or wrong. If anything wrong please let me know what we need to change JMS receiver adapter.
    Actually my requirement is need to set these parameters and set the value to that parameters and pass in to /usr folder of a WebsphereMQ message.
    Kindly check and help me out.
    Thanks & regards
    Vijayakumar S

  • How to set Priority of JMS message in the Receiver adapter

    Hi,
    How can I set the priority of message going to MQ in the receiver JMS adapter. I tried to set a value in the <b>JMS message Priroty</b> field. But it is not working.
    In the receiving  queue manager the default priority of the queue which receives data is set to 0.
    Can anyone suggest how to get this done.
    Thanks in Advance
    Abinash

    Hi Ravi,
    If I am not wrong You are referring to article <b>Queues for Prioritized Message</b>. But this is about how to Prioritize message inside XI.
    What I am intresetd in is to set a message priority (for example "2")for the message going to MQ. That is when the message reached the detination queue the priority of this message should be 2 in the queue.
    Thanks
    Abinash

  • 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

  • Hoiw do I get HTTP Header fields?

    Hi,
    I want to get the http header field If-None-Match. How do I get a hold of the HTTP headers for a request? I do not want to use If-Modified-Since due the the problems with out of synchronized clocks, determining time zones etc.
    The content is in a BLOB, and I don't want to deliver it at all if not necessary. OWA_CACHE does not help, it still delivers the large amount of data.
    I can set the ETag header, no problem, but how do I get theIf-None-Match header field returned from the browser so I can avoid unnecessary content delivery?
    Thanks,
    Larry

    Is there a mod_plsql forum?
    I can't seem to find it, this looked the closest since I am under the impression HTMLDB depends on mod_plsql...
    Larry

  • Soap receiver - owerwrite default http header fields

    Hi,
    I'm using the soap receiver adapter in nosoap mode.
    How can I owerwrite the default settings for the header fields in the http request?
    The soap adapter will automatically set content-type = application/xml.
    I would like for example set "text/xml".
    Thanks,
    Bela

    Dear Mohan,
    I tryed with the keep headers option but it didn't change anything to the HTTP header fields.
    In the documentation we have the following : Keep Headers
    If you want to include the header of the XI message in the Web service message, set the indicator.
    Does it mean that I have to create a HTTP header section in the XI message??? Do you have an example?
    Best regards,
    Bela

  • HTTP Header fields in SOAP adapter - Part 2

    Hi All,
    With regards to my previous thread HTTP Header fields in SOAP adapter
    my header issue is solved and hence I have closed the thread but still I am not able to make the connection successful. The new problem is below
    My vendor requirement is to specify the header as "Ent-sender" but when we give the same in XI in communication channel it automatically convets into uppercase "ENT-SENDER".  Due to case-sensitive in vendor server the connection is not gettingestablished.
    Please help me out how to solve the problem.
    <b>Note:</b> Sorry for the new thread as it was created due to new problem and also the previuos thread is already too long.
    Regards,
    Dhill

    Hi Neaves,
      Thank you, I jave seen the note and find the below solution will be some what realated to my prblem.
    <u><b>The nosoap mode lets the adapter send the XI payload directly without wrapping it in the SOAP envelope. Although the main use of this mode is to send some plain text content directly to some web server, one can use this mode to send their own SOAP message (e.g., with arbitrary headers) to an external web service (See related questions). In this case, the XI payload must be formatted in the SOAP envelope.
               To use the nosoap mode, the channel must be configured to use no SOAP envelope.</b></u>
    If yes, can you please let me know how to use nosoap mode otherise let me the other possibilities.  I am already using tcpg2.zip to trace the SOAP adapter in which it was confirmed that XI is changing the header automatically into CAPS whatever case we give,
    Regards,
    Dhill

  • REG : HTTP header fields (Synchronous response)

    Hi All,
             Can anyone please explain the advantage of using this function in the receiver HTTP adapter( ie
    "Set adapter specific message attribute -> HTTP header fields (Synchronous response)")
    and how this can be implemented?
    Thanks in Adavnce,
    Siva

    >
    sivarama krishna wrote:
    > Hi All,
    >
    >          Can anyone please explain the advantage of using this function in the receiver HTTP adapter( ie
    > "Set adapter specific message attribute -> HTTP header fields (Synchronous response)")
    >  and how this can be implemented?
    >
    >
    >
    > Thanks in Adavnce,
    > Siva
    from help:
    If you want to save HTTP header fields from the synchronous response in the XI message header, choose HTTP Header Fields (Synchronous Response) and enter the fields in the fields Field 1 to Field 6.
    The fields must have the same names as the fields that are also to be sent in the HTTP response.
    The technical names of the fields are HeaderFieldOne,...,HeaderFieldSix.
    this means that in case you look to access the header of the response message of a sync http you can use this ASMA.
    the implementation will be in your response mapping, using dynamic configuration - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

  • How to set the header variables in weblogic

    Hi,
    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Thanks
    Ramesh P.

    maybe you are looking for the routing options
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1125348

  • How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007

    Hi,
    I am new to Sharepoint development.I dont know whether i am posting  the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place.
    I  created a custom task in Sharepoint Designer 2007 using
    Collect Data from User
    Action.
    I created a field in the task form which is of choice type and
    unchecked allow blank values
    because i  wanted that field to be a mandatory field.When i handled that task ,i was able to complete that task
    without selecting that mandatory field.But, I was expecting not to allow me to complete the task without selecting that field. Kindly  tell me how to set the choice field as mandatory.

    Hi,
    You are using SharePoint Designer 2007, so I moved the thread to the appropriate forum for MOSS 2007.
    This is by design that
    Workflow-generated form (for action Collect data from User) does not perform validation properly on drop-down choices, the workaround is to use JavaScript to perform the field validation.
    This thread has the JavaScript code can help you:
    http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/0ad7fc3c-97a1-464e-ae89-c3133462dda8/
    Xue-Mei Chang

  • How can I add header on printing with Numbers

    How can I add header on printing with Numbers? The previous version use to have it and I cannot find it in the new one ...

    Hi Tanya,
    Glad to hear that you found how to edit page headers and footers in Numbers 3.2. I agree that Help in Numbers 3 is woeful. No searchable PDF to download and use offline. All is online (one page at a time) and we need to know the terms we are looking for before we look.
    The first HelpDesk:
    http://www.youtube.com/watch?v=pQHX-SjgQvQ
    For printing to paper where layout is important, I use Numbers '09 (Numbers 2.3) with its Print View. But it is orphanware. As the name suggests, there has not been a major overhaul since 2009. With that in mind, it is a useful version to hang onto while we hope and wait (and provide feedback to Apple) for something in future versions of Numbers 3.x to provide better layout capability.
    Indeed, each new update of Numbers 3.x has restored more of the old features while adding new features that are enhancements over Numbers '09. Many of the Numbers 3 enhancements reflect long-awaited wishes through this forum, and were passed on by Numbers Feedback to Apple. So it seems that Apple does take heed of feedback.
    In the meantime, I enjoy the charm of Numbers '09 whilst exploring the new features of Numbers 3.
    What has been GAINED in Numbers 3 is here:
    https://discussions.apple.com/thread/5473882?start=75&tstart=0
    (Very long thread because it started with Numbers 3.0, and enhancements have continued through Numbers 3.2).
    Hints on workarounds in Numbers 3 is here:
    https://discussions.apple.com/message/23622372#23622372
    Some workarounds are no longer needed, but what amazes me is how many Numbers '09 features (the so-called "lost" features) were not lost; the settings have simply been moved. Moreover, many features such as margin settings carry over with a Numbers '09 document or template into Numbers 3.
    Hints for layout on screen before printing to paper:
    Try Alignment Guides and Rulers as suggested here:
    Print View workarounds
    Use a layout guide:
    Layout Guide for Numbers
    Regards,
    Ian.

  • How to Set JFilechooser to show file with the same extension in the filetyp

    How to Set JFilechooser to show file with the same extension in the filetypes??
    help

    I also don't understand, but if you mean how to display only files with a certain extension in your JFileChooser then you should have a look at the JFileChooser API:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFileChooser.html
    The introduction shows an example of how to do that.

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • How to set TabbedPane header height?

    How to set TabbedPane header height?

    So you got help in this posting that shows one way to add a component to the tabbed pane.
    [http://forums.sun.com/thread.jspa?threadID=5337065]
    But you didn't acknowledge the help you received.
    So now you want more help? Well since you didn't reply to that posting I won't reply to this posting.

Maybe you are looking for

  • Adobe Reader 11.0.01 is asking me to install 9.5.2 update

    I have Adobe Reader 11.0.01 installed on my computer. However, it is telling me that I have an update for Version 9.5.2. What could be causing this? Thanks!

  • Why are my PSDs pixelated at 66% and 33% zoom?

    I know its an issue with Photoshop as it does the same for every PSD and on other colleagues PS its fine. Anyone know the solution to my problem?

  • Problem Applying J2EE patches in WAS installation

    Hi,Himanshu Limaye here. WAS installation process has been completed till the application of ABAP and BASIS patches( till SP-15 package) I have downloaded the J2EE patches from SAP Service Marketplace and copied them to a folder along with the SAPCAR

  • About BAPI( Time Sheet )

    Hi Experts, This is regarding BAPI HRXSS_CAT_WD_RECORD.for this BAPI , I am providing inputs like this IV_PERNR = 90030. IV_ACTION = COPY_FROM_PREVIOUS_PERIOD. IV_BEGDA = 09/20/2008 . IV_ENDDA = 09/26/2008 . So this BAPI has to copy the previous peri

  • Can't import mp4 files

    Hello, suddenly I can't import/open mp4 files with iTunes on my iMac anymore. I have no problem opening them with another application (quicktime) or open other files (mp3) with iTunes on my iMac. On my MacBook I still can open the exact same mp4 file