1 Reply Latest reply on Dec 10, 2009 2:00 PM by davsclaus

    headers

    sriram_imshriram

      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?

        • 1. Re: headers
          davsclaus

          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.