Hi There,
I am facing a problem while calling a web service built in Java through flex,I am using the flex 2 for client side ,and Weblogic Server 10 for webservice
The WSDL URL is http://dev-edeliveryapps.us.sunlife/edelivery/EDeliveryQueryService?WS DL
My application URL is http://dev-workbench.us.sunlife/
I kept the Crossdomain.xml file in root folder of Server , and also at almost every location of my application including the root folder of the application,
But still I am getting the Following error .The Warning says that -->>Failed to load policy file from http://dev-edeliveryapps.us.sunlife/crossdomain.xml but that location is of java web service.Do I provide the the crossdomain file to web service Vendor to keep in java side also,if yes then which location will be ther for that,Any Suggestion would be a great help
---------------------------------------------------------------------- ---------------------------------------------------------------------- ---------------------------------------------------------------------- -----------
Warning: Failed to load policy file from http://dev-edeliveryapps.us.sunlife/crossdomain.xml *** Security Sandbox Violation *** Connection to http://dev-edeliveryapps.us.sunlife/edelivery/EDeliveryQueryService?WS DL halted - not permitted from http://localhost:8302/flex/Workbench-Dev/flex/test.mxml.swf?debug=true [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://dev-edeliveryapps.us.sunlife/edelivery/EDeliveryQueryService?WS DL)"] at WSDLParser/dispatchFault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\so ap\WSDLParser.as:209] at WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\WSDLParser.as:203] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AbstractInvoker.as:145] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AbstractInvoker.as:194] at mx.rpc::Responder/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\Res ponder.as:56] at mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\ AsyncRequest.as:107] at DirectHTTPMessageResponder/securityErrorHandler()[C:\dev\enterprise_g mc\frameworks\mx\messaging\channels\DirectHTTPChannel.as:346] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/redirectEvent() Error: Request for resource at http://dev-edeliveryapps.us.sunlife/edelivery/EDeliveryQueryService?WS DL by requestor from http://localhost:8302/flex/Workbench-Dev/flex/test.mxml.swf?debug=true is denied due to lack of policy file permissions. Regards