There is a special case in Activator handling of AS4 messages when:
An equivalent case exists for Activator WebServices exchanges. For both AS4 and for WebServices the Activator handling of messages with no payload in the SOAP Body is controlled by the same system property, ws.allowEmptySOAPBody
.
However it is important to note that the default behavior for WebServices and for AS4 messages is not the same:
ws.allowEmptySOAPBody
is true.ws.allowEmptySOAPBody
is false.So unlike configuration for WebServices, you must expressly activate the handling of empty SOAP Body messages for AS4. To do this, you modify in the Activator tuning.properties
file.
To enable AS4 empty SOAP Body handling you must edit Activator tuning.properties
file. This file is located in <
install directory
>/conf
.
The properties in this file are applied only to the node where the tuning.properties
file is located. You must set properties specified in this file by modifying the file for each node.
By default, tuning.properties is empty. This indicates that all of its possible entries are operating at their default values.
To enable empty AS4 empty SOAP Body handling:
<
install directory
>/conf
and open the tuning.properties
file in a text editor.