SOAP Message Construction with WSMan::WSBasic

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.
  • UUID
    – Generates UUIDs for the SOAP messages.
Table 1 lists the methods the
WSBasic
class provides, which are discussed in more detail below.
Methods in WSMan::WSBasic
Method
Description
Constructor.
Registers extra XML namespaces that might be required for proprietary tags in the SOAP message
Registers extra CIM namespaces that the WS-Management server might require.
Performs the
wsmid:Identify
operation, which causes the WS-Management server to identify itself.
Filters results differently depending on the arguments you pass in.
Performs a Pull or a Release operation (overloaded method).
Get
Retrieves an instance of a class.