Flex encounters "Security error accessing url.Unable to load WSDL"

i have created a flex application which connects to SAP via web service.
when i try to run my flex application i encounter the following error.
"Security error accessing url.Unable to load WSDL"
i went through various posts relating a BSP application and crossdomain.xml
i have created the crossdomain.xml file in the application and
i tried those options and still not able to figure out the problem.
the security error is because of the absence of the crossdomain.xml file, and in which path should i be saving the file?
Kindly help me solve the problem.
Thanks in advance.

Have you seen this blog
"Crossdomain.xml" in ABAP Web AS Server cache

Similar Messages

  • Security error accessing url (Unable to load WSDL)

    Hi folks.
    I have a Flex project that use a WCF webservice. In my localhost everything is allright, but I want to upload my flex project to a web host (http://www.dorj.ir) and upload my WCF webservice to a server that has a valid IP...
    After going to http://www.dorj.ir, you can see this error
    Security error accessing url
    Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://ip/service.svc?wsdl)
    I put the crossdomain.xml file in the root of my server:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
         <allow-access-from domain="http://www.dorj.ir" />
         <allow-http-request-headers-from domain="http://www.dorj.ir" headers="SOAPAction"/>
    </cross-domain-policy>
    But I have the same error, yet...!
    what should I do?!

    Have you seen this blog
    "Crossdomain.xml" in ABAP Web AS Server cache

  • Security error accessing ur unable to load wsdl

    HI
    I am using a webservice(.net webservice) that is on my
    localhost and using it in flex application that is also on my
    system. Means both the webservice and flex application are on the
    same system.
    But when i gives the reference of the webservice using the
    system ip and run the application by the flex builder it generates
    the error as:
    mx.messaging.messages::ErrorMessage)#0
    body = (Object)#1
    clientId = "DirectHTTPChannel0"
    correlationId = "24CD6542-F141-1A05-BA35-00A108CB30A0"
    destination = ""
    extendedData = (null)
    faultCode = "Channel.Security.Error"
    faultDetail = "Destination: DefaultHTTP"
    faultString = "Security error accessing url"
    headers = (Object)#2
    messageId = "CC123DF0-0E6C-05FF-7894-00A109676283"
    rootCause = (flash.events::SecurityErrorEvent)#3
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#4
    bytesLoaded = 0
    bytesTotal = 0
    data = (null)
    dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#4
    text = "Error #2170: Security sandbox violation:
    http://localhost:3000/MYCIMS/flex_bin/Design.swf
    cannot send HTTP headers to
    http://myip/MyServer/AdminWS.asmx."
    type = "securityError"
    timestamp = 0
    timeToLive = 0
    I have put crossdomain.xml file in the root of the localhost
    and made every changes possible in the crossdomain.xml file but the
    application is not running.
    Please somebody provide an effective solution, I have spend
    lots of time to resolve the problem but its not being....
    Thanks in advance
    Gopi Saini

    Have you seen this blog
    "Crossdomain.xml" in ABAP Web AS Server cache

  • Urgent requirement : security error accessing url and http error: standalone flex

    Hi,
    I have a requirement to create record from standalone flex. I am using Flex builder 3.
    I used Flex-force toolkit to login  to salesforce. The swf file generated when used internal to salesforce it works great.
    But my requirement is to run it from public sites page / standalone pages. How will I configure it? I am getting error 'security error accessing url', default HTTP
    The requirement is on priority, please help me to resolve this issue.
    The login code is also furnished below. please help.
    Full error details:
    (com.salesforce.events::ApexFaultEvent)#0
      bubbles = false
      cancelable = true
      context = (null)
      currentTarget = (null)
      eventPhase = 2
      fault = (mx.rpc::Fault)#1
        content = (null)
        errorID = 0
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        message = "faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP'"
        name = "Error"
        rootCause = (flash.events::SecurityErrorEvent)#2
          bubbles = false
          cancelable = false
          currentTarget = (flash.net::URLLoader)#3
            bytesLoaded = 0
            bytesTotal = 0
            data = (null)
            dataFormat = "text"
          eventPhase = 2
          target = (flash.net::URLLoader)#3
          text = "Error #2170: Security sandbox violation: file:///C|/Users/R/DOCUME%7E1/FLEXBU%7E1/TESTLO%7E1/BIN%2DRE%7E1/TESTLO%7E1.SWF cannot send HTTP headers to https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829."
          type = "securityError"
      headers = (null)
      message = (mx.messaging.messages::ErrorMessage)#4
        body = (null)
        clientId = "DirectHTTPChannel0"
        correlationId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
        destination = ""
        extendedData = (null)
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        headers = (Object)#5
          DSStatusCode = 0
        messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
        rootCause = (flash.events::SecurityErrorEvent)#2
        timestamp = 0
        timeToLive = 0
      messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
      statusCode = 0
      target = (null)
      token = (mx.rpc::AsyncToken)#6
        message = (mx.messaging.messages::HTTPRequestMessage)#7
          body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>uname</username><password>pwdandsec token</password></login></se:Body></se:Envelope>"
          clientId = (null)
          contentType = "text/xml; charset=UTF-8"
          destination = "DefaultHTTP"
          headers = (Object)#8
            DSEndpoint = "direct_http_channel"
          httpHeaders = (Object)#9
            Accept = "text/xml"
            SOAPAction = """"
            X-Salesforce-No-500-SC = "true"
          messageId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
          method = "POST"
          recordHeaders = false
          timestamp = 0
          timeToLive = 0
          url = "https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829"
        responders = (Array)#10
          [0] (::SalesForceResponder)#11
        result = (null)
      type = "fault"
    Login code:
    [Bindable] public var sfdc:Connection = new Connection();
    private function login():void {
    Security.loadPolicyFile("http://salesforce.com/services/crossdomain.xml");
    var lr:LoginRequest = new LoginRequest();
    lr.username = "uname";
    lr.password = "pwdtoken";
    sfdc.protocol = "https";
    sfdc.serverUrl = "https://login.salesforce.com/services/Soap/u/14.0";
    lr.callback = new AsyncResponder(loginSuccess, loginFault);
    sfdc.login(lr);

    This is resolved.
    I have copied the crossdomain.xml file to tomcat Root folder
    and the issue is resolved.

  • "Security error accessing url" error in Intranet Flex Development

    Hi,
    I have a simple Flex application with a Tree control that load data from a XML file on my intranet site using HTTPService. The Tree control pull in data without any problem if I ran the Flex app locally, however I would get "Security error accessing url" if I copied the Flex application to my intranet server and access it. The Flex SWF files and the XML file are in the same directory.
    I thought there shouldn't be any cross domain security issue since both files are in the same domain/directory.
    Any idea what is going on?
    Thanks
    xkxTnT

    Thanks Guys for trying..
    I figured out the problem -  I initially create the project without server configuration, so the SWF  runs off my local file system, I later set the server to local  ColdFusion MX 7 server, the SWF still ran without problem, I then copied  them to the production server and got the security error message.
    Yes, I am pretty sure they are the same domain - the SWF files in in http://intranet/Flex and the url for HTTPService is http://intranet/Flex/data.xml.
    I later solved the problem by creating a new project with server set to local ColdFusion server, copied the exact same code and data file, it ran find on http://localhost/Flex, and again ran without problem after deploying to the intranet server http://intranet/Flex.
    I guessed Flash Builder compiled the code a little differently depending on the project configuration (server or no-server)? Not know the detail, or why does it even matter..
    xkxTnT

  • "Security error accessing url" only in Internet Explorer

    I'm running Flex 4 with Flash 11.1.102.55. Here is my crossdomain.xml.
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
    </cross-domain-policy>
    Chrome and Firefox are fine loading the web services. However, all versions of IE (7, 8 and 9) return this error:
    [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://api.example.com/Service/Service.asmx?WSDL)"]

    I just downloaded IE 10 (I was running IE9) and the error message doesn't pop up. Go figure. Though the Audio player is positioned differently in every browser.

  • "Security error accessing url" - Accessing HTTP service   running on another machine

    Flex app is hosted as web service and is trying t access data
    from HTTP Service
    running on different machine. It throws following error
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    at
    mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
    n()
    at flash.events::EventDispatcher/dispatchEvent()
    But when I run the HTTP Services (data provider) on same
    machine application
    works fine.
    Already used crossdomain.xml

    Sorted the cross domain problem by using mx:Webservice rather
    than an httpservice.

  • Security error accessing url with crossdomain.xml in InDesign FlexUI

    I'm evaluating Flex as a UI component in an InDesign script. Part of what it needs to do involves retrieving some data from a web server to be displayed in a datagrid. I've written a server running on localhost that will provide this data. Everything works fine when I run the component from Flash Builder or from the HTML wrapper page that is generated during the release build, but once I copy the .swf to the InDesign scripts folder and load it as part of a ScriptUI component, I get a fault response ("security error accessing url") when connecting to the server. I'm running this bit of code in from my Flex client:
    var h:HTTPService = new HTTPService();
    h.url = "http://localhost:8080/elements";
    h.method = "GET";
    h.addEventListener("result", getElementsResult);
    h.addEventListener("fault", getElementsFault);
    h.send();
    From what I've read, I may need a crossdomain.xml file at the root of my host, so I've added that to the server and can see that it is being accessed whenever the flex component attempts to connect to the service.
    My crossdomain.xml file is:
    <?xml version="1.0" ?>
    <!DOCTYPE cross-domain-policy SYSTEM 'http://www.adobe.com/xml/dtds/cross-domain-policy.dtd'>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
    </cross-domain-policy>
    which seems to be correct, from what I understand. I've also tried quite a few other variations (setting explicit site-control policies, etc.). I'm quite new to Flex/Flash and I'm basically stuck at this point. Where might I be going wrong?

    I think sleeping on this one helped... I found that if I serve the .swf from my web server then everything works out fine. Loading it from the local filesystem seems to have been the problem.

  • Security error accessing url  ???

    I built the BlogReader, the second "lesson" in the help where
    you read Matt
    Chotin's blog on Adobe's site. It works great when I tested
    it locally with
    Flex Builder. When I copy it to my server and then run it, it
    gives a
    security error.
    Here's the rss url
    http://weblogs.macromedia.com/mchotin/index.xml
    There's a crossdomain on the root:
    http://weblogs.macromedia.com/crossdomain.xml
    <?xml version="1.0" ?>
    <!DOCTYPE cross-domain-policy (View Source for full
    doctype...)>
    - <cross-domain-policy>
    <allow-access-from domain="*" secure="true" />
    </cross-domain-policy>
    Is it because of the secure="true" ? Then why did it work on
    my local
    computer?

    The crossdomain file should go in the folder that is pointed
    to by: "
    http://www.entegdt21.com:8000".
    This is called the web server root.
    Flex Builder installs into a trusted sandbox, which allows it
    to access most any thing. When you run the app from a web server,
    it must find the crossdomian file.
    Tracy

  • WebService "Unable to load WSDL" error

    I need some help with this strange problem
    I have a web service that i call from Flex 3
    <mx:WebService id="dataTowns" wsdl="
    http://localhost:2008/SqlData.asmx?WSDL"
    result="objectTowns(event)" fault="faultHandler(event)"
    showBusyCursor="true"/>
    Not every time but 40% of the time i would get an error. Web
    services are running on my local machine and i run web service
    using Visual Studio 2005. Funny thing is that even if i get this
    error data still loads in flex. So when i run application from flex
    i sometime get an error and some time i don't and works fine. Some
    times after the error i restart the webservices and works fine
    again. I run Windows Vista i don't know if that has anything to do
    with this.
    Here is the error :
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Unable to load WSDL.
    If currently online, please verify the URI and/or format of the
    WSDL (
    http://localhost:2008/SqlData.asmx?WSDL)"
    at
    mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:98]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:220
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:343]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()
    Thank you

    I'm not sure if you have found what you are looking for. But
    if you still need complete code using web services let me know i
    have no problem giving you this. If you want give me you email i
    will send you a complete code via email.

  • HTTPS - Unable to load WSDL

    (I'm using Flex Builder 3)
    Hi... I'm building a flex application that has asp.net web
    service as a backend. I've put this webservice on the https
    protocol with a self-signed certificate. My problem is that my Flex
    app can't access this web service over https, unless I manually
    direct load the web service page and import the certificate into
    browser. This happens with all browsers IE, Opera, Firefox and
    Safari.
    I get this message:
    quote:
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Unable to load WSDL.
    If currently online, please verify the URI and/or format of the
    WSDL (https://localhost/myApp/Service1.asmx?wsdl)"]
    at
    mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:98]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:220
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:343]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()
    It's still in development and I load flex app through http
    (not https)... And it will probably stay that way cause I want flex
    app to be hosted on one server (http) and have my web service on
    totally another server (https).
    So, is it possible to have this combination with swf on http
    and backend on https?
    Thank You

    (I'm using Flex Builder 3)
    Hi... I'm building a flex application that has asp.net web
    service as a backend. I've put this webservice on the https
    protocol with a self-signed certificate. My problem is that my Flex
    app can't access this web service over https, unless I manually
    direct load the web service page and import the certificate into
    browser. This happens with all browsers IE, Opera, Firefox and
    Safari.
    I get this message:
    quote:
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Unable to load WSDL.
    If currently online, please verify the URI and/or format of the
    WSDL (https://localhost/myApp/Service1.asmx?wsdl)"]
    at
    mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:98]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:220
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:343]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()
    It's still in development and I load flex app through http
    (not https)... And it will probably stay that way cause I want flex
    app to be hosted on one server (http) and have my web service on
    totally another server (https).
    So, is it possible to have this combination with swf on http
    and backend on https?
    Thank You

  • Unable to open Power BI Sites - Error: We were unable to load the Site. Refresh the page to try again

    Power BI Sites Error
    We were unable to load the Site. Refresh the page to try again
    When opening Power BI Sites with internet explorer, in certain security configurations you may run into the above error. While we are looking into resolving this, please see the following workaround:
    From the Tools menu, select internet options.
    On the security tab uncheck the "Enable Protected Mode" checkbox form the relevant Zone (Intranet/Internet)
    Remove all entries to *.powerbi.com from trusted sites or/and local intranet sites
    On the advanced tab, uncheck the "Enable enhanced protected mode" (if you made a change here it will require a restart of the machine)
    Restart and try again (if not changes done in the last step, just restart the browser)

    Hi
    Any further debugging tips? I upgraded from IE9 to IE11 on my Win7 machine to try get Q&A working, it broke the entire PowerBI site for me

  • Load error code 3 unable to load front panel

    Hi all,
    Wrote a vi in 8.6 and saved it for 8.5 for collaborators. When they run it up pops the error code 3 unable to load front panel. Memory full. see attached picture.
    Has anyone any suggestions as to how to fix this?
    Regards,
    leeser
    Attachments:
    labview error code 3.png ‏51 KB

    Hi guys,
    Thanks for the comments,
    Attached is the code (zipped). Excuse the bulkiness of the block diagrams. It basically controls a rotation stage and makes an avi at specific times/angles. The motor stage is ActiveX controlled.
    As I don't have access to the hardware I am writing semi-blind. However, when I did visit them and had a quick look at the code I could get it to work by quickly including the subvis into a new main vi and obviously compiling it in 8.5. (may be onto something here!)
    Different versions of the labVIEW -> doing a group a favour; I have v8.6 they have v8.5, wrote it in v8.6 saved it for v8.5. I don't have v 8.5. I also have v 8.2.1 on a different machine. Saved it for v8.2.1 and it opened no problem in 8.2.1. Will send this version on and see how they get on. More likely to be forward compatible???
     I agree that the optimal situation is 1) use the same version of labview and/or
    2) they get someone to do their coding on-site!!!!
    I think the corrupt front panel object could be true given that I could get it to work when the subvis were included in a new main vi on-site.
    so versions 8.6, 8.5 and 8.2 attached.....
    regards,
    Leeser
    Attachments:
    rotation_control.zip ‏178 KB
    rotation_control_v8.6.zip ‏60 KB
    NCLA_rot_usb_v8.5 Folder.zip ‏141 KB

  • I purchased a monthly pack and havent been able to use it. I have been getting charged for 3 months now and I still get an error message saying "unable to load all your plans". How do I re-install or dowload and get my last 3 payments reimbursed?

    I purchased a monthly pack and havent been able to use it. I have been getting charged for 3 months now and I still get an error message saying "unable to load all your plans". How do I re-install or dowload and get my last 3 payments reimbursed?

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/
    or
    Adobe contact information - http://helpx.adobe.com/contact.html

  • Hello. I am owner of an iPod Touch 5gen. I have an error "iTunes was unable to load provider data from sync services". I tried: All Apple's tutorials including reseting sync data, reinstalling and deleting all of iTunes components including deleting it fr

    Hello. I am owner of an iPod Touch 5gen. I have an error "iTunes was unable to load provider data from sync services". I tried: All Apple's tutorials including reseting sync data, reinstalling and deleting all of iTunes components including deleting it from system registry. My system is Windows 7 64bit.

    UPDATE: The true error is : '
    "itunes was unable to load data class information from sync services"
    Any of the topics didnt work.
    Sync on my wife's laptop works.

Maybe you are looking for