Is there any maximum payload size that SN can accept for inbound SOAP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 12:45 AM - edited 01-02-2025 03:36 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 03:30 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 03:39 AM
@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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 03:49 AM - edited 01-02-2025 03:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 04:02 AM
@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...
If my answer helped in any way, please mark it as ✅Correct & 👍Helpful
Regards,
Mahathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 12:10 AM - edited 01-05-2025 10:17 PM
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.