Take a survey

Developing Applications Using APIs > Working with LiveCycle ES Repository > Reading Resources > Reading resources using the web service API

Reading resources using the web service API
To programmatically retrieve a resource using the Repository service web service API, perform the following tasks:
1.
2.
Using the Microsoft .NET client assembly, create a RepositoryServiceService object by invoking its default constructor. Set its Credentials property using a System.Net.NetworkCredential object containing the user name and password.
3.
Specify a string containing the URI of the resource to be retrieved. In this case, because the resource named testResource is in the folder named testFolder, its URI is "/testFolder/testResource". When using a language compliant with the Microsoft .NET Framework (for example, C#), store the URI in a System.String object.
4.
Invoke the RepositoryServiceService object’s readResource method and pass the URI of the resource as the first parameter. Pass null for the other two parameters.
View quick start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/repositoryReadingFiles.123.4.html