3 Replies Latest reply on Mar 31, 2008 2:19 PM by

    WebServices

    BVFlex
      Hi,
      I was trying an example on Webservices. here is the code.

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

      <mx:Application

      xmlns:mx=" http://www.adobe.com/2006/mxml" backgroundColor="#FFFFFF">
      <mx:WebService

      id="srv" wsdl="https://ngiqtst.qualcomm.com/qwbs/DeptServiceSoapHttpPort?wsdl" showBusyCursor="true"/>


      <mx:DataGrid dataProvider="{srv.retrieveDepartmentData.lastResult}" >

      <mx:columns>

      <mx:DataGridColumn dataField="dname" headerText="DeptName"/>

      <mx:DataGridColumn dataField="loc" headerText="Location"/>

      <mx:DataGridColumn dataField="deptno" headerText="DeptNo"/>

      </mx:columns>

      </mx:DataGrid>


      <mx:Button label="Get Data" click="srv.retrieveDepartmentData()"/>
      </mx:Application>

      when the run the application , it gives the following error
      [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 (https://ngiqtst.qualcomm.com/qwbs/DeptServiceSoapHttpPort?wsdl)"]
      at WSDLParser/dispatchFault()
      at WSDLParser/ http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()
      at mx.rpc::Responder/fault()
      at mx.rpc::AsyncRequest/fault()
      at DirectHTTPMessageResponder/securityErrorHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/redirectEvent()

      Can anyone help me out from this ?please