Skip to main content

3.Finally we came to know that some content length is mismatching when compared the XML and transformation XML

 

so can anyone please help me regarding this issue why this transformation xml is not working

10 个回答
  1. 2020年8月18日 11:33

    Hi,

     

    In both cases you are printing message in the logger, so for both case its printing input request attributes headers information for JSON post and XML post request.

     

    that why you are getting different content length because in message logger it printing input headers for both request.

     

    Output of Dataweave is always having the same content length because we are always converting input payload to XML

     

    Please check below Postmen screen shot as I am showing you response header content length.

     

    And its same for both JSON and XML request.

     

    Hi, In both cases you are printing message in the logger, so for both case its printing input request attributes headers information for JSON post and XML post request.

     

    Regards,

    Shekh

0/9000