Hi,
I have an app using an HTTPS web service (ASMX). The app is running fine on
the emulator, however on the device every web service call fails with a
"WebException: Error: ConnectFailure" without further detailing. Any ideas
what might cause this?
This is how I build up my proxy (using WCF) in the app:
BasicHttpBinding binding = new BasicHttpBinding();
EndpointAddress address = new
EndpointAddress(EndPointConstants.SERVICEENDPOINTURI); // HTTPS address
binding.Security.Mode = BasicHttpSecurityMode.Transport;
binding.MaxReceivedMessageSize = 2 * 1024 * 1024; // set it to 2MB
var client = new MyServiceSoapClient(binding, address);
return client;
And then I use the async operations on this proxy to call the web service.
Thanks!
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/System-WebException-ConnectFailure-on-HTTPS-webservice-on-device-but-not-on-emulator-tp3758119p3758119.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch