开发者

Silverlight and Secure Web Services

开发者 https://www.devze.com 2023-04-12 12:18 出处:网络
Can anyone provide advice on the following scenario? On server A is a web site containing a Silverlight control that accesses data from a WCF web service.

Can anyone provide advice on the following scenario?

  1. On server A is a web site containing a Silverlight control that accesses data from a WCF web service.

  2. On server B is a WCF web service. Server B is hosted in a protected network.

  3. Service provider will allow point to point connection between server A and B so that server A can connect with server B.

However the Silverlight control runs on the client and the client workstation attempts the connection to server B. Direct connection from the client to server B is not allowed.

Are there any options to make the silverlight control relay its request back to server A and then server A calls the web service on server B?

Only option we are aware of is to create an开发者_Go百科other web service on server A that Silverlight calls. The new web service then calls the server B web service. This seems clunky though.

Thanks


Your last option is correct. If you cannot expose Server B to Silverlight clients directly you would set-up a service on Server A that just relays the calls.

Not really that clunky, just an extra level of indirection.


create a routing service on server A

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号