References > SAM views and resources > Web service monitoring > Configure the SOAP monitor

Configure the SOAP monitor

The are two ways to configure the SOAP monitor:

  • Loading a WSDL file.
  • Manually entering XML.

Load WSDL Files

The SOAP monitor within SAM currently supports the WSDL schema, which must be exposed on a URL .After the WSDL file is successfully loaded, the file is parsed automatically, the fields populate (as shown next), and you can specify values for the available arguments. There are two types of arguments: simple and complex.

A simple argument is one where you define the value directly. A complex argument (for example, one that includes structures, classes, and lists) must be user-defined in the XML format. SolarWinds recommends that only experienced users compose complex arguments.

Advanced Settings are read-only and display additional information. Because the SOAP envelope is based on the WSDL schema, the Advanced Settings values should not be changed.

The SOAP XML field contains the SOAP envelope which is generated by the WSDL and dynamically changes as you change the SOAP settings. Use this field to confirm what will be sent to the web service.

Important: If changes are made to any of the base SOAP settings, the content of the SOAP XML is re-generated and your changes become lost.

Manually Enter XML

The following is an example of a Complex argument and would be placed in the Parameters field. SAM automatically takes the code and place it where it belongs in the envelope:

<tempPhoneNumber xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Array" ns2:arrayType="ns1:TemporaryPhoneNumber[3]">
  <item xsi:type="ns1:TemporaryPhoneNumber">
    <startDate xsi:type="xsd:int">37060</startDate>
    <endDate xsi:type="xsd:int">37064</endDate>
    <phoneNumber xsi:type="xsd:string">+1-212-5551234</phoneNumber>
  </item>
  <item xsi:type="ns1:TemporaryPhoneNumber">
    <startDate xsi:type="xsd:int">37074</startDate>
    <endDate xsi:type="xsd:int">37078</endDate>
    <phoneNumber xsi:type="xsd:string">+1-212-5554321</phoneNumber>
  </item>
  <item xsi:type="ns1:TemporaryPhoneNumber">
    <startDate xsi:type="xsd:int">37088</startDate>
    <endDate xsi:type="xsd:int">37092</endDate>
    <phoneNumber xsi:type="xsd:string">+1-212-5557890</phoneNumber>
  </item>
</tempPhoneNumber>

XML can also be entered manually by typing or pasting XML.