KB Article #181647

Cannot add payload message to SOAP Body due to payload parsing failure

Problem

-- 'Cannot add payload message to SOAP Body due to payload parsing failure'

-- this issue is happening, when we are creating large webservice .

-- Is there any place where we can update the setup to resolve this issue


Resolution

* if the transfer using Webservices and the issue happening only for large webservice the system property

ws.maxSoapBodyPayloadSizeMB was indeed set too lowSo you need to update ws.maxSoapBodyPayloadSizeMB

* log into the GUI as an admin role and then open up the hidden system properties UI page to find following setting

The property is available under https://<b2bi server host>:6443/ui/core/SystemProperties#

-> clic on "Show default system properties" ws.maxSoapBodyPayloadSizeMBThere and increase the value according to the max size of the payload you can receive

ws.maxSoapBodyPayloadSizeMBws.maxNumberOfElementsInSoapBody

* according to B2Bi 2.31 documentation :

"ws.maxNumberOfElementsInSoapBody – Maximum number of elements in SOAP Header/Body that can be processed by Webservices/AS4

ws.maxSoapBodyPayloadSizeMB – Maximum size of payload in SOAP Header/Body that can be processed by Webservices/AS4 (in megabytes)

Note : You will receive an error message if the number of elements in the document exceed the configured limit of elements that are allowed to be processed. Large number of elements in document can cause performance issues"