07-21-2017 05:18 AM
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.
07-21-2017 11:51 AM - edited 07-21-2017 11:53 AM
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.
07-21-2017 12:09 PM
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.
07-21-2017 12:18 PM
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.