How to access consume REST Web-Service with Silverlight (use Proxy?) without clientaccesspolicy.xml or crossdomain.xml?

SL security policy prevents you from accessing addresses on a different domain. So the solution is to create a proxy in the domain of your SL app that will forward requests to the web service you want.

I know about the proxy but only with soap (wsdl) Services. How to do it with a REST Service? I can't find any example how to access a rest service without a crossdomain.

Xml but with a proxy! – Gero Nov 3 at 21:37 1 You have to code the proxy in your web project, not on the client side. That way your server running .

NET (or Java or whatever) doesn't get hit with the Silverlight security restriction. – Mike Post Nov 4 at 1:52 Yes, but what kind of proxy is it? If I would call a soap or wcf service I could use the tool SLsvcUtil.

Exe to generate Proxies from service metadata documents. But I call a REST service. – Gero Nov 4 at 8:37 You have to create it by hand, with an API sufficient to make all your calls.

– jv42 Nov 4 at 8:45 yes, just search for simple asp proxy – Gero Nov 8 at 19:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions