Previous Page | Next Page

The SOAP Procedure

Example 5: Calling a SAS Web Service Using the SAS Environments File


This example uses the SAS environments file and the test environment to call the SAS Web service:

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

proc soap in=request
                 out=response
                 service="ReportRepositoryService"
soapaction="http://machine.abc.xyz.com:1234/SASWIPSoapServices/services/
   ReportRepositoryService"
                 envfile="http://file-server-name.abc.xyz.com/sas-environment.xml"
                 environment="test";
                     wssusername="your-user-name""
                     wsspassword="your-password"
                     axis2configfile="c:\temp\axis2wip.xml";
run;

Previous Page | Next Page | Top of Page