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.
On server B is a WCF web service. Server B is hosted in a protected network.
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
精彩评论