简体   繁体   English

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

[英]How to parse a SOAP response in iOS (objective C)?

How to validate the username and password from a website having no SSL certificate ? 如何从没有SSL certificate的网站验证usernamepassword I want to parse the response . 我想parse the response I dont know how to implement the SOAPEngine class described in the github site. 我不知道如何实现github站点中描述的SOAPEngine class Github link: https://github.com/priore/SOAPEngine Github链接: https : //github.com/priore/SOAPEngine

For Validate Try -> 进行验证尝试->

#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";

or 要么

iOS Basic SOAP Authentication process iOS基本SOAP身份验证过程

and Parser Check How to work with SOAP web service and XML parsing in Swift? 和Parser检查如何在Swift中使用SOAP Web服务和XML解析?

However this in Swift but the logic is the same. 但是,这在Swift中却是相同的逻辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM