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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1298 views
  • 2 likes
  • 2 in conversation