This is documentation for Semarchy xDI 2024.3, which is no longer actively maintained. For more information, see our Global Support and Maintenance Policy. |
Retrieving the HTTP headers returned by a web service
This page is legacy documentation. For the current HTTP REST connector, see its dedicated section. |
The HTTP Headers returned by a Web Service after invocation can be retrieved and stored easily in a database.
Metadata Configuration
The first step is to add the HTTP Header in the Output of the WSDL Metadata.
-
Open the Metadata
-
Add a new 'Part' under the Output node of the operation
-
Set its Name and Type
-
Set its Binding Type to http:header

For instance, we want here to retrieve the Content-Type header.
The Name specified must match the name of the header returned by the Web Service |