我在我的IOS应用程序中使用ASIHTTPRequest来调用wsdl/SOAP Web服务。我的客户使用安全模块(使用他的ModSecurity /一个PHP代码)。ASIHTTPRequest和网络服务安全
我用这:
NSData *xmlData = // I construct the soap message witk soapui
NSURL *url = [NSURL URLWithString:@"https:myUrlWSDL"];
self.currentRequest = [ASIFormDataRequest requestWithURL:url];
[self.currentRequest appendPostData:xmlData];
[self.currentRequest setDelegate:self];
[self.currentRequest startAsynchronous];
但是服务器发送给我的400张床位的要求。
请问我可以用所有这种安全模式打电话给我的wsdl/web服务吗?调用Web服务所需的http头是什么?谢谢你的回答
我已经禁用了安全模块。现在我有这个错误: WSDLSOAP-ERROR:解析WSDL:无法从'http:// ...?wsdl'加载:无法加载外部实体“http:// ...?wsdl”
可能重复的[ASIHTTPRequest 400坏请求(皂)](http://stackoverflow.com/questions/6301196/asihttprequest-400-bad-request-soap) – JosephH 2011-06-10 09:07:15