Previous Page | Next Page

The SOAP Procedure

Example 2: Using PROC SOAP without a SOAPEnvelope Element


This example calls the same service as is called in the process described in Using PROC SOAP with a SOAPEnvelope Element . But here the service is called without an envelope:

FILENAME REQUEST 'C:\temp\simpleTest_REQUEST.xml';
FILENAME RESPONSE 'C:\temp\simpleTest_RESPONSE.xml';

data _null_;
   file request;
   input;
   put _infile_;
   datalines4;
<add:addintegers xmlns:add="http://tempuri.org/addintegersWS">
   <add:parameters>
      <add:int1>20</add:int1>
      <add:int2>30</add:int2>
   </add:parameters>
</add:addintegers>
;;;;

run;

%let RESPONSE=RESPONSE;
proc soap in=REQUEST
          out=&RESPONSE
          url="http://localhost:8080/SASBIWS/services/addintegersWS"
          wssusername="your-user-name"
          wsspassword="your-password"
          axis2configfile="C:\temp\axis2.xml";
run;

Previous Page | Next Page | Top of Page