AFHTTPRequestOperation works fine but AFHTTPSessionManager doesn't work
问题 I am doing an SOAP request with a web service using AFNetworking2.2.1 .I have read the documentation on AFNetworking, it says that Although AFHTTPRequestOperationManager is usually the best way to go about making requests, AFHTTPRequestOperation can be used by itself.It means that the recommended way is using the AFHTTPSessionManager .First, I use the AFHTTPSessionManager ,but it doesn't work.Then I tried AFHTTPRequestOperation ,it works fine.This really confused me. Here are the two code