The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Attachment size limit for outbound SOAP messages.

Nilesh4
Tera Contributor

Hi, 

Did anyone faced challenges in transferring large attachment over SOAP? more than 10 MB.
I have a scripted SOAP API which is used to transfer request information and attachments outside ServiceNow.

For some requests attachments are more than 10MB and I am getting an exception in backend.

EXCEPTION: "String object has exceeded maximum permitted size of 33554432".

I have overcame default 5MB size issue also tried setting system properties mentioned in community and changing payload max lengths but no success. 

1 ACCEPTED SOLUTION

Nilesh4
Tera Contributor

Finally it is working, Checked with HI support. 

We needed to update two properties and increase payload field size on ecc queue table. 

glide.size.aware.max_size.org.mozilla.javascript.NativeString -> 83886080 
glide.size.aware.max_size.java.lang.String  - >  83886080

 

- Nilesh

View solution in original post

4 REPLIES 4

Prateek kumar
Mega Sage

Take a look at this blog.

http://www.john-james-andersen.com/blog/service-now/handling-large-soap-messages-in-service-now.html


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Hi Prateek, 

I am looking for outbound soap message limit issue. Did you faced any similar issue?

Nilesh4
Tera Contributor

Finally it is working, Checked with HI support. 

We needed to update two properties and increase payload field size on ecc queue table. 

glide.size.aware.max_size.org.mozilla.javascript.NativeString -> 83886080 
glide.size.aware.max_size.java.lang.String  - >  83886080

 

- Nilesh

Glad you got it resolved. 🙂


Please mark my response as correct and helpful if it helped solved your question.
-Thanks