如何从没有username
的网站验证password
和SSL certificate
?我要parse the response
。我不知道如何实现github站点中描述的SOAPEngine class
。
Github链接:https://github.com/priore/SOAPEngine
最佳答案
进行验证尝试->
#import <SOAPEngine64/SOAPEngine.h>
SOAPEngine *soap = [[SOAPEngine alloc] init];
soap.userAgent = @"SOAPEngine";
// authorization
soap.authorizationMethod = SOAP_AUTH_BASIC; // basic auth
soap.username = @"my-username";
soap.password = @"my-password";
要么
iOS Basic SOAP Authentication process
和解析器
检查How to work with SOAP web service and XML parsing in Swift?
但是,这在Swift中却是相同的逻辑。
关于ios - 如何在iOS( objective-c )中解析SOAP响应?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/35574033/