I used WSMakeStubs to create an ObjC-code from a given wsdl-File and I imported these code-files into my iPhone project. Now I have several functions the webservice provides to me, I can call them this way:
NSData *data =[WebServiceClass functionfromWebservice: parameter]
In "data" is the return code from the webservice.
My question is how to add a BASIC authorization to the webservice-call: username & key?
I know that the call creates a XML-code and transfers it to the URL where the webservice is called. So I need a function to add the authoization to this XML-segment.
If anybody knows how to do this, please help!
Thanks!
NSData *data =[WebServiceClass functionfromWebservice: parameter]
In "data" is the return code from the webservice.
My question is how to add a BASIC authorization to the webservice-call: username & key?
I know that the call creates a XML-code and transfers it to the URL where the webservice is called. So I need a function to add the authoization to this XML-segment.
If anybody knows how to do this, please help!
Thanks!