我在 XML 使用 SOAP 引擎解析的字典上得到额外的双引号
I am getting extra double quotes on XML parsed dictionary using SOAP Engine
我在我的应用程序中使用 SOAPEngine,我在解析 xml 数据时遇到了一些问题。我在输出之前得到这个 "Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future."
我调用的 SOAP 请求是
soap = [[SOAPEngine alloc] init];
soap.delegate = self;
soap.actionNamespaceSlash = YES;
soap.authorizationMethod = SOAP_AUTH_CUSTOM;
soap.header = [NSString stringWithFormat:@"<userCredentials xmlns=\"http://tempuri.org/\"><userName>swm</userName><passWord>swm123</passWord></userCredentials>"];
[soap setValue:@"6" forKey:@"staffId"];
[soap requestURL:@"http://swm20.evizontech.com/mobApp_WebServices/ws_getTaskListByAssignee.asmx"
soapAction:@"http://tempuri.org/GetTaskAssignedToMeList"];
我的输出和 Web 服务的 XML 显示在附加的屏幕截图中。实际问题是我在 XML parsed NSdictionary 上得到了额外的双引号。我该如何解决?
是一个内部警告信息,只是内部警告信息,在将接收到的数据转换为可读的XML格式的过程中,可以忽略,它是一个非阻塞错误,不会产生其他错误接收到的数据,此消息已在新版本中删除
这是 SOAPEngine 中的错误,已在较新版本中修复
我在我的应用程序中使用 SOAPEngine,我在解析 xml 数据时遇到了一些问题。我在输出之前得到这个 "Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future." 我调用的 SOAP 请求是
soap = [[SOAPEngine alloc] init];
soap.delegate = self;
soap.actionNamespaceSlash = YES;
soap.authorizationMethod = SOAP_AUTH_CUSTOM;
soap.header = [NSString stringWithFormat:@"<userCredentials xmlns=\"http://tempuri.org/\"><userName>swm</userName><passWord>swm123</passWord></userCredentials>"];
[soap setValue:@"6" forKey:@"staffId"];
[soap requestURL:@"http://swm20.evizontech.com/mobApp_WebServices/ws_getTaskListByAssignee.asmx"
soapAction:@"http://tempuri.org/GetTaskAssignedToMeList"];
我的输出和 Web 服务的 XML 显示在附加的屏幕截图中。实际问题是我在 XML parsed NSdictionary 上得到了额外的双引号。我该如何解决?
是一个内部警告信息,只是内部警告信息,在将接收到的数据转换为可读的XML格式的过程中,可以忽略,它是一个非阻塞错误,不会产生其他错误接收到的数据,此消息已在新版本中删除
这是 SOAPEngine 中的错误,已在较新版本中修复