The HTTP Response Code and HTTP Response Message 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 Response Code and HTTP Message in the Output of the WSDL Metadata.
- Open the Metadata
- Add two new 'Part' under the Output node of the operation
- Set their Name and Type
- Set their Binding Type to
http:responseCode
andhttp:responseMessage
Mapping Configuration
Now, you can map these fields in your Mapping as usual to retrieve the values returned by the Web Service.