| Category: | Web Service |
| Notes: | The credentials that are provided are used to generate
a security token to call the destination service. The URL of the destination
service is provided.
The Registry Service is called directly to determine how to locate the Security Token Service. |
FILENAME request 'c:\temp\Request.xml';
FILENAME response 'c:\temp\Response.xml';
data _null_;
url="http://somemachine.abc.xyz.com:8080/TESTWIPSoapServices/services/
ReportRepositoryService";
soapaction="http://www.test.com/xml/schema/test-svcs/reportrepository-9.3/
DirectoryServiceInterface/isDirectory";
srsurl="http://somemachine.abc.xyz.com:8080/TESTWIPSoapServices/services/
ServiceRegistry";
WSSUSERNAME="user-name";
WSSPASSWORD="password";
rc = soapwipsrs("request", url, srsurl, "response", soapaction, wssusername,
wsspassword);
run;
Request.xml:
<soapenv:Envelope xmlns:rep="http://www.test.com/xml/schema/test-svcs/
reportrepository-9.3"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://www.test.com/
xml/schema/test-svcs/reportrepository-9.3/DirectoryServiceInterface/
isDirectory</Action>
</soapenv:Header>
<soapenv:Body>
<rep:isDirectoryDirectoryServiceInterfaceRequest>
<rep:dirPathUrl>SBIP://Foundation/Users/someuser/My Folder
</rep:dirPathURL>
</rep:isDirectoryDirectoryServiceInterfaceRequest>
</soapenv:Body>
</soapenv:Envelope>