I implemented a gSoap c++ webservice-server to be accessed by Flash (as3) Everything runs smooth as long as i test the .swf locally, the .wsdl is loaded fine, and the communication works, even with the server running on an external ip already.
But the moment i put that .swf online – its coming up with sandbox security violations crying about the standard – schemas like that:
Error: [strict] Ignoring policy file at http://schemas.xmlsoap.org/crossdomain.xml
due to incorrect syntax. See http://www.adobe.com/go/strict_policy_files to fix this
problem.
*** Security Sandbox Violation ***
Connection to http://schemas.xmlsoap.org/soap/encoding/ halted - not permitted from
http://mydomain.com/main.swf
Error: Request for resource at http://schemas.xmlsoap.org/soap/encoding/ by requestor
from http://mydomain.com/main.swf is denied due to lack of policy file
permissions.
Can somebody help me with that problem ?
Or is there maybe a good way to define one simple webservice-method (like stringResult =
command (stringSessionId, stringCommand, stringParams, stringResult)) without loading the
.wsdl – file ? If i had that possibility i wouldnt have to stumble about that sandbox –
stuff.
Any help appreciated.
Thanks for the comments. The real problem here is, that the gSoap – generated wsdl – file tries to “access” these domains all over the place, so that crossdomain – stuff is out of my hands. Anyway i solved the issue now by writing the wsdl by hand without all that wsdl gsoap mega bloating, so its just accessing the w3c.* domains and they ARE obviously crossdomained
right.