Handling gziped data in scripted SOAP web services is possible?

Suggy
Giga Sage

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?

10 REPLIES 10

@Suggy 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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.

@Suggy 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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 🙂

@Suggy 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader