<?xml version=\"1.0\" encoding=\"utf-8\"?>"
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"
"<soap:Body>"
"<FillFloorsNew xmlns=\"http://tempuri.org/\">"
"<BlockId>String</BlockId>"
"</FillFloorsNew>"
"</soap:Body>"
"</soap:Envelope>
我想传递阻止ID
答案 0 :(得分:0)
你可以添加像这样的参数
NSString *soapMessage = [NSString stringWithFormat:@"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"
"<soap:Body>"
"<FillFloorsNew xmlns=\"http://tempuri.org/\">"
"<BlockId>String</BlockId>"
"</FillFloorsNew>"
"</soap:Body>"
"</soap:Envelope>",BlockId];