BookmarkSubscribeRSS Feed
sanalitics
Obsidian | Level 7

Hello,

 

I have created a strored process which delivers PDF reports after executing proc report procedure. Kindly let me know how I could create a web service, so that; when a client calls, sas server should deliver the PDF instead of the data...?

 

Thanks,

Sandeep

4 REPLIES 4
Cynthia_sas
Diamond | Level 26
Hi, I am not sure what you mean by Web Services. Do you mean the Stored Process Web Application and using STPSRV_HEADER to change the content-type header? This Tech Support note might get you started in the right direction: http://support.sas.com/kb/12/994.html

cynthia
sanalitics
Obsidian | Level 7

Thank you Cynthia for the response!

I meant about web services where the SAS services are consumed by different technologies such as java and .net.

I am able to generate text and XML mesages to be consumed but not for the files such as PDF or images etc.

 

I feel I should raise this question under diffrent category instead of ODS and Base Reporting.

 

Thanks Again,

Sandeep

 

 

Cynthia_sas
Diamond | Level 26
Hi:
This is probably a question for Tech Support.
cynthia
sanalitics
Obsidian | Level 7

Right! Thanks for the response.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1804 views
  • 0 likes
  • 2 in conversation