如何解析iOS中的SOAP响应(目标C)?

时间:2016-02-23 09:48:12

标签: ios objective-c parsing soap

如何从没有username的网站验证passwordSSL certificate?我想parse the response。我不知道如何实现github网站中描述的SOAPEngine class。 Github链接:https://github.com/priore/SOAPEngine

1 个答案:

答案 0 :(得分:1)

验证尝试 - >

#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

和Parser 查看How to work with SOAP web service and XML parsing in Swift?

然而,这在Swift中,但逻辑是一样的。