BookmarkSubscribeRSS Feed
faisalbasra
Fluorite | Level 6

Hello everyone, 

 

I am wondering how we can call a SOAP web service from DS2 code? I do see some DS2 examples around REST web services, but due to RTDM's Web Process limitation i.e. it can't process complex/composite type elements, sometimes we might need to develop SAS process in DS2 to call the SOAP web service,  especially when RTDM version is not 6.3 or higher. 

 

Please share some example code of DS2 for invoking SOAP web services. 

5 REPLIES 5
AlanC
Barite | Level 11

I can't test for you right now but have you considered using PROC SOAP then doing the manipulation once it is a dataset?

https://github.com/savian-net
faisalbasra
Fluorite | Level 6

Hi Alan,

You are right, we can do proc soap, but proc soap is only available in base SAS, if I am not wrong. I need a SAS process in RTDM, which can call the web service, make output variables available in campaign diagram,  and I think in RTDM we can't use Base SAS and datasets.

AlanC
Barite | Level 11

Is it a license issue (you are not supposed to run Base SAS)? From what I can quickly tell, Base SAS is there. I quickly looked at some documentation and some of the supporting files are *.sas files. You can try and run a command-line for a simple sas program and see if it works.

https://github.com/savian-net
AlanC
Barite | Level 11

Try executing a PROC SOAP;RUN; and see what the log says. i bet it will throw an error but say that you didn't supply enough parameters. 

https://github.com/savian-net
faisalbasra
Fluorite | Level 6
Okay, let me try your tip.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 5 replies
  • 1190 views
  • 0 likes
  • 2 in conversation