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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1890 views
  • 2 likes
  • 2 in conversation