Has anyone done a script to send a soap request an...
# suitescript
c
Has anyone done a script to send a soap request and get a ZIP file back as a response?
b
whatever you are integrating with is weird, usually a soap request gets a soap response back
c
yeah tell me about it
here's a copy paste from the doc
"The WMS API accepts and returns XML and is platform/ language independen. All bulk retrieval operations return a ZIP archive (GZIP) to reduce the amount of bandwidth used."
b
oh, thats more normal
c
I don't think Celigo can handle that so might need to script it
b
wont answer the celigo part, you can try asking them
c
Are there APIs within SS to handle file operations including file unzip or do I need to look at a third part library for the latter?
b
gzip is done at the http client level
your browser does it for you all the time
c
yeah, I'm assuming I would have to handle it in the scripts response object assuming I can't get celigo to do it.
b
im saying that you can probably ignore the gzip part, N/https should do it for you
c
nlobjResponse in SS1 handles it so it's probably sage to assume SS2 would do the same. Will check the docs more thoroughly later. Thanks!
b
fair chance celigo does it for you too, though you should probably check