DMTF-WSMan
view release on metacpan or search on metacpan
lib/DMTF/WSMan.pm view on Meta::CPAN
Returns the response from a Create operation. The body argument is the
complete contents of the SOAP body element.
=item C<< invoke( epr=>I<epr>, body=>I<object>, method=>I<method> ); >>
Returns the response from a custom method invocation. When a method
is provided, the action is constructed by appending "/" and the specified method to the
end of the ResourceURI in the EPR.
=item C<< enumerate( epr=>I<epr>, filter=>I<filterxml>, mode=>I<EnumerateObjects> ); >>
Returns all the responses to both an Emumerate and all the successive
Pull operations to complete an enumeration.
The filter is included directly in the XML so must include the
appropriate filter tags.
Mode specifies the enumeration mode. Available values are:
'EnumerateObject', 'EnumerateEPR', 'EnumerateObjectAndEPR'
=item C<< get_selectorset_xml( I<epr> ) >>
Returns an XML representation of the SelectorSet tag constructed from the
passed EPR using the same XML namespaces and prefixes that will be used in
the actual message.
=item C<< epr_to_xml( I<epr> ) >>
Returns an XML representation constructed from the passed EPR using the
same XML namespaces and prefixes that will be used in the actual message.
=back
=head1 DIAGNOSTICS
This module will carp() on errors and return undef or an empty list.
=head1 CONFIGURATION AND ENVIRONMENT
DMTF::WSMan requires no configuration files or environment variables.
=head1 DEPENDENCIES
=over
=item L<Data::UUID> (available from CPAN)
=item L<LWP> (part of perl libwww)
=item L<LWP::Authen::Digest> (part of perl libwww)
=back
=head1 INCOMPATIBILITIES
None reported.
=head1 BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to
C<bug-dmtf-wsman@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.
=head1 AUTHOR
Stephen James Hurd C<< <shurd@broadcom.com> >>
=head1 LICENCE AND COPYRIGHT
Copyright (c) 2012, Broadcom Corporation C<< <shurd@broadcom.com> >>. All rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.
=head1 DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
( run in 1.928 second using v1.01-cache-2.11-cpan-39bf76dae61 )