I want call a web service with parameter from my iphone app.
The parameter is a string and where and how I have to specify the parameter calling the web service using xml or whatever it is.
Please tell me if somebody knows about it. I want to send a state name to the web service.
please help me to solve this issue.
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>"
"<stateWiseHospitalName xmlns=\"http://ws.centricare.org\" />"
"</soap:Body>"
"</soap:Envelope>"
];