4 Replies Latest reply on May 21, 2007 10:39 AM by cuk02

    Web Service authentication and PROXY Issue

    Rahul Mainkar Level 1
      HI All,
      Recently I developed an application in Flex 2 which uses webservices to access remote data.One more point to be noted, that these webservices are secured( i.e they need username and password to access)

      I got a production server ( say myProduction server) and all my webservices are deployed on it. We have a SAP portal running on this server. I have created a PAR file of my applications .SWF file and hosted it on the portal.
      When I run my application from myProduction, it runs fine, no issues with it.

      Now, I have a proxy server ( say myProxy server), which is used to make my application available on the internet.
      This proxy redirects all the requests to myProduction server.

      When I try to run my application from myProxy Server, I am getting 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://myProduction:50000/WS_Resource/Config1?wsdl&style=rpc_enc)"
      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()


      Do I need any configuration files to be maintained? How do I resolve this proxy issue??
      myProxy server is not able to load the WSDL from myProduction.I am not usinfgFlex Data Services. I am directly accessing the services.

      If anyone knows about this issue please help me. Any help would be greatly appreciated.
      This issues has been unresolved since 15 days now.
      Thanks in advance