HTTP Headers Added by WS7 not preserving case

I have added the following directive to my obj.conf in WS7u8:
NameTrans fn="set-variable" insert-srvhdrs="True-Client-IP: 127.0.0.1"However, when using the LiveHTTP Headers plugin for Firefox, I see that the header being returned is actually:
True-client-ip: 127.0.0.1Unfortunately, the application that is using that header is looking for the one with mixed case as specified in the configuration.
Is there a way to tell WS7 to send the server header using the exact case I specified?
Thanks,
Bill

No. This behaviour is not changable at the moment. Also note that according to RFC 2161 that http headers are case insensitive so your client app shouldn't really be relying on the case of the header.

Similar Messages

  • [WLS 10.3]:Weblogic.cache.filter does not cache all http headers

    When using Weblogic CacheFilter servlet filter to speed our request. However, cached pages miss
    some HTTP Headers ie: Content-Encoding.
    As a result, if we setup a GZIP filter on most popular static text oriented document like css, html, js, the GZIP filter add a Content-Encoding http header set to gzip. But as CacheFilter forget that header, client receives the correct content-type but not anymore the Content-encoding.
    Steps to Reproduce
    Ask a static file like a .js library and sniff the HTTP headers. Switch the servlet filter order between gzip and CacheFilter, the HTTP header is correctly set but not when putting cache filter first.

    When using Weblogic CacheFilter servlet filter to speed our request. However, cached pages miss
    some HTTP Headers ie: Content-Encoding.
    As a result, if we setup a GZIP filter on most popular static text oriented document like css, html, js, the GZIP filter add a Content-Encoding http header set to gzip. But as CacheFilter forget that header, client receives the correct content-type but not anymore the Content-encoding.
    Steps to Reproduce
    Ask a static file like a .js library and sniff the HTTP headers. Switch the servlet filter order between gzip and CacheFilter, the HTTP header is correctly set but not when putting cache filter first.

  • Adding custom http headers for WSRP requests

    Hello,
    I wonder whether it is possible to insert custom http headers for WSRP
    requests?
    To give more details:
    We are going to have portlets exposed via WSRP (hosted on non-weblogic
    server). We need these portlets to work on different portals including
    WebLogic Portal. And we need to have working SSO. There needed at least
    2 SSO options:
    1. Having SiteMinder protected portal. Will WebLogic pass SiteMinder
    headers further to WSRP producer?
    2. Custom SSO tokens to be passed as http headers. Is it possible to
    make weblogic to add custom http headers when calling producer?
    2a. Credential mapping shall be used to get username/password for
    backend application (accessed from producer side), and than these
    username/password shall be passed as http headers when requesting producer.
    Best regards,
    Sviatoslav Sviridov

    Hi,
    About how to use Rest API via node.js, please refer to
    http://stackoverflow.com/questions/5643321/how-to-make-remote-rest-call-inside-node-js-any-curl for more information. Hope this helps.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Generate PDF using Managed Bean with custom HTTP headers

    Background
    Generate a report in various formats (e.g., PDF, delimited, Excel, HTML, etc.) using JDeveloper 11g Release 2 (11.1.2.3.0) upon clicking an af:commandButton. See also the StackOverflow version of this question:
    http://stackoverflow.com/q/13654625/59087
    Problem
    HTTP headers are being sent twice: once by the framework and once by a bean.
    Source Code
    The source code includes:
    - Button Action
    - Managed Bean
    - Task Flow
    Button Action
    The button action:
    <af:commandButton text="Report" id="submitReport" action="Execute" />
    Managed Bean
    The Managed Bean is fairly complex. The code to `responseComplete` is getting called, however it does not seem to be called sufficiently early to prevent the application framework from writing the HTTP headers.
    HTTP Response Header Override
    * Sets the HTTP headers required to indicate to the browser that the
    * report is to be downloaded (rather than displayed in the current
    * window).
    protected void setDownloadHeaders() {
    HttpServletResponse response = getServletResponse();
    response.setHeader( "Content-Description", getContentDescription() );
    response.setHeader( "Content-Disposition", "attachment, filename="
    + getFilename() );
    response.setHeader( "Content-Type", getContentType() );
    response.setHeader( "Content-Transfer-Encoding",
    getContentTransferEncoding() );
    Issue Response Complete
    The bean indirectly tells the framework that the response is handled (by the bean):
    getFacesContext().responseComplete();
    Bean Run and Configure
    public void run() {
    try {
    Report report = getReport();
    configure(report.getParameters());
    report.run();
    } catch (Exception e) {
    e.printStackTrace();
    private void configure(Parameters p) {
    p.put(ReportImpl.SYSTEM_REPORT_PROTOCOL, "http");
    p.put(ReportImpl.SYSTEM_REPORT_HOST, "localhost");
    p.put(ReportImpl.SYSTEM_REPORT_PORT, "7002");
    p.put(ReportImpl.SYSTEM_REPORT_PATH, "/reports/rwservlet");
    p.put(Parameters.PARAM_REPORT_FORMAT, "pdf");
    p.put("report_cmdkey", getReportName());
    p.put("report_ORACLE_1", getReportDestinationType());
    p.put("report_ORACLE_2", getReportDestinationFormat());
    Task Flow
    The Task Flow calls Execute, which refers to the bean's `run()` method:
    entry -> main -> Execute -> ReportBeanRun
    Where:
    <method-call id="ReportBeanRun">
    <description>Executes a report</description>
    <display-name>Execute Report</display-name>
    <method>#{reportBean.run}</method>
    <outcome>
    <fixed-outcome>success</fixed-outcome>
    </outcome>
    </method-call>
    The bean is assigned to the `request` scope, with a few managed properties:
    <control-flow-rule id="__3">
    <from-activity-id>main</from-activity-id>
    <control-flow-case id="ExecuteReport">
    <from-outcome>Execute</from-outcome>
    <to-activity-id>ReportBeanRun</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean id="ReportBean">
    <description>Executes a report</description>
    <display-name>ReportBean</display-name>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    The `<fixed-outcome>success</fixed-outcome>` strikes me as incorrect -- I don't want the method call to return to another task.
    Restrictions
    The report server receives requests from the web server exclusively. The report server URL cannot be used by browsers to download directly, for security reasons.
    Error Messages
    The error message that is generated:
    Duplicate headers received from server
    Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple distinct Content-Disposition headers received. This is disallowed to protect against HTTP response splitting attacks.Nevertheless, the report is being generated. Preventing the framework from writing the HTTP headers would resolve this issue.
    Question
    How can you set the HTTP headers in ADF while using a Task Flow to generate a PDF by calling a managed bean?
    Ideas
    Some additional ideas:
    - Override the Page Lifecycle Phase Listener (`ADFPhaseListener` + `PageLifecycle`)
    - Develop a custom Servlet on the web server
    Related Links
    - http://www.oracle.com/technetwork/middleware/bi-publisher/adf-bip-ucm-integration-179699.pdf
    - http://www.slideshare.net/lucbors/reports-no-notes#btnNext
    - http://www.techartifact.com/blogs/2012/03/calling-oracle-report-from-adf-applications.html?goback=%2Egde_4212375_member_102062735
    - http://docs.oracle.com/cd/E29049_01/web.1112/e16182/adf_lifecycle.htm#CIABEJFB
    Thank you!

    The problem was that the HTTP headers were in fact being written twice:
    1. The report server was returning HTTP response headers.
    2. The bean was including its own HTTP response headers (as shown in the question).
    3. The bean was copying the entire contents of the report server response, including the headers, into the output stream.
    Firefox ignored the duplicate header errors, but Google Chrome did not.

  • Passing HTTP Headers from BPEL to a RESTFul service in SOA 11g PS2.

    Hi All,
    We have the following requirement.
    We need to pass the following headers to RESTFul service.
    x_invensys_wss_username = "Some UserName"
    x_invensys_wss_password = "Some Password".
    I tried to first pass username and password properties by following below post.
    Attach Http headers in BPEL Process
    Specifically below steps..
    Hi,
    If you are talking about how to invoke a secured webservice...please follow this...
    After creating the reference for your secured webservice in your composite, right click on the composite and say configure web service policies...
    Add the security policy named "oracle/wss_http_token_client_policy"
    And also, for the reference, create two binding properties
    1. oracle.webservices.auth.username
    2. oracle.webservices.auth.password
    For the above two properties, provide the appropriate values.....
    Please test the same after making this changes and let me know....
    Thanks,
    Narsing Pumandla
    ======================================================
    Somehow i don't see the headers getting added to the call.
    The service i am calling don't really need these headers.But the URL we will be calling shortly for the real application need them.
    Can someone let me know whether this SOA version supports this or not.?
    If yes , Then what is the best way to solve this issue.[i.e Able to send hardcoded values and also user specified values.]
    Thanks,
    Sid.

    I am using this URL : api.geonames.org/postalCodeSearch?postalcode=90110&username=siddhardha
    I see below message in audit trail.Not sure why the headers are not visible.
    Am i missing something which is very fundamental.?
    <messages>
    <Rest_InputVariable>
    <part name="Input">
    <Input>
    <postalcode>90110</postalcode>
    <username>Siddhardha</username>
    </Input>
    </part>
    </Rest_InputVariable>
    <Rest_OutputVariable>
    <part name="geonames">
    <geonames>
    .....results.............
    </geonames>
    </part>
    </Rest_OutputVariable>
    </messages>
    Edited by: Siddhardha M on Jul 19, 2012 5:44 AM

  • OSB http headers management

    I have a scenario where my osb messages are rejected by the target server, while the same messages are accepted when sent by wget. The only difference between the two requests is represented by the http headers.
    The first thing to notice was that most of the http headers are not showing neither in the outbound, nor in the business server traces.
    The outbound http headers:
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>"urn:Services#DeleteUser"</http:SOAPAction>
    </tran:headers>
    The http headers received by the server:
    Host
    localhost:7021
    Content-Length
    448
    SOAPAction
    "urn:Services#DeleteUser"
    User-Agent
    Java1.6.0_29
    Content-Type
    text/xml; charset=utf-8
    Accept
    text/html, image/gif, image/jpeg, */*; q=.2
    Connection
    Keep-Alive
    Why is OSB not showing all the headers? How about removing any of the headers currently received by the server, before sending the message? Can it be done in OSB?

    Would this work ?
    $inbound/ctx:transport/ctx:request/tp:headers/tp:user-header[lower-case(@name)="x-ab-normal"][1]/@value

  • Get http headers through GenericServlet

    hi ,
    Is it possible to get the http headers through the GenericServlet. I know i can get it through the HttpServlet. Considering that GenericServlet is parent class of HttpServlet I would think that is possible when I get the InputStream - request.getInputStream I should be able to print the headers too. But that does not seem to be happening ? Any information will be appreciated . thanks -sudhir

    Greetings,
    hi ,
    Is it possible to get the http headers through the GenericServlet. I know i can get it through theTechnically, no. Message headers are intended to provide information to the container/encapsulating server relevant to its part in handling the request. Indeed, most headers are not even relevant to the servlet which provides only an "extension" of the server proper. The headers are available in an HttpServlet[Request] primarily because HttpServlets are intended to operate in place of their CGI counterparts (the CGI spec. converts nearly all headers into environment variables...) though not all headers are converted into accessor-enabled object members.
    A GenericServlet, however, is, well, exactly that, "generic". It forms the basis of other protocol-specific implementations (which currently, to my knowledge, includes only HTTP...), and so making those "protocol specific" headers available to an implementation class is the responsibility of the "protocol specific" servlet container.
    However, since you're (presumably) running your "generic servlet" in an HTTP-specific container environment, you can always try casting the ServletRequest object to an HttpServletRequest reference and call getHeader on it. ;)
    HttpServlet. Considering that GenericServlet is parent class of HttpServlet I would think that is
    possibleRefer again to the above.
    when I get the InputStream - request.getInputStream I should be able to print the headers too. But
    that does not seem to be happening ? Any information will be appreciated.Er, no. Input/output streams relate to the body (i.e. the content...) of the message. Headers relate to the meta-data of the message (i.e. its "envelope") - which, again, contains information relevant to the container. That information could be, for example, "routing instructions" - e.g. "Host" or "Referer" headers - or it could be, for example, "handling instructions" - e.g. "Accept-Encoding" or "Cookie" headers.
    In the former case, the headers are mostly of relevance only to the container, though a servlet may also base some part of its processing on them and so they are made accessible through the getHeader method.
    In the latter case, they are not necessarily relevant to either (the container or the servlet) though, when relevant, they are most likely relevant to the servlet - whether implicitly ("Accept-Encoding") or explicitly ("Cookie") - and so are made available either in the same "implicit" fashion (getHeader), or through a more "explicit" API call (getCookies).
    thanks -sudhirRegards,
    Tony "Vee Schade" Cook

  • HT5731 I have an iPhone 4S and when I sync it, the "purchased" and "recently added" playlists do not show up on my phone.

    I have an iPhone 4S and when I sync it, the "purchased" and "recently added" playlists do not show up on my phone. For some reason I can't get all the playlists I have set up in iTunes to show up on my phone. 

    Hi HipstaTrinty,
    Welcome to the Support Communities!
    The article below may be able to help you with this.  Click on the link to see more details and screenshots. 
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Cheers,
    - Judy

  • HTTP Headers - enabling caching and compression with the portal?

    Has anyone configured their web server (IIS or Apache) or use a commercial product to flawlessly cache and compress all content generated by the portal?
    Compression and caching is critical for making our portal based applictions work for overseas users. It should be doable, just taking advantage of standard HTTP protocols, but implementing this a complex system like the portal is tricky, we seem to be generating different values in the HTTP Headers for the same types of files (such as CSS).
    We are running Apache so can't take advantage of the built in compression capabilities of the .net portal. We are running the java vervion. 6.1 mp1, sql server 2000 (portal, search, collab, publisher, studio, analytics, custom .net and java portlets on remote server).
    Basically our strategy is to compress all outgoing static and dynamic text content (html, CSS, javascript), and to cache all static files (CSS, javascript, images) for 6 months to a year depending on file type.
    Here are some links on the subjects of caching and compression that I have compiled:
    Caching & Compression info and tools
    http://www.webreference.com/internet/software/servers/http/compression/
    http://www.ibm.com/developerworks/web/library/wa-httpcomp/
    http://www.mnot.net/cache_docs/
    http://www.codeproject.com/aspnet/HttpCompressionQnD.asp?df=100&forumid=322472&exp=0&select=1722189#xx1722189xx
    http://en.wikipedia.org/wiki/Http_compression
    http://perl.apache.org/docs/tutorials/client/compression/compression.html
    https://secure.xcache.com/Page.aspx?c=60&p=590
    http://www.codinghorror.com/blog/archives/000807.html
    http://www.howtoforge.com/apache2_mod_deflate
    http://www.ircache.net/cgi-bin/cacheability.py
    http://betterexplained.com/articles/how-to-optimize-your-site-with-http-caching/
    http://betterexplained.com/articles/speed-up-your-javascript-load-time/
    http://betterexplained.com/articles/speed-up-your-javascript-load-time/
    http://www.rubyrobot.org/article/5-tips-for-faster-loading-web-sites
    http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
    http://www.gidnetwork.com/tools/gzip-test.php
    http://www.pipeboost.com/
    http://www.schroepl.net/cgi-bin/http_trace.pl
    http://leknor.com/code/gziped.php?url=http%3A%2F%2Fwww.google.com
    http://www.port80software.com/surveys/top1000compression/
    http://www.rexswain.com/httpview.html
    http://www.15seconds.com/issue/020314.htm
    http://www.devwebpro.com/devwebpro-39-20041117DevelopingYourSiteforPerformanceCompressionandOtherServerSideEnhancements.html
    http://www.webpronews.com/topnews/2004/11/17/developing-your-site-for-performance-optimal-cache-control
    http://www.sitepoint.com/print/effective-website-acceleration
    http://nazish.blog.com/1007523/
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/IE_Fiddler2.asp?frame=true
    http://www.fiddlertool.com/fiddler/version.asp
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
    http://www.web-caching.com/cacheability.html
    http://www.edginet.org/techie/website/http.html
    http://www.cmlenz.net/blog/2005/05/on_http_lastmod.html
    http://www.websiteoptimization.com/speed/tweak/cache/
    http://www.webperformance.org/caching//caching_for_performance.html
    http://betterexplained.com/articles/how-to-debug-web-applications-with-firefox/
    Edited by tkoenings at 06/18/2007 6:26 AM

    Hi Scott,
    Does Weblogic platform 8.1 supports netscape? We have developed a portal which
    works perfectly on IE but it dies in netscape. Is netUI tags not supported in
    Netscape?
    Pls reply
    manju
    Scott Dunbar <[email protected]> wrote:
    From a pure HTML perspective Portal does it's rendering with nested
    tables.
    Netscape 4.x and below have terrible performance with nested tables.
    The
    problem is not the Portal server but rather Netscape on the client machine.
    If IE and/or a recent version of Netscape/Mozilla is not possible then
    there are
    really only two options:
    1) Faster client hardware - not likely to be an acceptable solution.
    2) Minimize the number of portlets and the complexity within the portlets.
    Neither of these solutions are a great answer, but the 4.7 series of
    Netscape is
    getting pretty old. Having said that, we've got customers who want to
    continue
    to use IE 4 :)
    Again, though, this problem is, I'm afraid out of our hands. It is the
    client
    rendering time that is the issue.
    cg wrote:
    Does anyone know of any known reasons why the 7.0 (did it also with4.0) portal
    pages can take up to almost 30 seconds to load in Netscape 4.7? I knowit is a
    very generic question but our customer still uses 4.7 and will notuse the portal
    b/c it takes so long to load some of the webapps. What the pages willdo when
    loading is that the headers will come up and when it gets to the bodyof the page
    it seems to stall and then comes up all of a sudden. For some of thepages it
    takes 6 seconds and for others it takes about 24-27 seconds.
    We have suggested using IE only but that is not an option with allof the customers
    and getting a newer version of Netscape is also out of the question.
    Any suggestions would be greatly appreciated.--
    scott dunbar
    bea systems, inc.
    boulder, co, usa

  • I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info in apps) and reverted back to all my old data.  How can I retrieve all the lost data??

    I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info added to apps) and reverted back to all my old data (literally uploaded all of my old texts and 1400 old pics and deleted anything new).  How can I retrieve all the lost data?? Please help!!

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • HTTP/1.1 405 Method Not Allowed error while deploying application in EPMA

    Hi All,
    I have recently installed EPM 11.1.2.1 on a windows 2008 server with SQL Server 2008 database. I created a new HFM application and tried to deploy it, but the deployment gets aborted with the error "HTTP/1.1 405 Method Not Allowed" seen in the deployment log.
    Any clue as to what might be the issue? Thanks in advance.

    "405 Method Not Allowed" is most likely an IIS configuration issue. Please try reboot and try to redeploy again.
    You need to check and ensure that both Roles and IIS components are installed correctly and that the HFM is functioning OK via IIS when browsing through it.
    Also, by default IIS does not install ASP server scripting roles. To correct this by adding the ASP role in IIS
    "If you are using Windows 2008, you must install ASP Role Services before installing EPM System products that require IIS. If you are using Windows 2008, you must install .NET 3.5 before installation of Data Relationship Management.
    If IIS is chosen as the Web server during configuration, you must allow all unknown ISAPI extensions through the Internet Information Services Manager."
    Please refer "Oracle Hyperion Enterprise Performance Management System Installation Start Here" guide page no: 64
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_start_here_11121.pdfhttp://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_start_here_11121.pdf

  • Acrobat Reader X stores PDFs in Temp-folder even when HTTP-headers say no-cache no-store

    After updating from Acrobat Reader 9 to 10 we have noticed that PDFs viewed in the browser are left behind in the Temp-folder even after the browser has been closed.
    Http-headers in the response from the server
    Cache-Controls: no-cache,no-store,max-age=0,post-check=0,pre-check=0
    Content-Type: application/pdf
    Content-Disposition: inline; filename="xxxxxxxx.pdf"
    Expires: 0
    Pragma: no-cache
    Folder: [User-folder]\AppData\Local\Temp
    Filename-format: PDFxxx.tmp
    Browsers: Firefox 3.6, Opera 11, Safari 5
    Plugin: Acrobat Reader 10
    Simply add a .pdf extension to the file and open again in Acrobat Reader. Since the server has set headers indicating that this PDF should not be stored locally, it is a severe security hole leaving traces of this PDF on the filesystem.
    Is this a problem Adobe is aware of? When can we expect this to be fixed?
    Regards,
    Gustav

    Hi Michael,
    Thank you for you quick response!
    In Acrobat 9, I cannot find the PDFs in the Temp-folder after the browser has been closed.
    In Acrobat 10, PDFs are left behind in the Temp-folder even after browser close.
    To me, this looks like a bug in Acrobat 10. Would you not agree?
    Regards,
    Gustav

  • This domain name can't be used because it contains a protected word or inappropriate language. Please contact support if you feel this is not the case.

    we are unable to domain smippl.com it gives error
    This domain name can't be used because it contains a protected word or inappropriate language. Please contact support if you feel this is not the case.
    It is a real estate company :
    SARLA MADAN INFRASTRUCTURE PROJECTS PRIVATE LIMITED
          Address : "SWAYANG TOWER" (STILT FLOOR),
          Plot No. M-73, Madhusudan Nagar, Unit-IV, Bhubaneswar-751001, Odisha,
          India
    current email : [email protected]
    Domain to setup email in Windows Live outlook express  - smippl.com
    waiting for solution

    Hi,
    I wonder if you are registering domain name here:
    https://domains.live.com/Signup/SignupDomain.aspx?dn=&ss=0&ctkn=&et=0
    If so contact with windows live support:
    https://support.live.com/default.aspx?scrx=1
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Using custom http headers in SOAP sender adapter

    Hi,
    my problem is exactly the same as reported [here|Re: SOAP Sender - Extract Header Values;] and [here|Variable Transport Binding - Soap Sender;
    Basically I'd like to send through the soap sender adapter some custom http headers. I check the necessary options in the advanced tab (set adapter-specific message attributes and variable transport binding), and in the variable header one I put x-StoreCode, which is the same http header I send to PI.
    But I won't see anything in the dynamic configuration section when the message is persisted in PI.
    Very surprised that I've seen this issue is a common problem others have faced before without success.
    Thanks!

    Hi Michal,
    the extra info I'm trying to send separated from the message is an http header, not part of the query string.
    If I incorporate the extra info as a parameter to the query string like this, for example:
    http://host:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=S1&receiverParty=&receiverService=&interface=Int&interfaceNamespace=urn:test&x-StoreCode=13&nosoap=true
    Then I can see the value in the dynamic configuration section:
    <SAP:Record namespace="http://sap.com/xi/XI/System/SOAP" name="SQueryString">senderParty=&senderService=S1&receiverParty=&receiverService=&interface=Int&interfaceNamespace=urn:test&x-StoreCode=13&nosoap=true</SAP:Record>
    But what I'm trying to do shoould be possible, according to sap help:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm (section Define Adapter-Specific Message Attributes)

  • Encoding problem (Umlaute) in HTTP-Headers

    Hi!
    I have a servlet that is being called by another server via a POST request.
    The request contains user data in HTTP-headers, and whenever there is a
    German Umlaut in the user's name, it ends up garbled. :(
    The requests character encoding is set to 'ISO-8859-1', according to the servlet
    requests getCharacterEncoding() method.
    I try to copy the value of a header variable into a String like this:
    headerNameValue = request.getHeader("headerNameKey");Which, unfortunatly, doesn't work. For example, the value "G�nter" becomes "G����nter".
    Shouldn't the API take care of the encoding, when the CharacterEncoding is set
    right in the servlet call?
    It looks like it interprets the ISO88591 data as Unicode?
    BTW, I'm on a WebSphere 5 server, with Java 1.4.
    I've been tearing my hair out on this one for days, so any help is highly appreciated.
    Thanks a lot!
    Andreas

    A header variable with the key 'accept-charset' is not sent.
    Only 'accept-encoding', with the value 'gzip, deflate'.
    Like I wrote in my first post, the servlet request's character encoding is set to ISO-8859-1,
    according to the getCharacterEncoding-method.
    I have kind of solved this for now by converting the String 2times back, like this:
    try {
         headerNameValue = new String((new String(headerNameValue.getBytes(),"UTF-8")).getBytes(),"UTF-8");
    } catch (UnsupportedEncodingException e) {
          logger.error("Fehler beim Umwandeln der Umlaute im Benutzernamen.",e);
    }                    }This code converts the '����', that my servlet receives, back to '�'.
    (The first conversion changes the '����' to '��', the second the remaining '��' to '�').
    While this seems to work, I don't think it is the right solution, and I still don't understand what's going on. :)
    Regards,
    Andreas

Maybe you are looking for

  • Help -- Trying to create JAR file but not working

    Hi everyone I have created a rather noddy Java program that consists of 4 JComboBox's and 1 JButton on a JFrame. When the button is clicked a text file is generate with the options that have been selected. There are severial files that the program us

  • Nokia 5000d-2 and iSync?

    Hello! Can anyone tell me where I can find update for iSync to support Nokia 5000d-2? Thank's everyone

  • Target Disc Mode to copy library

    Can someone explain how to use the Target Disc Mode to copy a iphoto library complete from one computer to another to another computer. I plan to use fire wire 8oo. The library is 30 GB  (6000 pics) It would be Great if it were step by step, I still

  • SAP Query Custom Field with ABAP Code

    Hi All, I have a custom field in my SAP query which has some ABAP code under it. The code finally writes some value to a variable. My question is do i need to explicitly link the variable in the ABAP code to the custom field OR it's done automaticall

  • Syncing Keychain with Mobileme on two different Macs

    Hi, I just bought 1password and plan to sync my keychain with my wife's. I am not sure what exactly is going to happen: will we merge all chains in a single big one or will there be two distinct keychains? What will happen to the login process? Thank