I\'m trying to make a SOAP request with Swift. Running the latest Xcode/iOS as of 9/9/14. I use an NSMutableURLRequest
that I add an HTTPBody to with the reques
I searched everywhere for this problem and ultimately I was passing the wrong credentials at didReceiveAuthenticationChallenge :(
Check if you are accidentally doing the same too
If that doesn't work try this:
Embed your credentials in the url string
NSString *urlString = @"http://username:password@domain.com/home";
[webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlString]]];
The issue with Stream not Open seems to be directly i CFNetwork implementation. (reproducible when using NSConnection and also NSSession). It occurs for requests (responses) that needs to be chunked. A side-effect of this issue is that windows authentication is not working properly and each request needs to go through complete handshaking process. And it is not fixed also in iOS 8.1.