Hi,
I am reposting the same which i posted in the sas stored processes forum.
i need to read the attachemnt(file.zip) from the client and create a sas webservice(stored process) in sas.
what the web service needs to do is, read the attachment from the request body and copy to one of the folder in the sas server.
Could anyone know about this?
we are using Restful webservice and can be tested in REST API/Client
when I tried, I am getting unsupported media type, does this means that do I need to configure anything in the stored process which I created in the sas eg to support this content type?
Thanks,
Chithra
So you get a zip file ... what is in that file? If you export a Stored Process with SMC you get an SPK, which is a zip-file.
Zip file contains a folder with sas programs,'.sas' extensions
@chithra wrote:
Zip file contains a folder with sas programs,'.sas' extensions
I don't think that a stored process can be created without using smc or Enterprise Guide.
stored process is created using sas enterprise guide
Sorry, but i don't understand, what you try to do. In you initial post, you wrote: "i need to read the attachemnt(file.zip) from the client and create a sas webservice(stored process) in sas."
And now:
@chithra wrote:
stored process is created using sas enterprise guide
I think you have to explain your scenario with a lot more text, to make in understandable for outsiders.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.