I'm developing a web service client application in VB.Net. I have added a web reference and able to invoke the service & get the back the response. But now I need to add following line to the http header in the request:
By default header part contains:
Content-Type: text/xml; charset=UTF-8
I need to append "Cookie: xyz=somevalue" to above.
I tried adding element to cookieContainer but seems its not working. Is there a way to just append a line of text to the http header in the request?
Thanks in advance.