userName Homework Help
userName Homework Help. Adding soap headers to a request
I am working on iphone and sending a soap request to a .net site. The site is expecting a remote server address from my request.
Here is my soap request:
NSString *soapFormat = [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””
“”<Login xmlns=””http://testsite.com/Test/””>n””
“”<userName>%@</userName>n””
“”<userPasswordHash>%@</userPasswordHa sh>n””
“”<xLoginDetails>%@</xLoginDetails> n””
“”</Login>n””
“”</soap:Body>n””
“”</soap:Envelope>n””
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"
