3 Replies Latest reply on Jan 29, 2008 7:40 PM by ntsiii

    Security error accessing url, WebService, Flex Builder 3

    bshirley
      I've searched all the forums, and this shouldn't be a crossdomain.xml file issue.

      I'm using FlexBuilder 3.0 beta 3
      I have a simple application that is accessing my WebService on a JBoss application server on the same machine.
      It works fine.

      I created a new project, and copied the code over (to have a clean project), and BOOM it doesn't work.

      I've pared it down to the smallest possible code. It's obviously in the web service initialization trying to verify the wsdl. I get the security error most commonly legitimately caused by lack of crossdomain.xml.

      It still runs fine from the first project.
      From the new one: "Security error accessing url"

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" >

      <mx:WebService id="personAccess"
      wsdl=" http://localhost:8080/IntranetService/PersonAccess?wsdl"
      fault="Alert.show(event.fault.faultString)"
      >
      </mx:WebService>

      <mx:Script>
      <![CDATA[
      import mx.controls.Alert;
      ]]>
      </mx:Script>


      </mx:Application>