DS2 Code Example SOAP Web Service

Reply
Occasional Contributor
Posts: 6

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. 

Frequent Contributor
Posts: 119

Re: DS2 Code Example SOAP Web Service

Posted in reply to faisalbasra

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

Occasional Contributor
Posts: 6

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.

Frequent Contributor
Posts: 119

Re: DS2 Code Example SOAP Web Service

Posted in reply to faisalbasra

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.

Frequent Contributor
Posts: 119

Re: DS2 Code Example SOAP Web Service

Posted in reply to faisalbasra

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. 

Occasional Contributor
Posts: 6

Re: DS2 Code Example SOAP Web Service

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