Policy File for WebService
i try access flex web service
<mx:webservice id="xxx" wsdl=" http://xxxxxx/sap/bc/srt/rfc/sap/aabbcc?wsdl" showbusycursor="true">
the system of web service not same "my system" (where swf file obtained from). therefore need load policy (crossdomain.xml): security.loadpolicyfile( " http://xxxxxx/sap/a/bc/crossdomain.xml"). reasons can not put crossdomain file on root level, have load explicitly.
my problem: how (which event) can accomplish file loaded prior(!) <mx:webservice> tag parsed , run. problem is, still security error, although load file. have cross-checked alert message, reason is: none of events have placed loading in, completed before wsdl file loaded.
any idea how overcome problem?
thanks
<mx:webservice id="xxx" wsdl=" http://xxxxxx/sap/bc/srt/rfc/sap/aabbcc?wsdl" showbusycursor="true">
the system of web service not same "my system" (where swf file obtained from). therefore need load policy (crossdomain.xml): security.loadpolicyfile( " http://xxxxxx/sap/a/bc/crossdomain.xml"). reasons can not put crossdomain file on root level, have load explicitly.
my problem: how (which event) can accomplish file loaded prior(!) <mx:webservice> tag parsed , run. problem is, still security error, although load file. have cross-checked alert message, reason is: none of events have placed loading in, completed before wsdl file loaded.
any idea how overcome problem?
thanks
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment