Currently I'm writing an iPhone app that will use WCF services on a secure connection (SSL / https). I have been able to use this service while testing locally through http.
We now want to ensure that the service is secure, so we have a properly signed certificate The UAT server is established with the letter.
We are using custom bindings, coupled with Safety Mode TransportWithMessageCredentials
for which the user name / password is required in the ClientCredentials
property.
When I try to call this secure service from the iPhone, then I get a pretty common error:
SISvcUtil.exe
Exception to async action: System.Net.WebException: There was an error in processing the web request: Status Code 500 (Internal Server Error)
().
I have tried implicitly to accept the certificate using: ServicePoint Manager. Server certificate authentication callback = (sender, certificate, chain, ssl) = & gt; This is the truth;
but it gives the same 500 error.
The same code works very well on a Windows machine but does not anyone else on the iPhone come into this problem and / or its solution? This may be a bug in monochach, it may not be a complete implementation of the proxy generated using SISvcUtil.exe.
, did you try to create a Mac app and test it on Mac?
Is there a document example with support on WCF proxy in MonTouch? If they can not possibly do this work, Monochouch does not provide knot runtime, instead it actually compiles everything for the original iOS binary. So if the WCF proxy does not change properly, then it will not work.
Comments
Post a Comment