Enable handling of empty SOAP Body messages
There is a special case in
Activator handling of AS4 messages when:
- An inbound SOAP Body contains no payload
- The inbound payloads are packaged as attachments
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
However it is important to note that the default behavior for WebServices and for
AS4 messages is not the same:
- For WebServices message consumption, the default setting of
ws.allowEmptySOAPBody is true.
- For AS4 message consumption, the default setting of
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
About the tuning.properties file
To enable AS4 empty SOAP Body handling you must edit
tuning.properties file. This file is located in
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.
tuning.properties is empty. This indicates that all of its possible entries are operating at their
Enable empty SOAP Body handling
To enable empty AS4 empty SOAP Body handling:
- Go to
>/conf and open the
tuning.properties file in a text editor.
- Add the property:
- Set the value of the property to "true":
- Save the file.