Previous Page | Next Page

The SOAP Procedure

Example 4: Calling a SAS Web Service Using the Service Registry Service


This example calls a SAS Web service using the service URL and the Service Registry Service:

filename request temp;
filename response "c:\temp\output.xml";

proc soap in=request
                 out=response
url="http://machine.abc.xyz.com:1234/SASWIPSoapServices/services/
   ReportRepositoryService"
soapaction="http://www.xyz.com/xml/schema/sas-svcs/reportrepository-9.2/
   DirectoryServiceInterface/isDirectory"
srsurl="http://machine.abc.xyz.com:1234/SASWIPSoapServices/services/
   ServiceRegistry"
       wssusername="your-user-name"
       wsspassword="your-password"
       axis2configfile="c:\temp\axis2wip.xml";
run;

Previous Page | Next Page | Top of Page