Allow-http-request-headers-from    Question

I have a crossdomain.xml file in place, but am still getting this error:
"Security error accessing url"
I searched the web and is it true that because I am accessing a SOAP web service I need to add this to the crosssdomain.xml file:
<allow-http-request-headers-from domain="MYDOMAINHERE" headers="SOAPAction"/>
Is there anything else from a crossdomain.xml file perspective, or anything else in general to be able to access these web services from my Flex app?
Thanks for your responses.

The SWF is at MyDomain.com (for example).
The crossdomain.xml file is on the 3rd party web service provider at the root of their web server, and it correctly has an entry to MyDomain.com.
The exact error is "Security error accessing url".
I read on the web that when accessing SOAP web services you need to add these entries to the crossdomain.xml file:
<allow-http-request-headers-from domain="MyDomain.com" headers="SOAPAction"/>
Is that the case and is there anything else extra I need to do to get web services to work in this case?
Thanks Alex, for helping with this.

Similar Messages

  • Setting HTTP request headers

    Who can tell me how to set HTTP request headers,for example ,If-Modified-Since,i only know how to get If-Modified-Since in servlet and use it.

    Hy,
    Headers are provided by the Browser you use. He controls the Content of it, eg. the accepted File types, the Browser name and type, HTTP Version used, ...
    You can, however, add your custom Headers with the addHeader Methods in HttpServletResponse. Then, you can read them out on the Client, eg.
    using Jsp, and react on the Client based on the given values.
    Best regards
    jherunter

  • Listening to HTTP request events. Question related to enableEvents property.

              Hi,
              I am using weblog 5.1 service pack 6.
              I am interested in HTTP request events. So I did the following.
              I have registered interest in the topic WEBLOG.LOG.HTTPD. I have changed the weblogic.properties
              file to include the following line.
              weblogic.httpd.enableEvents=true.
              But when I bring up the server it says it "Found an undeclared property weblogic.httpd.enableEvents".
              And it is not publishing any events to the topic when I hit the server (probably
              because of the previous message). Can you help?
              Thanx
              Trisula P. Siripurapu
              

    regarding error:
    Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST vmcid: 0x0 minor code: 0 completed: No
    Make sure to place the wlfullclient.jar at the beginning of the classpath ...any other WLS specific Jars need not to be added additionally. For above error please refer to : Client SAF error
    Few Things:
    1). When I execute the ant build from a remote box , should I have a weblogic server running...the reason I ask is..does the wldeploy task work only if there is an active weblogic domain in the local machine. When I execute the same build from my windows machine where I have a local instance of weblogic , it works uccessfully .Whenever you try to deploy any application on WebLogic Domain then the Admin Server must be running. Because the deployment entries goes inside the "config.xml" and the original copy of this file is maintained by AdminServer only. So the Admin Server must be running for any kind of configuration changes or for Deployment.
    2). I am told that http protocol is not an option in my work place and I have to use t3 protocol only. In that case, based on the error below, is it possible that the connection between my local unix box and the remote weblogic box is stricted? How to I test the connectivity using t3? I pinged the server from the local unix server and it came back with reply, but could not telnet to that remote box nor ftp to that box does not work.You can check t3 protcol is working fine or not by using the following one line command:
    java weblogic.Admin -url t3://he3unxd189v01:9100 -username weblogic  -password weblogic    PING
    If above command fails to ping the server it means either you are using a wrong HostName & Port OR your N/W is doesnot allow t3 protocol connections OR there may be a N/W Issue.
    Thanks
    Jay SenSharma

  • HTTP requests & Access from a SAP Environment + DMZ

    Dear Experts,
    I don't know if i write in the right topic but if it is wrong, do accept my apologize.
    Currently, i have installed a SAP ECC 6.0 IDES + a SAP EP 7.0 Enterprise Portal + a SAP Solution Manager 7.0 (SAP Zone) with a SAP Router whitch is in a DMZ (See image this link for more details : http://img149.imageshack.us/img149/1603/sdniu3.jpg)
    In the SAP Zone, when i try to connect to Internet everything works. From the LAN or from other place, impossible to connect to http://<hostname>:5XX00/irj/portal from EP7 for example.
    I have poor skills in network and security and i would like to know what do you suggest me?
    1/ Can a SAP WebDispatcher be usefull in the DMZ?
    2/ Do i have to install IIS or APACHE for this?
    My own goal is to access for HTTP Request (http://<hostname>:5XX00/irj/portal for example) from the LAN or outside the NetWork.
    Thank you very much in advance for your helps.
    Best regards,
    Pascal.

    Hello Rainer Kunert,
    thank you for replying. I forget to say that there are only 2 ports opened to "outside" the SAP Zone. Inside the SAP Zone, i can sign in the portal with the port 5XX00 for example. For security reason, there will be only one way to pass throught the DMZ via 1 or 2 ports maximum. Outside the SAP Zone, i could access to the SAP System with SAP Logon but with a t-code whitch use http request (for example se80 for a package program) there is no effect but inside the SAP Zone, everything's ok.
    I just want to know what do you mean by "Web Application Firewall" and "appliance". Do you have an example or something explaining it please?
    Thank you very much again.
    Best regards,
    Pascal.

  • Possible to get runtime info (Http request, response) from a WD4A Appl.?

    Hey,
    In a BSP / JSP application, it is possible to retrieve and set the runtime data (http request and response). For Example:
    response.setContentType("application/x-suvaagent;charset=iso-8859-1");
    response.setHeader("Cache-Control", "public");
    response.getWriter().print("<Request>");
    response.getWriter().print("</Request>");
    Is it possible to do this in a WebDynpro (ABAP) Application?
    The requirement is to construct a file using http response method. This file contains parameters like business data etc. The file type is already registered as a MIME type which is associated with a standalone program.
    When sending the http response, the file will be filled out with needed data and the associated program will be called using the data in the file.
    I haven't found out how to do this in web dynpro application, since we use WD4A in our project.
    Thanks and Regards,
    Liang

    In Web Dynpro you do not have direct access to the Request or Response object. This is part of the design of the abstracted rendering and makes things like the SmartClient and the AJAX based Delta Rendering possible.
    In Web Dynpro you should use the FileDownload UI element or the CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8d95673b12fe2e10000000a42189d/frameset.htm
    If you want more control over the response object for a download then I might suggest that you can create a cached response object, place it into the ICM cache and generate a unique URL for it.  You can then fire a navigation plug or a LinkToURL to go to that cached response object.

  • Help needed about HTTP Request Headers

    HI All,
    Regarding HTTP RFC 1945 I have to use headers request-line and message is there any functionality in Servlets or JSP to access both them. I used &#8220;request.getHeaderNames()&#8221;, which return the headers &#8220;ACCEPT,ACCEPT-ENCODING ,ACCEPT-LANGUAGE ,CACHE-CONTROL ,CONNECTION ,CONTENT-LENGTH ,CONTENT-TYPE ,COOKIE ,HOST ,REFERER ,USER-AGENT&#8221; but not request-line and message.
    Kindly provide the help to access them.
    Regards,
    Kashif Bashir
    AdamSoft Intl
    Lahore, Pakistan

    I had a look at RFC 1945. It gives an example of what it calls a Request-Line:GET http://www.w3.org/pub/WWW/TheProject.html HTTP/1.0But as far as I can see it doesn't describe this anywhere as being a header. So it doesn't surprise me that getHeaderNames() doesn't return it.
    I'm also surprised you're even trying to access this low-level information with a high-level tool like a servlet. You could probably reconstruct it with various servlet methods, though. You know the method (e.g. "GET") and you can find out the URL from various methods of the HttpServletRequest.

  • HTTP Request Headers

    Is it possible to use form data passed from a form outside of
    a Flex application? For example, there's a simple HTML form that a
    user fills out and then submits which points to a Flex application.
    Is it possible to access the data sent via a POST or GET? Here's a
    simple HTML form example to help illustrate my question:
    <!-- this is the HTML form calling the Flex application
    'index.html' -->
    <form name="Foo" method="POST" action="index.html">
    </form>

    I don't think so. That example assumes you want to embed an
    HTML page inside Flex. I'm trying to access data sent to a Flex
    application through a form submission. In the example I posted, the
    form would POST the field data to the Flex application
    (index.html). I had hoped there might be some sort of internal
    function within AS that lets you access the field data passed to
    the Flex application. Something like:
    URI.getRequestHeader.fields

  • Long HTTP Request/Response round trip time on new Azure Websites under BizSpark Plus

    Hi,
    I have a very difficult situation. I am busy migrating from a traditional VM architecture to Azure Websites. This is after a few months of testing and being happy that Azure Websites can provide the performance necessary for our application. The TEST site
    I set up is running great and meets all the performance requirements. The TEST site is set up under my normal BizSpark subscription.
    We have since been awarded a BizSpark Plus subscription and I have started the migration process on this subscription, as opposed to the normal BizSpark basic subscription.
    However, since starting our migration process, I am experiencing huge latency on the HTTP request roundtrip from browser to server and back for my newly created LIVE Azure Website instance. I have investigated and observed the statistics between the TEST
    and LIVE instances. Here is a test run against the 2 environments on a particular screen of our application. Here are the times for the full roundtrip for each AJAX HTTP request of the specific actions:
    TEST (Azure Website on BizSpark subscription):
    GetAudioSource - 267ms
    LogStartEvent - 196ms
    LogProgress - 243ms
    Retrieval of Audio file - 2.06s
    LIVE (Azure Website on BizSpark Plus subscription):
    GetAudioSource - 938ms
    LogStartEvent - 3.61s
    LogProgress - 5.11s
    Retrieval of Audio file - 5.97s
    There is clearly something wrong with the routing of the LIVE instance starting at the load balancer.
    This is not the only place affected. In fact, all the HTTP requests are very lagged and delayed in the LIVE instance as opposed to hardly noticeable in the TEST instance.
    I am wondering if there is a lower priority being afforded to my BizSpark Plus subscription running my LIVE instance, of if I am just unlucky with the underlying infrastructure that has been selected on my behalf. Or, is it possible that something can be
    done to enhance and optimise the routing etc?
    I also need to say that I have matched the Azure Website configuration and scale settings to be exactly the same between the 2 instances and have also set Always On to ON.
    Any help or thoughts will be greatly appreciated, because I am starting to seriously doubt the service levels of the Azure Websites platform.
    Thank you
    Ozzy

    Hello Ozzy Vox,
    1. Which region(data center) do you have your websites deployed in?
    Ideally there would be no change in terms of type of subsciptions when you deploy your website in production.
    I suggest that you set up diagnostics on to your Azure websites to get the logs to understand where it is spending most of its time and the reason behind the latency.
    You can refer to this link that will give you information on 'How to Monitor Websites':
    http://azure.microsoft.com/en-in/documentation/articles/web-sites-monitor/
    Also refer to this link regarding 'Enable diagnostic logging for Azure Websites':
    http://azure.microsoft.com/en-in/documentation/articles/web-sites-enable-diagnostic-log/
    Thanks,
    Syed Irfan Hussain

  • Firefox is trying to send strange multiple requests on port 7070. As I allow the request nothing appears in "http headers" addon window. What could this be?

    Hi.
    I discovered my Firefox v26 was SOMETIMES trying to send multiple requests on port 7070 (ukrainian ip-address) independently on what websites were opened at the moment.
    The problem remains after v27 update.
    I have an addon "live http headers" installed.
    As I manually allow the request by firewall nothing appears in the headers window.
    Does my firefox seem to be modified with adware/spyware?

    Have you tried Opening your Firefox in Safe Mode
    [[Troubleshoot Firefox issues using Safe Mode]]
    please report back to us

  • If I access the website of Cebu Pacific I get as reply upon entering a search request "HTTP Error 400. The size of the request headers is too long.", but if i use private browsing i do not get this reply. How do i resolve that?

    If I access the website of Cebu Pacific Air I get as reply upon entering a search request "HTTP Error 400. The size of the request headers is too long.", but if i use private browsing i do not get this reply. This refers to Firefox 5.0 on ubuntu 11.04
    I have tried to resolve this through deleting history and the cookies, but i always get the same reply. Although if i use firefox (ubuntu) private browsing or Firefox on Windows 7 i do not get this error message.
    What causes this error and how do i resolve this?

    Copied from the link mentioned below.
    ''That is usually a problem with corrupted cookies. Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies" ''
    https://support.mozilla.com/en-US/questions/785186?s=http+error+400&as=s
    Check and tell if its working.

  • Invalid request for HTTP request from Java

    I've written the following code to retrieve data from HTTP url:
    byte [] buffer = new byte[1024];
                   URLConnection conn = src.openConnection();
                   //conn.setRequestProperty("Range", "bytes=" + (start + completed) + "-" + end);
                   //System.out.println("bytes=" + (start + completed) + "-" + end);
                   System.out.println("Response: " + ((HttpURLConnection)conn).getResponseCode());
                   BufferedInputStream bin = new BufferedInputStream(conn.getInputStream());
                   byte [] data = new byte[1024];
                   int readLen;
                   manager.addConnected();
                   while((readLen = bin.read(data)) != -1 && canContinue) {
                        dest.seek(start+completed);
                        dest.write(data, 0, readLen);
                        completed += readLen;
                        System.out.println(readLen + "\t" + completed);
                   dest.close();
                   System.out.println("Read: " + readLen);
              } catch(IOException e) {
                   manager.failConnection();
              }However, the response code printed is -1 and the following content is written to the file (dest is a random access file, you can ignore the seek(), it is needed when I start multi-threading).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
    <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
    </HEAD><BODY>
    <H1>ERROR</H1>
    <H2>The requested URL could not be retrieved</H2>
    <HR noshade size="1px">
    <P>
    While trying to process the request:
    <PRE>
    GET /ubuntu/pool/main/f/firefox/firefox_2.0.0.2+0dfsg-0ubuntu0.6.10_i386.deb HTTP/1.1
    User-Agent: Java/1.6.0
    Host: security.ubuntu.com
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    </PRE>
    <P>
    The following error was encountered:
    <UL>
    <LI>
    <STRONG>
    Invalid Request
    </STRONG>
    </UL>
    <P>
    Some aspect of the HTTP Request is invalid.  Possible problems:
    <UL>
    <LI>Missing or unknown request method
    <LI>Missing URL
    <LI>Missing HTTP Identifier (HTTP/1.0)
    <LI>Request is too large
    <LI>Content-Length missing for POST or PUT requests
    <LI>Illegal character in hostname; underscores are not allowed
    </UL>
    <P>Your cache administrator is <A HREF="mailto:root">root</A>.
    <BR clear="all">
    <HR noshade size="1px">
    <ADDRESS>
    Generated Fri, 16 Mar 2007 11:14:48 GMT by inet (squid/2.6.STABLE3)
    </ADDRESS>
    </BODY></HTML>Where does the problem lie? It failed for other URLs too. Can I establish more than one connection by invoking openURLConnection() on the same URL object?

    Ive run into this issue also. I need a way for a portlet to change to its maximized state for the purposes of user registration. Is there anyway this can be done? I know that sun jsp "Providers" which are shown on their example desktop, have some sort of maximized state that they can go into, but im not sure how to use this in a portlet.
    There seems to be very inconsistent support between the proprietary sun provider api, and the portlet api.

  • I am getting an error Bad Request Request too long HTTP Error 400. The size of the request headers is too long.

    When I sign into Methodintegration.com my data base I can get in ok. When I sign out I get the following error: I am getting an error Bad Request Request too long HTTP Error 400. The size of the request headers is too long. If I close Fire Fox and go back in it will work one time and then I get the same error message.

    That is usually a problem with corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • Firefox MAC v30 with proxy needs authenticate"Cache Access Denied" sorry, you are not currently allowed to request: from this cache until you have authenticated

    Firefox was working perfectly before we've updated it to version 30.0. It seems that the new version does not like our Proxy setting which needs users to auth with their AD accounts.
    In the past version, Firefox will pop-up a box that allow you to type in the username and password, which works perfect. However, it does not pop-up anymore and gives me this error message.
    The following error was encountered:
    Cache Access Denied.
    Sorry, you are not currently allowed to request:
    http://www.google.com.au/url?
    from this cache until you have authenticated yourself.
    I try to manually set up the username in key chain and allow firefox to access it but Firefox seems do not access that key chain at all.
    Is anyone have the issue with the proxy which needs authenticate in Firefox30.0? Does anyone know the possible solutions?
    Many thanks!
    Shuopan
    ------------------------------------trouble shoot update-----------------------------------------
    Quite interestingly, Firefox will work for 1 minute after I am using Safari with that Auth proxy. However, if I am not touching Safari for 1 or 2 minutes, Firefox will stop working and pop up the similar error message.
    tried network.http.use-cache = false but not work
    Thanks

    Quite interestingly, Firefox will work for 1 minute after I am using Safari with that Auth proxy. However, if I am not touching Safari for 1 or 2 minutes, Firefox will stop working and pop up the similar error message.
    Thanks

  • I am trying to redeem my itune prepaid card and the system request the security question's answer which i have forgot. im trying to retrieve it through my yahoo email address which i set earlier but i do not receive any email from apple support.

    i am trying to redeem my itune prepaid card and the system request the security question's answer which i have forgot. im trying to retrieve it through my yahoo email address which i set earlier but i do not receive any email from apple support. Can i know what should i do to retrieve my security question's answer?

    http://support.apple.com/kb/HT5312
    -If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com.  Clicking the link will send the reset to your rescue email address (NOTE:  This is not the same address as your Apple ID email)
    -If there is no link on the page, then you didn't establish a rescue email address.  Contact AppleCare at 800.694.7466 (If you are in the US), and ask for account security.  You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
    -If you are not in the US, click http://support.apple.com/kb/HT5699 - Apple ID: Contacting Apple for help with Apple ID account security
    HTH

  • Setting http headers from Cisco Content Services Switch

    Hi
       is it possible to set the http response headers for some particular type of requests.
    we want to set the http header (
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    Cache-Control) for statuc resources to force browser/proxy server to cache them for a particular amount of time.
    From the following confuguration guide it looks it is not possible. is it correct ?
    Cisco Content Services Switch
    Content Load-Balancing
    Configuration Guide
    Software Version 8.10
    thank you very much for your help.
    Regards
    Hafiz

    Hafiz
    You will get a faster and much better response if you move this post into the "Data Center - Application Networking" forum where they deal specifically with load-balancing issues.
    Jon

Maybe you are looking for