Adding soap headers to a request

label Programming
account_circle Unassigned
schedule 3 Days
account_balance_wallet $5

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=\"\" xmlns:xsd=\"\" xmlns:soap=\"\">\n" 


"<Login xmlns=\"\">\n" 


"<userPasswordHash>%@</userPasswordHa sh>\n" 

"<xLoginDetails>%@</xLoginDetails> \n" 



"</soap:Envelope>\n",userName, encryptedPassword, xmlDetails]; 

How can I add a soap header to this request so that the web service can detect the "Remote Server Address" and the "ALL_RAW" value? 

Nov 6th, 2013


please check the link below its helpful to you

hope so you clearly understand your problem.missing part of your code is just like this

  <m:Trans xmlns:m=""

Nov 6th, 2013

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
Nov 6th, 2013
Nov 6th, 2013
Oct 19th, 2017
Mark as Final Answer
Unmark as Final Answer
Final Answer

Secure Information

Content will be erased after question is completed.

Final Answer