Sun Java System Portal Server 7 Command-Line Reference

psadmin search-registry

Description

Searches for WSRP artifacts in the ebXML repository. For generic search, use wildcard; for example:

**organization.name =%
organization.description=%

This retrieves all the records from Registry Server. Otherwise, exact name should be given to get particular data.

Syntax

Long Format

psadmin search-registry --component consumer --adminuser uid --passwordfile password-filename --portal portal-ID [--searchproducerdatafile file | --searchportletdatafile file | --searchorgdatafile file]

Short Format

psadmin search-registry -m consumer -u uid -f password-filename -p portal-ID [-C file | -D file | -L file]

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name.

[--component | -m] consumer

Specifies the name of the component. Value should be consumer.

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--portal | -p] portalid

Specifies the portal ID.

The following options are optional:

[--searchorgdatafile | -L] file

Specifies the name of the file that contains the attributes to be searched for while searching for Organization that offers WSRP service. Contents of the file include:

  • organization.name =acme

  • organization.description=news - Wildcard search

[--searchportletsdatafile | -D] file

Specifies the name of the file that contains the attributes to be searched for while searching for WSRP Portlets. Contents of the file include:

  • portlet.name =ACME Portlet

  • portlet.description=news * - Wildcard search

[--searchproducerdatafile | -C] file

Specifies the name of the file that contains the attributes to be searched for while searching for WSRP Producer. Contents of the file include:

  • producer.name =ACME Producer - Wildcard search

  • producer.description=stocks* - Wildcard search