我正在开发一个iphone应用程序,用于请求sharePoint的soap请求,例如GetListItems Web服务。但我得到不同类型的异常,我很新的iphone,也SOAP请求..用于iphone开发的GetListItems webservices的soap请求
错误是: - “Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
”
我的XML代码: -
NSString *soapMessage = [NSString stringWithFormat:
@"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<soap:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"> \n"
"<soap:Body> \n"
"<GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\">\n"
"<listName>@""</listName>\n"
"<viewName>string</viewName>\n"
"<query></query>\n"
"<viewFields></viewFields>\n"
"<rowLimit></rowLimit>\n"
"<queryOptions></queryOptions>\n"
"<webID></webID>\n"
"</GetListItems>\n"
"</soap:Body> \n"
"</soap:Envelope>"];
我找不到问题出在哪里请帮我..
嗨 谢谢你的快速回复。是的,我把32位数的viewName ..但我发送空白listName。所以我需要为listname放32位数字?如果您有Iphone应用程序开发的示例应用程序请求,请发给我。 感谢和Regrads, KamalBhr – KamalBhr 2009-12-16 05:20:03
你一定要指定列表名称... – 2009-12-18 16:14:04