SilverLight WebApp Calling Webservice in the same solution

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-05-10T10:00:10Z Indexed on 2010/05/10 10:04 UTC
Read the original article Hit count: 316

Filed under:
|
|
|

Hi,

I have a website solution that is composed of a SilverLight Project and an ASP Site that contains an asmx Webservice. The SilverLight project calls various methods in the Webservice, and this works fine on my home PC.

When i publish the site (using 123-Reg if that makes a difference), it appears that the SilverLight app is no longer able to call the webservice. I have tried debugging the app by pointing my local version of the site to my published webservice and i get a "policy" issue.

I know that 123 Reg have .Net 3.5 running on their servers, so i would assume that the site should "just work" when i publish it. Am i making a hugely stupid assumption there? Is there anything that i can do to change the "policies" within my app? Or is there another way around what i am trying to do ( i need to keep the webservice, as i want for it to be used from other places, and dont really want to duplicate code and create the same methods within the SilverLight project).

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about Silverlight