The GetRepositoryItem
Web service retrieves an item with the given repository ID and item type from the given repository. The item is returned in XML format. The Web service method calls directly through to the getRepositoryItem
method of the atg.repository.RepositoryServices
class, which handles all logic, error checking, and result transformation.
Web Service Implementation
Web Service URL |
|
Web Service Class Name |
|
Nucleus Component |
|
Method Name |
|
Input Parameters |
|
Output |
|
Exceptions |
|
GetRepositoryItem Exceptions
Exceptions generated by the GetRepositoryItem
Web service may occur for the following reasons:
RepositoryException
The
pRepositoryPath
specified by the argument is null, or emptyThe
pRepositoryPath
specified by the argument does not resolve to a componentThe
pRepositoryPath
specified by the argument does not resolve to a RepositoryThe call to
Repository.getItem
throws aRepositoryException
GetException
The call to
GetService.getItemAsXML
throws aGetException
Web Service Generation
The following parameters are used to generate this Web service, using the WebServiceGeneratorImpl
class:
Parameter | Value |
---|---|
|
|
|
|
|
|
|
|
| A collection of Web services used to make repository calls |
|
|
|
|
| When called, gets a repository using the given arguments |
|
|
|
|
|
|
|
|
| A collection of generic repository Web services, where the user must provide information about which repository is being acted upon |
| null (will be dynamic) |
| null (will be dynamic) |
|
|
|
|
Web Service Security
By default, the GetRepositoryItem
Web service uses a security policy that allows access only by Administrators. You are free to change this to suit your needs, depending on how you expect to use this service.
FunctionalName: GenericRepositoryUser
SecurityPolicy: StandardSecurityPolicy
ACL: Administrators