Can you alter a web service header in c# program -


i access web service, "service providers" altering requirements , require me add more information header of request send them.

my program written in c# , have done lot of research whether possible, , part have come blank.

a similar question asked here: how add custom http header c# web service client consuming axis 1.4 web service solution did produce errors not solve.

the error is:

" 'object' not contain definition 'getwebrequest' " 

with base.getwebrequest(uri);

in other question linked to, code snippet provided system.net.webrequest request = base.getwebrequest(uri); while error message refers base.getwebrequest. note g needs capitalized.

if doesn't help, need show code have causing problem.


Comments