Thanks Vince for the response- I did mention the Stream option. In the meantime, I fixed my issues.
Just in case, it helps anyone - I am listing down the mistakes/ corrections I made during the last couple of days:
1. After getting annoyed with _WEBOUT, I decided to use another fileref in my SAS code and registered that in Data target tab while creating the stored process (Once I find some time, I will recheck _WEBOUT again- conceptually it should work- i guess!)
2. I spent some hours to realise that the endpoint URl is different for getting the Streamed results/ Output parameters
eg. https://<webserverUrl>/SASBIWS/rest/storedProcesse s/<StoredProcess Path >/<stpName>/outputParameters/<macrovariable>
https://<webserverUrl>/SASBIWS/rest/storedProcesse s/<StoredProcess Path >/<stpName>/dataTargets/<fileref>
3. In dataTargets, it took me some time to configure the correct content-type for associated file
File Type
content-type
File Type
content-type
pdf
application/pdf
xls/csv
application/vnd.ms-excel
zip
application/x-zip-compressed
4. At client side, I gave content-type: text/xml as I pass the parameters
There are still lot of areas to explore in this topic. Eventhough, I read about XMLA webservice, i havent still understood its use case. Since RESTClient is easy to use, I felt RESTful webservices comparatively simple to operate.
Thanks, Dilip
... View more