This is my second post on message headers.
whenever i call a webservice, how can i prevent my headers to be overwritten?
I set the content-type in my header as xml when sending the request but in response it becomes text. i am not sure about the reasons for this.
also my header values are getting wiped off in my response.is there a way to prevent this?
if not is there anyway to send params when calling xslt but for using headers?
That is because the reply from the remote HTTP server set the Content-Type to be plain/text or whatever it said it was. Your headers on the Exchange will contain the headers the remote HTTP server replied with.
If you want to preserve your headers them store them somewhere temporary while calling that http server.