Permissions issues when getting started


hi, i'm trying create test "hello world" app on our iis server.  when user clicks button pop should "hello world!", string returned wcf web service on same server.  have no problem getting service work on aspx page.  in flex debugger error:

 

[swf] /testproject2/testproject2.swf - 1,110,380 bytes after decompression

warning: domain our-server.local.ourserver.com not specify meta-policy.  applying default meta-policy 'master-only'.  configuration deprecated.  see http://www.adobe.com/go/strict_policy_files fix problem.

 

error: request resource @ http://ftp-server.local.mycompany.com/service_upload.svc/basic requestor http://upload.mycompany.com/testproject2/testproject2.swf denied due lack of policy file permissions.

 

*** security sandbox violation ***

connection http://our-server.local.mycompany.com/service_upload.svc/basic halted - not permitted http://upload.mycompany.com/testproject2/testproject2.swf

 

 

i've created crossdomain.xml file , tried various settings try open access, including adding *.mycompany.com *.local.mycompany.com, etc., , @ moment i'm using this.

 

<?xml version="1.0"?>

<!-- http://upload.mycompany.com/crossdomain.xml -->

<cross-domain-policy>

    <allow-access-from domain='*' to-ports='*' />

</cross-domain-policy>

 

no matter permissions error when flex app calls following function:

 

<![cdata[

import com.mycompany.helloresultevent;

    import com. mycompany.service_upload;

    import mx.controls.alert;

    public function sayhello():void {

        var service:service_upload = new service_upload();

        service.addhelloeventlistener(

            function (event:helloresultevent):void {

                alert.show(event.result);

            });

        service.hello();

    }

]]>

 

i got demo project call external service.  why getting permissions error on own server, when service , swf on same server , crossdomain.xml seems open permissions?



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts