Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

MonoTouch does not support dynamic proxy code generation

$
0
0

Anyone know how to fix this - I'm having a right old time getting to the bottom of it.

I feel like I have looked at every example available on the internet, I can sort of see what I need to do but cannot get it working.

I have tried

http://stackoverflow.com/questions/10054581/monotouch-wcf-how-to-consume-the-wcf-service-without-svcutil

and there are a few other examples out there that show a similar thing.

I've run the svcutil and generated the code, put it in my project. It builds and works up to actually doing a function call then I get the error

System.InvalidOperationException: MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance

Apparently I need to override the CreateChannel()

but I just can't figure out what I'm doing wrong

Anyone know what I need to do to get this working?

The actual root of this problem is I need to increase the MaxReceivedMessageSize on SOAP web service call. I've come across this problem dozens of times and it's normally a 2 second fix. I've been looking at this now for the last 3 days and cannot get it working in any which way, shape or form.

Thanks

Steve.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>