Hello,
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"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
xmlns:service="services.service.*" >
<fx:Declarations>
<mx:ArrayCollection id="deviceAC" />
<s:WebService id="idPatientWebService"
wsdl="http://some.url.com/qportal/service.asmx?wsdl">
<s:operation name="PatientLogin"
resultFormat="object"
result="PatientLogin_result(event);"
fault="Patient_fault(event);" />
<s:operation name="PatientGetInfo"
resultFormat="object"
result="PatientGetInfo_result(event);"
fault="Patient_fault(event);" />
</s:WebService>
</fx:Declarations>
The server URL is invoked with:
private function button1_click():void {
idPatientWebService.PatientLogin.send(stName, stPassword); }
Thanks for helping,
Bruce