PPM::SOAPServer - SOAP server for PPM repository |
PPM::SOAPServer - SOAP server for PPM repository
use SOAP::Transport::HTTP::CGI; my $safe_classes = { 'PPM::SOAPServer' => undef, }; SOAP::Transport::HTTP::CGI->handler( $safe_classes );
PPM::SOAPServer
is a module that provides an implementation of a SOAP
server to hold the PPM repository. Note that it is not required that you
actually instantiate a copy of the server object yourself; the SOAP modules
will take care of this for you when they instantiate the SOAP server. All of
the 'search*' methods that are provided by this module are made available
through the SOAP interface and can be accessed through a SOAP client.
ABSTRACT
' field within the packages held in the
repository. Within the given parameters, a key of ``search'' should be
provided containing the term to search for (which can be a regex). If no
``search'' key is provided, a complete list of all of the packages are
returned to the caller.
The return value provided from this method will be a reference to a hash
containing the result set. A key named ``num_results'' will be provided,
stating the number of results to be found in the result set. Each item in
the result set will be named ``result_???'' where '???
' is the number of
that item in the result set. For example, a search returning two results
would return a reference to a hash with keys of 'num_results
',
'result_1
', and 'result_2
'.
AUTHOR
' field within the packages held in the
repository. Within the given parameters, a key of ``search'' should be
provided containing the term to search for (which can be a regex). If no
``search'' key is provided, a complete list of all of the packages are
returned to the caller.
The return value provided from this method will be a reference to a hash
containing the result set. A key named ``num_results'' will be provided,
stating the number of results to be found in the result set. Each item in
the result set will be named ``result_???'' where '???
' is the number of
that item in the result set. For example, a search returning two results
would returns a reference to a hash with keys of 'num_results
',
'result_1
', and 'result_2
'.
TITLE
' field within the packages held in the
repository. Within the given parameters, a key of ``search'' should be
provided containing the term to search for (which can be a regex). If no
``search'' key is provided, a complete list of all of the packages are
returned to the caller.
The return value provided from this method will be a reference to a hash
containing the result set. A key named ``num_results'' will be provided,
stating the number of results to be found in the result set. Each item in
the result set will be named ``result_???'' where '???
' is the number of
that item in the result set. For example, a search returning two results
would returns a reference to a hash with keys of 'num_results
',
'result_1
', and 'result_2
'.
The return value provided from this method will be a reference to a hash
containing the result set. A key named ``num_results'' will be provided,
stating the number of results to be found in the result set. Each item in
the result set will be named ``result_???'' where '???
' is the number of
that item in the result set. For example, a search returning two results
would returns a reference to a hash with keys of 'num_results
',
'result_1
', and 'result_2
'.
The return value provided from this method will be a reference to a hash
containing the result set. A key named ``num_results'' will be provided,
stating the number of results to be found in the result set. Each item in
the result set will be named ``result_???'' where '???
' is the number of
that item in the result set. For example, a repository with two packages in
it would return a reference to a hash with keys of 'num_results
',
'result_1
', and 'result_2
'.
package
', which is the
name of the package for which we wish to fetch the PPD for. This method
returns to the caller a hash reference containing the matching results. A
key named ``num_results'' will be present stating the number of matching
results (either 0 or 1). If a PPD has been found for the requested package,
a key of ``result_1'' will also be present, whose value will be the full
contents of the PPD file (in XML format) as a scalar value.
num_results
', 'result_1
'. The value of the 'result_1
' key is the
full contents of the repository summary file (in XML format) as a scalar
value.
$field
' value is provided, this method searches
through _all_ of the fields present for a given package. If no '$search
'
value is provided, '.*
' is deemed to be the matching regex (everything).
The return value provided from this method will be a reference to a hash
containing the result set. A key named ``num_results'' will be provided,
stating the number of results to be found in the result set. Each item in
the result set will be named ``result_???'' where '???
' is the number of
that item in the result set. For example, a search returning two results
would returns a reference to a hash with keys of 'num_results
',
'result_1
', and 'result_2
'.
Graham TerMarsch (gtermars@home.com)
the PPM::SOAPClient manpage, the SOAP manpage.
PPM::SOAPServer - SOAP server for PPM repository |