如何将数据从Objective c发布到Web服务C#?

时间:2014-05-14 04:43:52

标签: objective-c web-services

NSMutableString *soapMsg = [[NSMutableString alloc] init];
  [soapMsg appendString:[NSString stringWithFormat:@"<INSERT xmlns=\"http://viium.com/\">\n"]];

[soapMsg appendString:@"<firstname>"];
 //[soapMsg appendString:actionHTMLString];
 [soapMsg appendString:@"RAHUL"];

[soapMsg appendString:@"</firstname>"];
[soapMsg appendString:@"<lastname>"];
[soapMsg appendString:@"sharma"];
[soapMsg appendString:@"</lastname>"];
[soapMsg appendString:[NSString stringWithFormat:@"</INSERT>"]];
[soapMsg appendString:@"</soap:Body>"];
[soapMsg appendString:@"</soap:Envelope>"];

我有这个Xml消息如何在webservice c#??

中接收firstname和lastname

0 个答案:

没有答案