7 Replies Latest reply on Dec 22, 2011 4:48 PM by ShannonODonnell

    cannot load WSDL outside FlexBuilder4




      Built a one-file "checkConnect" mxml program using "Connect to Data/Service..." to connect from a PC to our server WSDL.  The SOAP/WSDL works when launched from FB Run.  After Export-Release-Build put all files into bin-release the "checkConnect.html" file works when launched from FB with a right-click on the file and Open With->Web Browser (IE 32-bit version 8.0.).


      Copied the "checkConnect" files to a folder.  Right-click on the file and Open With->Internet Explorer.  The program GUI works but the connection to WSDL fails with:


      [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://liquidemr.dnsalias.com/qportal/service.asmx?wsdl)"]
      at mx.rpc.wsdl::WSDLLoader/faultHandler()


      Checked each file permissions and they seem to allow full usage.  The Windows 7 O/S does not recognize the .swf files, recommends opening with IE.  Two other engineering PCs threw similar errors, none connect to the WSDL.


      Here is the principal source code, with an alias in our URL:


      <?xml version="1.0" encoding="utf-8"?>




        xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"

        xmlns:service="services.service.*" >



        <mx:ArrayCollection id="deviceAC" />


        <s:WebService id="idPatientWebService"



          <s:operation name="PatientLogin"



            fault="Patient_fault(event);" />


          <s:operation name="PatientGetInfo"



            fault="Patient_fault(event);" />





      The server URL is invoked with:

      private function button1_click():void {

        idPatientWebService.PatientLogin.send(stName, stPassword); }


      Thanks for helping,