<!--Soap Envelope is needed to declare namespaces-->

<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
  xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:wsmb="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd"
  xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
  xmlns:wxf="http://schemas.xmlsoap.org/ws/2004/09/transfer"
  xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
  xmlns:tns="http://schemas.microsoft.com/wmx/2005/06"
  xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing"
  xmlns:wsmid="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd">

<!--This section tests valid simple (non-array) properties-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">

  <mc:property_1>Property value 1</mc:property_1>
  <mc:property_2>222</mc:property_2>
  <mc:property_3 xsi:nil="true"/>
  <mc:property_4 xsi:nil="true"></mc:property_4>
  <mc:property_5></mc:property_5>

  <mc:property_6>
      <wsa:Address>http://www.acme.com:5988/wsman</wsa:Address>
      <wsa:ReferenceParameters>
        <wsman:ResourceURI>ResourceURI_6</wsman:ResourceURI>
        <wsman:SelectorSet>
          <wsman:Selector Name="first">John</wsman:Selector>
          <wsman:Selector Name="last">Doe</wsman:Selector>
        </wsman:SelectorSet>
      </wsa:ReferenceParameters>
  </mc:property_6>

  <mc:property_7>
    <mc1:Class1 xmlns:mc1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class1">
      <mc:prop_1>1111</mc:prop_1>
      <mc:prop_2>Property value 2</mc:prop_2>
    </mc1:Class1>
  </mc:property_7>

</mc:Class>


<!-- This section tests String array properties-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>100</mc:property_1>
  <mc:property_1>101</mc:property_1>
  <mc:property_1>102</mc:property_1>
  <mc:property_1>103</mc:property_1>
</mc:Class>

<!-- This section tests EPR array properties-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>
      <wsa:Address>http://www.acme_1.com:5988/wsman</wsa:Address>
      <wsa:ReferenceParameters>
        <wsman:ResourceURI>ResourceURI_1</wsman:ResourceURI>
        <wsman:SelectorSet>
          <wsman:Selector Name="first">John</wsman:Selector>
        </wsman:SelectorSet>
      </wsa:ReferenceParameters>
  </mc:property_1>
  <mc:property_1>
      <wsa:Address>http://www.acme_2.com:5988/wsman</wsa:Address>
      <wsa:ReferenceParameters>
        <wsman:ResourceURI>ResourceURI_2</wsman:ResourceURI>
        <wsman:SelectorSet>
          <wsman:Selector Name="first">Jack</wsman:Selector>
        </wsman:SelectorSet>
      </wsa:ReferenceParameters>
  </mc:property_1>
  <mc:property_1>
      <wsa:Address>http://www.acme_3.com:5988/wsman</wsa:Address>
      <wsa:ReferenceParameters>
        <wsman:ResourceURI>ResourceURI_3</wsman:ResourceURI>
        <wsman:SelectorSet>
          <wsman:Selector Name="first">Fred</wsman:Selector>
        </wsman:SelectorSet>
      </wsa:ReferenceParameters>
  </mc:property_1>
</mc:Class>

<!-- This section tests instance array properties-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>
    <mc1:Class1 xmlns:mc1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class1">
      <mc:prop_1>1111</mc:prop_1>
    </mc1:Class1>
  </mc:property_1>
  <mc:property_1>
    <mc1:Class1 xmlns:mc1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class1">
      <mc:prop_1>2222</mc:prop_1>
    </mc1:Class1>
  </mc:property_1>
  <mc:property_1>
    <mc1:Class1 xmlns:mc1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class1">
      <mc:prop_1>3333</mc:prop_1>
    </mc1:Class1>
  </mc:property_1>
</mc:Class>

<!-- This section tests errors in property XML-->

<!--Test garbage in property value-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>
    <garbage/>
  </mc:property_1>
</mc:Class>

<!--Test null elements in an array property value-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_3 xsi:nil="true"/>
  <mc:property_3>1</mc:property_3>
  <mc:property_3>2</mc:property_3>
</mc:Class>

<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_3>1</mc:property_3>
  <mc:property_3 xsi:nil="true"/>
  <mc:property_3>2</mc:property_3>
</mc:Class>

<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_3>1</mc:property_3>
  <mc:property_3>2</mc:property_3>
  <mc:property_3 xsi:nil="true"/>
</mc:Class>

<!--Test empty property tag with no xsi:nil="true"-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>1</mc:property_1>
  <mc:property_2/>
</mc:Class>

<!--Test error in EPR property-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>
      <wsa:Address>http://www.acme.com:5988/wsman</wsa:Address>
      <wsa:ReferenceParameters>
        <wsman:ResourceURI>ResourceURI_1</wsman:ResourceURI>
        <wsman:SelectorSet>
        </wsman:SelectorSet>
      </wsa:ReferenceParameters>
  </mc:property_1>
</mc:Class>

<!--Test error in instance property-->
<mc:Class xmlns:mc="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class">
  <mc:property_1>
    <mc1:Class1 xmlns:mc1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Class1">
      <mc:prop_1/>
    </mc1:Class1>
  </mc:property_1>
</mc:Class>

</SOAP-ENV:Envelope>
