Handling gziped data in scripted SOAP web services is possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2025 04:48 AM - edited ‎01-02-2025 04:50 AM
We have a scripted soap web service created.
Extenal tool wants to send gziped data to this. Is it automatically handled or should we de-compress using any script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2025 08:52 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 12:07 AM
Hi @Ankur Bawiskar as I mentioned in my original post, we have scripted web service. 3rd part tool would send the gziped data and we need to process it. I am talking about compressed data not files/attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 02:01 AM
In your original question it was not mentioned you need to process that gzip.
I already informed in my 1st response to your question that if you wish to unzip you will have to do some custom solution as OOB nothing is present.
So basically it means you cannot unzip and hence cannot process the files present inside that gzip file.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 04:03 AM
Hi @Ankur Bawiskar In my question I have clearly mentioned that " we have created a scripted soap web service and Extenal tool wants to send gziped data to this end point" ------ Not sure how this is not clear 🙂
Again, to clarify - gzip means its a form of data compression and not zipping and unzipping of multiple files. I never mentioned that way 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 04:07 AM
got the use case now. It's just similar to multi-part form data which 3rd parties send sometime or expect from ServiceNow.
I don't think OOB ServiceNow has something to handle the gzip data
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader