DS2 Code Example SOAP Web Service

Reply
New Contributor
Posts: 4

DS2 Code Example SOAP Web Service

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. 

Contributor
Posts: 61

Re: DS2 Code Example SOAP Web Service

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

New Contributor
Posts: 4

Re: DS2 Code Example SOAP Web Service

[ Edited ]

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.

Contributor
Posts: 61

Re: DS2 Code Example SOAP Web Service

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.

Contributor
Posts: 61

Re: DS2 Code Example SOAP Web Service

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. 

New Contributor
Posts: 4

Re: DS2 Code Example SOAP Web Service

Okay, let me try your tip.
Ask a Question
Discussion stats
  • 5 replies
  • 100 views
  • 0 likes
  • 2 in conversation