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
Jade | Level 19

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
Jade | Level 19

@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
Jade | Level 19

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

📢

ANNOUNCEMENT

The early bird rate has been extended! Register by March 18 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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