SOAP Envelope Examples

The following examples show SOAP envelopes that the HPOM Incident Web Service receives and sends for various operations.

Create Request SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action>
    <h:OperationTimeout xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      PT10M0.00S
    </h:OperationTimeout>
    <h:ResourceURI xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident
    </h:ResourceURI>
    <a:MessageID>urn:uuid:2be9d179-a8be-476d-8558-576e5d2283b8</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
    </a:ReplyTo>
    <a:To s:mustUnderstand="1">http://manager1.example.com/opr-webservice/Incident.svc</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Incident xmlns="http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident">
      <Title>My custom app has serious problems</Title>
      <Severity>Major</Severity>
      <Category>CustomApplications</Category>
      <CollaborationMode>fyi</CollaborationMode>
      <EmittingCI>
        <ConfigurationItemProperties
          xmlns="http://schemas.hp.com/ism/ServiceTransition/ConfigurationManagement/1/ConfigurationItem">
          <ID>92384-1232-234-2134</ID>
        </ConfigurationItemProperties>
      </EmittingCI>
      <EmittingNode>
        <NodeProperties xmlns="http://schemas.hp.com/ism/ServiceTransition/ConfigurationManagement/1/Node">
          <DnsName>host.example.com</DnsName>
        </NodeProperties>
      </EmittingNode>
      <Extensions>
        <OperationsExtension xmlns="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/Incident">
          <Application>My custom app</Application>
          <Object>Custom Apps</Object>
          <NumberOfDuplicates>0</NumberOfDuplicates>
          <ConditionMatched>false</ConditionMatched>
          <AutomaticActionStatus>notAvailable</AutomaticActionStatus>
          <OperatorActionStatus>notAvailable</OperatorActionStatus>
          <EscalationStatus>notEscalated</EscalationStatus>
          <CustomAttributes>
            <CustomAttribute>
              <Key>Customer</Key>
              <Text>VIP</Text>
            </CustomAttribute>
          </CustomAttributes>
          <NumberOfAnnotations>0</NumberOfAnnotations>
        </OperationsExtension>
      </Extensions>
    </Incident>
  </s:Body>
</s:Envelope>

Create Response SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse</a:Action>
    <a:RelatesTo>urn:uuid:2be9d179-a8be-476d-8558-576e5d2283b8</a:RelatesTo>
    <a:To s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <ResourceCreated xmlns="http://schemas.xmlsoap.org/ws/2004/09/transfer">
      <a:Address>http://manager1.example.com/opr-webservice/Incident.svc</a:Address>
      <a:ReferenceParameters>
        <SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
          <Selector Name="IncidentID">a1a822f0-d485-40d5-96bb-2e42b6dd961a</Selector>
        </SelectorSet>
        <ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
          http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident
        </ResourceURI>
      </a:ReferenceParameters>
    </ResourceCreated>
  </s:Body>
</s:Envelope>

Close Request SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.hp.com/ism/ServiceOperation/Common/1/Close</a:Action>
    <h:ResourceURI xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident
    </h:ResourceURI>
    <h:SelectorSet xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Selector Name="IncidentID">527c6290-c5b8-71dc-1691-103941590000</Selector>
    </h:SelectorSet>
    <h:OperationTimeout xmlns:h="http://schemas.xmlsoap.org/ws/2005/06/management"
      xmlns="http://schemas.xmlsoap.org/ws/2005/06/management">
      PT10M0.00S
    </h:OperationTimeout>
    <a:MessageID>urn:uuid:73f6adda-7b30-4d4d-b1ae-d0c2848527b9</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
    </a:ReplyTo>
    <a:To s:mustUnderstand="1">http://manager1.example.com/opr-webservice/Incident.svc</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</s:Envelope>

Close Response SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.hp.com/ism/ServiceOperation/Common/1/CloseResponse</a:Action>
    <a:RelatesTo>urn:uuid:73f6adda-7b30-4d4d-b1ae-d0c2848527b9</a:RelatesTo>
    <a:To s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</s:Envelope>

Enumerate Request SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action>
    <h:OperationTimeout xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      PT10M0.00S
    </h:OperationTimeout>
    <h:ResourceURI xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident
    </h:ResourceURI>
    <a:MessageID>urn:uuid:9e8b81d7-a725-4693-9af3-f025045750c6</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
    </a:ReplyTo>
    <a:To s:mustUnderstand="1">http://manager1.example.com:8081/opr-webservice/Incident.svc</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
      <Filter Dialect="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/IncidentFilter">
        <IncidentEnumerationFilter
          xmlns="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/IncidentFilter">
          <Severity>Critical</Severity>
          <Severity>Major</Severity>
          <Category>Database</Category>
          <CustomAttributes>
            <CustomAttribute>
              <Key>Customer</Key>
              <Text>VIP</Text>
            </CustomAttribute>
          </CustomAttributes>
        </IncidentEnumerationFilter>
      </Filter>
    </Enumerate>
  </s:Body>
</s:Envelope>

Enumerate Response SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</a:Action>
    <a:RelatesTo>urn:uuid:f449fd93-be02-43cf-a8f3-2b32b3355ce8</a:RelatesTo>
    <a:To s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <EnumerateResponse xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
      <Expires>2008-01-18T12:41:20.968+01:00</Expires>
      <EnumerationContext>60d863fd-f058-41b1-8195-341652bd458a</EnumerationContext>
    </EnumerateResponse>
  </s:Body>
</s:Envelope>

Pull Request SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action>
    <h:OperationTimeout xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      PT1000M0.00S
    </h:OperationTimeout>
    <h:ResourceURI xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident
    </h:ResourceURI>
    <a:MessageID>urn:uuid:42f16c88-6adc-49f0-8881-558fdecfecfe</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
    </a:ReplyTo>
    <a:To s:mustUnderstand="1">http://manager1.example.com/opr-webservice/Incident.svc</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
      <EnumerationContext>60d863fd-f058-41b1-8195-341652bd458a</EnumerationContext>
    </Pull>
  </s:Body>
</s:Envelope>

Pull Response SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse</a:Action>
    <a:RelatesTo>urn:uuid:42f16c88-6adc-49f0-8881-558fdecfecfe</a:RelatesTo>
    <a:To s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <PullResponse xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">
      <EnumerationContext>60d863fd-f058-41b1-8195-341652bd458a</EnumerationContext>
      <Items>
        <Incident xmlns="http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident">
          <AssignedOperator xmlns="http://schemas.hp.com/ism/ServiceOperation/Common/1/WorkItem">
            <PersonAttributes>
              <Name xmlns="" />
            </PersonAttributes>
          </AssignedOperator>
          <IncidentID>527c6290-c5b8-71dc-1691-103941590000</IncidentID>
          <Title>
            MS IIS Server (WWW): (1013) A process serving application pool 'DefaultAppPool' exceeded time limits during
            shut down. The process id was '5736'.
          </Title>
          <Type />
          <LifecycleState>open</LifecycleState>
          <Severity>Warning</Severity>
          <Category>WINOSSPI-INTERNET_SERVICE</Category>
          <CollaborationMode>fyi</CollaborationMode>
          <EmittingCI>
            <ConfigurationItemProperties
              xmlns="http://schemas.hp.com/ism/ServiceTransition/ConfigurationManagement/1/ConfigurationItem">
              <ID>WINOSSPI:IIS60@@{9768285B-3AA5-4F49-B6DE-CB654F5AD67B}</ID>
            </ConfigurationItemProperties>
          </EmittingCI>
          <EmittingNode>
            <NodeProperties xmlns="http://schemas.hp.com/ism/ServiceTransition/ConfigurationManagement/1/Node">
              <DnsName>host.example.com</DnsName>
            </NodeProperties>
          </EmittingNode>
          <Extensions>
            <OperationsExtension xmlns="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/Incident">
              <Application>IIS 6.0</Application>
              <Object>W3SVC</Object>
              <StateChangeTime>2008-01-18T12:27:16</StateChangeTime>
              <CreationTime>2008-01-18T12:25:47</CreationTime>
              <ReceivedTime>2008-01-18T12:27:16</ReceivedTime>
              <NumberOfDuplicates>0</NumberOfDuplicates>
              <CorrelationKey>host.example.com:W3SVC:0x800003F5</CorrelationKey>
              <ConditionMatched>true</ConditionMatched>
              <AutomaticActionStatus>notAvailable</AutomaticActionStatus>
              <OperatorActionStatus>notAvailable</OperatorActionStatus>
              <EscalationStatus>notEscalated</EscalationStatus>
              <Source>WINOSSPI-IIS60_FwdAllSystemWarnError(10.0)</Source>
              <NumberOfAnnotations>0</NumberOfAnnotations>
              <OriginalEvent>
                Computer: host Source: W3SVC Category: None Type: Warning Event ID: 1013 Description: A process serving
                application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '5736'.
              </OriginalEvent>
            </OperationsExtension>
         </Extensions>
        </Incident>
        <Incident xmlns="http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident">
          <AssignedOperator xmlns="http://schemas.hp.com/ism/ServiceOperation/Common/1/WorkItem">
            <PersonAttributes>
              <Name xmlns="" />
            </PersonAttributes>
          </AssignedOperator>
          <IncidentID>a4669be0-c5b6-71dc-1209-103941590000</IncidentID>
          <Title>(ctrl-45) Component 'opcacta' with pid 4704 exited. Restarting component.</Title>
          <Type />
          <LifecycleState>open</LifecycleState>
          <Severity>Major</Severity>
          <Category>OpenView</Category>
          <CollaborationMode>fyi</CollaborationMode>
          <EmittingCI>
            <ConfigurationItemProperties
              xmlns="http://schemas.hp.com/ism/ServiceTransition/ConfigurationManagement/1/ConfigurationItem">
              <ID />
            </ConfigurationItemProperties>
          </EmittingCI>
          <EmittingNode>
            <NodeProperties xmlns="http://schemas.hp.com/ism/ServiceTransition/ConfigurationManagement/1/Node">
              <DnsName>host.example.com</DnsName>
            </NodeProperties>
          </EmittingNode>
          <Extensions>
            <OperationsExtension xmlns="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/Incident">
              <Application>OpenView</Application>
              <Object>ovcd</Object>
              <StateChangeTime>2008-01-18T12:15:14</StateChangeTime>
              <CreationTime>2008-01-18T12:15:14</CreationTime>
              <ReceivedTime>2008-01-18T12:15:14</ReceivedTime>
              <NumberOfDuplicates>0</NumberOfDuplicates>
              <CorrelationKey />
              <ConditionMatched>true</ConditionMatched>
              <AutomaticActionStatus>notAvailable</AutomaticActionStatus>
              <OperatorActionStatus>notAvailable</OperatorActionStatus>
              <EscalationStatus>notEscalated</EscalationStatus>
              <Source></Source>
              <NumberOfAnnotations>0</NumberOfAnnotations>
              <OriginalEvent />
            </OperationsExtension>
          </Extensions>
        </Incident>
      </Items>
      <EndOfSequence />
    </PullResponse>
  </s:Body>
</s:Envelope>

Subscribe Request SOAP Envelope Example
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
  xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</a:Action>
    <h:ResourceURI xmlns:h="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
      xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
      http://schemas.hp.com/ism/ServiceOperation/IncidentManagement/1/Incident
    </h:ResourceURI>
    <h:OperationTimeout xmlns:h="http://schemas.xmlsoap.org/ws/2005/06/management"
      xmlns="http://schemas.xmlsoap.org/ws/2005/06/management">
      PT1000M0.00S
    </h:OperationTimeout>
    <a:MessageID>urn:uuid:2822dea3-af62-4e26-a1de-31d738f2bc59</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
    </a:ReplyTo>
    <a:To s:mustUnderstand="1">http://manager1.example.com:8081/opr-webservice/Incident.svc</a:To>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Subscribe xmlns="http://schemas.xmlsoap.org/ws/2004/08/eventing">
      <Delivery Mode="http://schemas.dmtf.org/wbem/wsman/1/wsman/Pull"/>
      <Filter Dialect="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/IncidentFilter">
        <IncidentEventingFilter 
          xmlns="http://schemas.hp.com/opr/ws/ServiceOperation/IncidentManagement/1/IncidentFilter">
          <Severity>Critical</Severity>
          <Severity>Major</Severity>
          <EmittingNode>
            <NodeProperties>
              <DnsName>host.example.com</DnsName>
            </NodeProperties>
          </EmittingNode>
          <CustomAttributes>
            <CustomAttribute>
              <Key>Customer</Key>
              <Text>VIP</Text>
            </CustomAttribute>
          </CustomAttributes>
          <ChangeType>new</ChangeType>
          <ChangeType>closed</ChangeType>
        </IncidentEventingFilter>
      </Filter>
    </Subscribe>
  </s:Body>
</s:Envelope>