7 Replies Latest reply on Mar 25, 2014 2:27 PM by Albin

    Passing Custom HTTP headers from PS to BS (REST)

    1061048

      Hi,

       

      I am calling a BS from PS(REST based). In message flow did the publish to BS and set transport headers within the publish.

       

      I have set Content-Type,http-method and two user headers to "$inbound/ctx:transport/ctx:request/tp:headers/tp:user-header/@name" and "$inbound/ctx:transport/ctx:request/tp:headers/tp:user-header/@value".

       

      Also, my PS has "Pass all Headers through Pipeline" set and have also created a pass-through service account on BS so that headers pass through till the endpoint via BS.

       

      Also, I've set "Get All Headers" to Yes under Transport Configuration tab on PS.

       

      What else am missing? My request is getting echoed. BS is not even getting called.

       

      Please advise.

       

      Thanks,

      Nikhil