BookmarkSubscribeRSS Feed
AAI
Fluorite | Level 6 AAI
Fluorite | Level 6

Hi,

 

I have created SAS Stored Process with several input parameters and have deployed it as Web Service. 

 

I am interested how can I call my new SAS Web Service. I have tied to follow this: 

http://support.sas.com/documentation/cdl/en/wbsvcdg/64883/HTML/default/viewer.htm#n1wblekhip1yrln1fv...

 

Actually I am able to call my new SAS Web service from SOAP UI. Both REST and SOAP requests works. 

 

REST_SOAP.png 

 

But maybe someone has some examples how SAS STP Web Service should be called/triggered using Groovy code? Tried several different ways with no success. 

 

1 REPLY 1
Sajid01
Meteorite | Level 14

Trying to understand your requirement
Statement 1 and 2
I have created SAS Stored Process with several input parameters and have deployed it as Web Service.
I am interested how can I call my new SAS Web Service.?
There are many approaches to call this web service.
You can use java code, you can use curl, proc http, postman, ARC client , Apache Jmeter to name a few.
All depends on what you want to achieve.
You can pass parameter as XML/JSON and obtain  http POST OR GET response.
It all depends on what is the purpose of the call and your stored process.

Statement 3
But maybe someone has some examples how SAS STP Web Service should be called/triggered using Groovy code?

Again what you want to achieve.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1 reply
  • 2060 views
  • 2 likes
  • 2 in conversation