The HTTP Verb used when invoking a Web Service, such as POST, GET, PUT, ... is defined in the WSDL Metadata.
This can be customized and specified dynamically at invocation if needed.
Prerequisites:
- This is only available for the HTTP REST API
- Stambia DI Designer S18.3.0 or higher
- Stambia DI Runtime S17.4.0 or higher
Metadata Configuration
The first step is to configure the WSDL Metadata to allow that.
- Open the Metadata
- Add a new 'Part' under the Input node of the operation
- Set its Name and Type (string)
- Set its Binding Type to
http:method
Mapping Configuration
Now, you can specify the desired HTTP Verb directly in the Mapping invoking the Web Service.
For this, simply map the node previously created with the desired value.