IBM Support

Dump http headers returned in HTTP Send Response activity with Cast Iron

Question & Answer


Question

Is there a way to dump the http headers that are returned in the HTTP Send Response activity?

Answer

Yes, you can check the http header values returned by the http send response activity.

The http header values returned by the http send response activity are assigned to the http post request activity .Therefore, to check/dump the http header values returned by the http send response activity, do the following:

1. Set logging level to "All" in WMC before deploying the project.
2. After execution of orchestration, open the "http header" variable of http post activity from the WMC. The http header variable contents looks like:

<?xml version="1.0"?>
<httpheaders><uri>10.10.50.90</uri><method>POST</method><otherHeaders><headerItem><name>Content-Length</name><value>918</value></headerItem><headerItem><name>Date</name><value>Wed, 29 Aug 2007 13:13:58 GMT</value></headerItem><headerItem><name>Server</name><value>web-server</value></headerItem><headerItem><name>Content-Type</name><value>text/html</value></headerItem></otherHeaders></httpheaders>
...


Value "<name>Content-Type</name><value>text/html</value>" in the above variable content specifies the content type.

[{"Product":{"code":"SSGR73","label":"IBM Cast Iron Cloud Integration"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"Virtual;Physical;Cloud","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

00000288

Product Synonym

Cast Iron Solution;Cast Iron Operating System;Cast Iron Studio

Document Information

Modified date:
15 June 2018

UID

swg21453206