Welcome Guest! Log in
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.


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</keepOuputMessage>
<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.

 

 

You have no rights to post comments

Articles

Suggest a new Article!