Hi,
I've been struggling to get a WCF web service client going on monotouch.  I have had 
the same client working with a dynamic proxy on .net, mono on mac and android. Now I 
need to get a client going for monotouch and that needs to be a statically generated 
proxy due to the limitations imposed by iOS licensing.  I found the example at 
http://wiki.ios.xamarin.com/HowTo/WebServices/Using_WCF   Is this now out of date? I 
generated a proxy for my webservice using slsvcutil.exe from Silverlight 3.0.40818.0  
This proxy compiles ok with .net but will not compile with monodroid or monotouch.  
The error I get is that the ChannelBase<T> class is not found.

Has anyone else had this issue? Is there another way to generate a proxy 
statically so that I can proceed? Or is there a way to fix up the generated 
file so that it will compile with mono.

I tried making the reference to ChannelBase explicitly as 
System.ServiceModel.ClientBase<IMobileBulletChannel>.ChannelBase<IMobileBullet> 
but then I get an error that ChannelBase is inaccessible due to protection level.

Is there a mono version of slsvcutil.exe that will generate compatible code?

Cheers,
Felix
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to