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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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