iphone - Consuming a WCF Service with Monotouch via SSL (https) + basicHttpBinding -
iphone - Consuming a WCF Service with Monotouch via SSL (https) + basicHttpBinding -
i'm writing iphone app consume wcf services on secure connection (ssl/https). have managed consume service while testing locally via http.
now want create sure service secure, we've set uat server signed certificate run our tests.
we using custom binding, coupled security mode transportwithmessagecredentials requires username/password in clientcredentials property.
generated proxy using sisvcutil.exe
when seek phone call secure service iphone, rather lovely generic error of:
exception in async operation: system.net.webexception: there error on processing web request: status code 500(internal server error) (here pastebin of total exception ).
i've tried implicitly accepting certificate using: servicepointmanager.servercertificatevalidationcallback = (sender, cert, chain, ssl) => true; returns same 500 error.
the same code works great on windows machine not on iphone. has else come across problem and/or know of solution it?
this bug in monotouch, may not have total implementation of generated proxy using sisvcutil.exe, did seek generating mac app , test on mac?
does monotouch have documented illustration back upwards on wcf proxy? if dont have may not work, monotouch not provide .net runtime, instead compiles native ios binary. if wcf proxy not correctly transformed, not work.
iphone wcf ssl https monotouch
Comments
Post a Comment