ssl - Silverlight cross domain error while working in the same domain -
ssl - Silverlight cross domain error while working in the same domain -
i'm trying access .asmx web service ssl , silverlight client application, things have done: 1. have crossdomain.xml (only need clientaccesspolicy.xml or crossdomain.xml). 2. have tag in servicereferences.clientconfig file. 3. when phone call webservice ssl ("https:// . . .") cross domain error , when alter access point without ssl ("http:// . . .") works! 4. browsed webservice address , without ssl, boath works.
how can cross domain error while working @ same domain?...
make sure have proper entry ssl in clientaccesspolicy.xaml
. can check out on msdn http://msdn.microsoft.com/en-us/library/cc645032%28v=vs.95%29.aspx. if web service hosted in same web application silverlight application can pass relative path ws in endpoint configuration of client (.clientconfig) , crossdomain/clientaccesspolicy files won't required. example, instead of using address="http://localhost/services/exampleservice.asmx" utilize sth address="../services/exampleservice.asmx" (depending on folder in xap file located).
silverlight ssl dns
Comments
Post a Comment