开发者

wsdl2objc authenticationProperties does not exist

开发者 https://www.devze.com 2023-03-05 11:15 出处:网络
I am trying to call my web service using wsdl2objc. I found the following code/document, but it seemed that the binding object (generated by wsdl2objc) has no such property named authenticationPropert

I am trying to call my web service using wsdl2objc. I found the following code/document, but it seemed that the binding object (generated by wsdl2objc) has no such property named authenticationProperties.

   NSDictionary *authProperties = [NSDictionary dictionaryWithObject:credentials 
                                                               forKey:NSURLAu开发者_开发技巧thenticationMethodHTTPBasic];

   binding.authenticationProperties = authProperties; 


It looks like it is a part of a version that is not out yet. That is the best answer I have found so far. I suppose you could download the code off their subversion, build it, and generate your classes with the latest. Hope they update it soon.

0

精彩评论

暂无评论...
验证码 换一张
取 消