0 Replies Latest reply: Sep 2, 2014 3:23 AM by 2614487 RSS

    OSB http headers management

    2614487

      I have a scenario where my osb messages are rejected by the target server, while the same messages are accepted when sent by wget. The only difference between the two requests is represented by the http headers.

       

      The first thing to notice was that most of the http headers are not showing neither in the outbound, nor in the business server traces.

       

      The outbound http headers:

       

      <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
         <http:SOAPAction>"urn:Services#DeleteUser"</http:SOAPAction>
      </tran:headers>

       

      The http headers received by the server:

       

      Hostlocalhost:7021
      Content-Length448
      SOAPAction"urn:Services#DeleteUser"
      User-AgentJava1.6.0_29
      Content-Typetext/xml; charset=utf-8
      Accepttext/html, image/gif, image/jpeg, */*; q=.2
      ConnectionKeep-Alive

       

      Why is OSB not showing all the headers? How about removing any of the headers currently received by the server, before sending the message? Can it be done in OSB?