Help needed to write input for .net web services
- by MaheshBabu
Hi folks,
i am new to iphone web services.
I need to get data from .net web server for that my soap message is
NSString *xml = [NSString stringWithFormat:@"<MortgageGetLoanOfficerInfo><PhoneNumber>919703661366</PhoneNumber></MortgageGetLoanOfficerInfo>"];
NSString *soapMessage = [NSString stringWithFormat:
@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
"<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/\">\n"
"<soap:Body>\n"
"<GenericAndroidMethod xmlns=\"Mortgage\">\n"
"<methodName>MortgageGetLoanOfficerInfo</methodName>"
"<xmlParam>%@</xmlParam>"
"</GenericAndroidMethod>\n"
"</soap:Body>\n"
"</soap:Envelope>\n",xml
];
But i did n't get response.
While i am checking in charles web debugging proxy it will show like this.
But i need to pass <MortgageGetLoanOfficerInfo><PhoneNumber>919703661366</PhoneNumber></MortgageGetLoanOfficerInfo>
as a single string.
How can i done this pls help me.
Thank u in advance.