1 Reply Latest reply on Oct 18, 2007 7:51 AM by ntsiii

    Security Issues while calling Web Service

    JehMus
      Hello,

      I have designed a flex client that calls .NET web service and displays the results in the data grid. The application executed properly when I launch it from the development (D:\FlexTest\bin), the one that I specified while creating Flex Project (FlexTest). However, if I copy the same files (or the whole folder) to another location on my laptop, I receive 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 ( http://192.168.0.101/AjaxServiceInvoker2/AjaxServiceInvoker.asmx?wsdl)"
      at mx.rpc.soap::WSDLParser/::dispatchFault()
      at mx.rpc.soap::WSDLParser/ http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()
      at flash.events::EventDispatcher/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/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()

      I incur the same problem when I place the same file on my laptop's web-server. Can anyone tell why Flash Runtime could not find the wsdl file?

      Regards,
      Jehanzeb