Welcome Guest! Log in
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…


The HTTP Headers returned by a Web Service after invocation can be retrieved and stored easily in a database.

Prerequisites:

  • Stambia DI Designer S18.3.0 or higher
  • Stambia DI Runtime S17.4.0 or higher

 

Metadata Configuration

The first step is to add the HTTP Header in the Output of the WSDL Metadata.

  1. Open the Metadata
  2. Add a new 'Part' under the Output node of the operation
  3. Set its Name and Type
  4. Set its Binding Type to http:header

 

 metadata

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

 

Mapping Configuration

Now, you can map this field in your Mapping to retrieve the value returned by the Web Service for the specified header.

mapping

 

 

Articles

Suggest a new Article!