You can use the WSMan::WSBasic class to construct SOAP messages for communicating with the WS-Management server.
The Perl module is located in Perl/lib/WSMan/WSBasic.pm. All operations in this class return deserialized SOAP::SOM objects from which you can extract the fault code or the SOAP replies.
You usually do not use this module directly. Instead, you use the GenericOps module built on top of WSBasic. GenericOps supports generic operations as defined by the DMTF standards. See Generic CIM Operations with WSMan::GenericOps. If you want to use the SOAP::SOM library directly, see the CPAN documentation for SOAP::SOM.
The WSMan::WSBasic module requires the following Perl modules.
■
|
SOAP::Lite – WSMan::WSBasic requires Version 0.65 or later to form SOAP messages and to parse XML replies that are received from the WS-Management server. |
■
|
Methods in WSMan::WSBasic lists the methods the WSBasic class provides, which are discussed in more detail below.