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.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.