468,267 Members | 1,790 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,267 developers. It's quick & easy.

Adding Soap header with out using the soap header attribute

Our web services require that we have a specific header added to the soap
message. Some are controlled by us some are controlled by other teams in
other departments. So generating the proxy with the required header
attribute isn't always an option, and modifying the auto generated code as
well isn't an option.

How can I add a soap header dynamically in code without using the
SoapHeaderAttribute?

Class name to look up in the help is all I really need I can go from there
for the implementation. I've search groups.Google.com but am not finding
anything useful, maybe it's my search terms.

Thanks
Wayne
Jun 2 '06 #1
1 1371
Do you mean to the response? or the message sent by the client?

For the client:
http://www.topxml.com/soapformatter/SOAP_Headers.asp

For the server:
Look at WSE.
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------
"Wayne Sepega" <Me******@community.nospam> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Our web services require that we have a specific header added to the soap
message. Some are controlled by us some are controlled by other teams in
other departments. So generating the proxy with the required header
attribute isn't always an option, and modifying the auto generated code as
well isn't an option.

How can I add a soap header dynamically in code without using the
SoapHeaderAttribute?

Class name to look up in the help is all I really need I can go from there
for the implementation. I've search groups.Google.com but am not finding
anything useful, maybe it's my search terms.

Thanks
Wayne

Jun 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by chris.stromberger | last post: by
6 posts views Thread by john deviney | last post: by
reply views Thread by Daniel Thune, MCSE | last post: by
reply views Thread by mcquiggd | last post: by
reply views Thread by info | last post: by
2 posts views Thread by Kevin Eldridge | last post: by
6 posts views Thread by Peter van der veen | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.