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…


In Runtime Configuration file (engineParameters.xml), it's possible to set the memorization of the messages of a web service.

This configuration is global for all Processes, as explained in the following article.

If a Process need different settings, a dedicated meta-inf parameter can be defined to override global behavior.

Prerequisites:
  • This is only available for the HTTP REST API
  • Stambia DI Runtime S17.6.7 or higher

 

Memorization of messages

Creation of the Web Service Process

Create the Web Service Process, go to "Properties" View, and lead to "Meta-Inf" tab, where the parameter to customize the memorization of messages will be defined.

memorisation

 

Configuration of the META-INF

Next, lead to the main Process Properties, and open the Meta-Inf tab.

Add in the box the following sample of code and replace it with your own settings:

<keepInputMessage>yes</keepInputMessage>
<keepOutputMessage>yes</keepOutputMessage>
<keepFaultMessage>yes</keepFaultMessage>

 

Attribute Description Example
KeepInputMessage Memorization of the input message yes
KeepOutputMessage Memorization of the ouput message

no

KeepFaultMessage Memorization of the faul message if_error

 

That's it, from now at each invocation the messages will be saved or not depending on defined values.

 

 

Articles

Suggest a new Article!