Returning SOAP Headers to the client  
Author Message
Joaquín Raya

PostPosted: ASMX Web Services and XML Serialization, Returning SOAP Headers to the client Top


OK, this might look like a trivial question, but for the life of google I just can't find any examples or solutions. I'm building a project that uses SOAP extensions and headers, one of my SOAP extensions requires that a SOAP Header gets sent to the web service and then returned to the client. I made it work, now it gets to the server, but when it has to come back I can't find any way to add it. So I find myself with a message with no headers and the extension fails.

Is there any way to add soap headers to the server messages It's really easy to do it for the client, but it can't make it work both ways!

Oh, sorry if I'm redundant. English is not my mother language, and I fear I'm not explaining my problem right. Thanks a lot.

.NET Development15