关于如何创建存储过程以输出数据流 (xml) 并将其部署为 Web 服务,我需要您的帮助吗?SAS 存储过程需要将数据集作为 xml 流出。但是当我在soap UI上测试它作为webservice时,xml上没有显示任何值。请参阅下面的代码和 SOAP UI 的输出。我还附上了存储过程属性的屏幕截图。enter code here
代码:
data chartxml; input price sell; datalines; 20 250 30 180 40 130 50 250 60 250 ; run; libname _webout XML XMLmeta=schemadata; data _webout.chartxml; set chartxml; run;
SOAP OUTPUT
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Body <n:chartResponse xmlns:n="http://tempuri.org/Chart"> <n:chartResult/ </n:chartResponse> </soapenv:Body> </soapenv:Envelope>
谢谢,克里希纳