Error: code:Channel.Security.Error string:'Security

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Error: code:Channel.Security.Error string:'Security

    Flex 2.0 beta 1

    I created an mxml application with the following tag:

    <mx:WebService id="ws"
    wsdl="http://myWebsphereServer.com:9080/xxxx/wsdl/SignOnManager.wsdl"
    useProxy="false"> <mx:operation name="soapSignOn">
    <mx:request>
    <user>{tiUser.text}</user>
    <password>{tiPassword.text}</password>
    </mx:request>
    </mx:operation>
    </mx:WebService>



    the webservice is deployed on Websphere version 5.1. I deployed the resulting
    swf and the html file on the same Websphere Application Server where my
    webservice reside. I am able to load my swf file but when i request a method
    from my web service I get the following error:

    Error: code:Channel.Security.Error string:'Security error accessing url'
    detail:'Destination: DefaultHTTP'
    at
    mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::faultHa
    ndler()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging::MessageAgent/fault()
    at mx.messaging::Producer/fault()
    at
    C:\dev\enterprise_beta1\frameworks\libs\framework. swc(mx/validators/Validator)$1
    32::DirectHTTPMessageResponder/securityErrorHandler()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()

    I am not sure how to resolve this problem. I tried several options and none of
    them worked:

    1. Created a crossdomain.xml
    2. Embedded the swf and html in the same webservice ear file
    3. Created a separate ear file for the swf and the html

    Thanks



    DavidGhous Guest

  2. Similar Questions and Discussions

    1. webservice call throws Channel.Security.Error
      Hello all, My flex app calls webservices hosted on the same server that hosts the .swf file of the application. Running the app in flex builder...
    2. RPC fault string=Security error accessing url
      Hi Guys, My app's been online for some time now (over a month) and I've logged in today and noticed the attached error which has appeared out of...
    3. Error 500: Security service is not available.
      Hi, I deployed Coldfusion MX 7.0.2 as EAR file on Websphere 6.1 successfully, but when I tried to run the ColdFusion administrator page it gave...
    4. System.Security.SecurityException: Security error
      Dear All, The problem or error which I am getting while running my web application is as given below: Security Exception Description: The...
    5. Web security and error page
      Hello! I'm trying to build a web page with access to a Filemaker database. I use the Web security database with a Field restriction and Exact...
  3. #2

    Default Re: Error: code:Channel.Security.Error string:'Security

    Hi ... exactly the same problem here.

    Adobe Flex Builder 2 Alpha 1, demo mode.

    Apache, MySQL, PHP work well, i have several big projects running clean.

    This is the love-message I get from Flex when opening my application:
    Error: code:Channel.Security.Error string:'Security error accessing url'
    detail:'Destination: DefaultHTTP'
    at
    mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::faultHa
    ndler()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging::MessageAgent/fault()
    at mx.messaging::Producer/fault()
    at
    C:\dev\enterprise_beta1\frameworks\libs\framework. swc(mx/validators/Validator)$1
    32::DirectHTTPMessageResponder/securityErrorHandler()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()

    I've attached everything ... this problem kept me up 2 nights ... I'll just
    give up for now, hoping somebody can explain this weird behavior of Flash
    Player ... Oh! And another thing, I've got no security on Apache, so no HTTP
    Authentication is involved.

    TinyKidJew Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139