Is there any maximum payload size that SN can accept for inbound SOAP?

Suggy
Giga Sage

For REST, we have docs from ServiceNow which says 

glide.rest.max_content_length - max 25mb can be accepted by ServiceNow

 

But for SOAP, I couldnt find any official docs/article for max size it can accept. (the system property default size is set to 70mb and no other info apart from this)

 

Anyone knows about it?

10 REPLIES 10

Mahathi
Mega Sage
Mega Sage

Hello @Suggy,

The Maximum total size allowed in the SOAP INBOUND request body, is set via the property glide.soap.max_inbound_content_length and is defaulted at 70 MB in the system.
It is not recommended to set this value too high.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi


@Mahathi Hi, yes I know that 70mb is default. I know about that 🙂

My question is about what is 'max size'. While max size is defined for rest, why not for soap by ServiceNow?

 

It is not recommended to set this value too high. ----- Any official document on this?

Mahathi
Mega Sage
Mega Sage

Hi @Suggy 

I couldn't find any official mention about a standard but we have seen issues in the past when people set it to blown up values.

You can keep it to default or adjust it to slightly higher value.

In my opinion, You can use timeout properties to cut off long running transactions after setting values depending on the requirement.

https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/integrate/inbound-soap/reference/Lo...

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi

Mahathi
Mega Sage
Mega Sage

@Suggy  Also checked some community articles 

Below is the similar response mentioned there : 


You can try setting your desired value and test the instance for performance. The default value of 70 is the recommended max limit. Alternatively it has been suggested to use the REST Attachment api for such cases.

https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/integrate/inbound-rest/concept/c_At...

Mahathi_0-1735819316512.png

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi

Hi @Mahathi based on the design architecture, we are going with SOAP.  We are preparing  a design document and need to mention about all the details like size/limits etc. Hence was looking for official details on the same.

Hence unfortunately, we cannot do any testing now.