UPDATE: For the solution, please see http://blah.winsmarts.com/2008-7-SilverLight_WCF_References_in_SharePoint_-_The_right_way.aspx
_________________________________________________________
I've asked everyone I knew, so as a last resort, I've emailed a bunch of MSFT folks hoping they come back with an answer on this. But, here is a problem I am running into with Silverlight + WCF + SharePoint, and seriously there is just nobody who can seem to give me a decent answer.
I am trying to generate a WCF proxy that I can use in Silverlight – and I don’t want to “right click add service reference” because it puts the WCF Config in the web.config. Given that I am using this in SharePoint, I want to not rely on web.config (because it would muck up the website’s web.config), I’d rather store that information in a list. Basically, I’d like to hand-generate my proxy – like you would with svcutil <endpoint> /async. Unfortunately svcutil generates code that won’t work with siverlight - specifically it uses System.Runtime.Serialization.<classes> that are not supported in Silverlight.
I was under the impression that Silverlight 2, Beta 2 would have shipped with a utility called slsvcutil.exe for this very purpose – but I can’t find it.
Can anyone tell me if
a) Did it not ship in B2?
b) If it did – where is it?
_______________________________
And before you answer - No I don't want to use "Add Service Reference" - I've tried that already, yes it works, I don't want to use it if I can help it because I don't want to rely on the web.config,
and
This is not an ADO.NET data service - this is a custom WCF service. So I cannot use DataSvcUtil
___________________