BookmarkSubscribeRSS Feed
chithra
Quartz | Level 8

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

5 REPLIES 5
andreas_lds
PROC Star

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.

chithra
Quartz | Level 8

Zip file contains a folder with sas programs,'.sas' extensions

andreas_lds
PROC Star

@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.

chithra
Quartz | Level 8

stored process is created using sas enterprise guide

andreas_lds
PROC Star

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.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

Register now!

What is Bayesian Analysis?

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 495 views
  • 0 likes
  • 2 in conversation