Adding SOAP headers to ASMX service requests?

You can use SoapHeader SoapUnknownHeader to extend the generated proxy for this: msdn.microsoft.com/en-us/library/whew6x7... msdn.microsoft.com/en-us/library/y4t36w8... msdn.microsoft.com/en-us/library/system.... EDIT - as per comments: To include a custom namespace see the sample code here.

You can use SoapHeader / SoapUnknownHeader to extend the generated proxy for this: msdn.microsoft.com/en-us/library/whew6x7... msdn.microsoft.com/en-us/library/y4t36w8... msdn.microsoft.com/en-us/library/system.... EDIT - as per comments: To include a custom namespace see the sample code here.

Awesome. Using SoapHeader attribute works for me. Do you have any idea how to ensure that elements in the soap header are assigned a proper custom namespace?

Should I use XmlType attribute with Namespace property for that? – Vex Nov 15 at 8:04 @Vex see my EDIT above – Yahia Nov 15 at 8:09 Great, thanks! – Vex Nov 15 at 8:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions