Here are the files.
 

-----Original Message-----
From: Murray, Bryan P. 
Sent: Monday, April 25, 2005 12:54 PM
To: [email protected]
Subject: MUWS Notifications

I am including examples for all of the types of notifications described
in the MUWS specifications. I have included xsi:schemaLocation in some
places as a way to help the NotificationConsumer find schemas for some
of the elements that may be resource-specific. The only example that is
formatted for a subscribe message with UseNotifiy='true' is
RelationshipCreated as the only additional information in the Notify
message is the topic and the topic is pretty much a duplication of the
extended element (RelationshipCreatedNotification, etc.) within the
ManagementEvent. I have included the topic as a comment within the other
files for those that are interested.

All examples use namespaces from example.org, other.org, and
someIndustry.org when you need to use something resource-specific.

I never know what to put in the SituationCategory element. My motto is
'if in doubt, use OtherSituation'.

PropChanged has the notification format for any resource property value
change. I used the OperationalStatus property as an example.

StateTransition shows how the transition events from the State
capability (not really a capability, more like a template for how to
create such a capability) are formatted.

Bryan Murray

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

<!-- State capability transition

Namespace prefixes are not significant. All addresses and reference properties
need to be based upon the actual EPRs for resource, subscription, and consumer.
Whitespace has been added to this example to better show the various elements
of the message. An actual notification message should collapse all whitespace to
the minimum required by XML. No comments should be included in an actual
notification message.

This message is sent to the URL: http://example.org/applications/notificationConsumer.
It must include an HTTP SOAPAction header with a value of: 
  http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent
Neither WSDM nor WSN defines what the wsa:Action should be for raw notification
messages. I made up something which seems reasonable for now.
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <s:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing";>
    <wsa:To s:mustUnderstand="1">http://example.org/applications/notificationConsumer</wsa:To>
    <wsa:Action>http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent</wsa:Action>
    <wsa:From>
      <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
      <wsa:ReferenceProperties>
        <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
      </wsa:ReferenceProperties>
    </wsa:From> <!-- Recommendation: include this element -->
    <!-- There could be element(s) from the ReferenceProperties of the consumer EPR here too. -->
  </s:Header>
  <s:Body>
    <!-- This notification is formatted as if the subscribe request was sent with UseNotify='false'. -->
    <!--
         If UseNotify had been true, the topic would be one of the following:
           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:StateCapability
           </baseN:Topic>
    -->
    <m1:ManagementEvent ReportTime="2005-04-01T12:01:33.481Z"
        xmlns:m1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
        xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
        xmlns:wsax="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
      <m1:EventId>urn:uuid:a5d27b2f-bb39-108a-a917-a855cb4d81d4</m1:EventId>
      <m1:SourceComponent>
        <m1:ResourceId>urn:uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
        <m1:ComponentAddress>
          <m1:ManageabilityEndpointReference>
            <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
            <wsax:ReferenceProperties>
              <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
            </wsax:ReferenceProperties>
          </m1:ManageabilityEndpointReference>
        </m1:ComponentAddress>
      </m1:SourceComponent>

      <m2:Situation>
        <!-- Some optional elements have been omitted. -->
        <m2:SituationCategory>
          <m2:AvailabilitySituation/>
        </m2:SituationCategory>
        <m2:SituationTime>2005-04-01T12:01:33.115Z</m2:SituationTime>
      </m2:Situtation>

      <m2:StateTransition
          xmlns:ex="http://example.org/definitions/commonTypes.xsd";
          xmlns:i="http://someIndustry.org/definitions/states";
          xsi:schemaLocation="http://example.org/definitions/commonTypes.xsd
                              http://example.org/definitions/commonTypes.xsd
                              http://someIndustry.org/definitions/states
                              http://someIndustry.org/definitions/states.xsd";>
        <m2:EnteredState>
          <ex:ready>
            <i:up/>
          </ex:ready>
        </m2:EnteredState>
        <m2:PreviousState>
          <ex:initializing>
            <i:up/>
          </ex:initializing>
        </m2:PreviousState>
      </m2:StateTransition>
    </m1:ManagementEvent>
  </s:Body>
</s:Envelope>
<!-- OperationalStatus property value changed

Namespace prefixes are not significant. All addresses and reference properties
need to be based upon the actual EPRs for resource, subscription, and consumer.
Whitespace has been added to this example to better show the various elements
of the message. An actual notification message should collapse all whitespace to
the minimum required by XML. No comments should be included in an actual
notification message.

This message is sent to the URL: http://example.org/applications/notificationConsumer.
It must include an HTTP SOAPAction header with a value of: 
  http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent
Neither WSDM nor WSN defines what the wsa:Action should be for raw notification
messages. I made up something which seems reasonable for now.
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
    <wsa:To s:mustUnderstand="1">http://example.org/applications/notificationConsumer</wsa:To>
    <wsa:Action>http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent</wsa:Action>
    <wsa:From>
      <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
      <wsa:ReferenceProperties>
        <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
      </wsa:ReferenceProperties>
    </wsa:From> <!-- Recommendation: include this element -->
    <!-- There could be element(s) from the ReferenceProperties of the consumer EPR here too. -->
  </s:Header>
  <s:Body>
    <!-- This notification is formatted as if the subscribe request was sent with UseNotify='false'. -->
    <!--
         If UseNotify had been true, the topic would be one of the following:
           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:OperationalStatusCapability
           </baseN:Topic>

           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple";
               xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";>
             m2:OperationalStatus
           </baseN:Topic>
    -->
    <m1:ManagementEvent ReportTime="2005-04-01T12:01:33.481Z"
        xmlns:m1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
        xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
        xmlns:wsax="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
      <m1:EventId>urn:uuid:a5d27b2f-bb39-108a-a917-a855cb4d81d4</m1:EventId>
      <m1:SourceComponent>
        <m1:ResourceId>urn:uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
        <m1:ComponentAddress>
          <m1:ManageabilityEndpointReference>
            <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
            <wsax:ReferenceProperties>
              <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
            </wsax:ReferenceProperties>
          </m1:ManageabilityEndpointReference>
        </m1:ComponentAddress>
      </m1:SourceComponent>

      <m2:Situation>
        <!-- Some optional elements have been omitted. -->
        <m2:SituationCategory>
          <m2:OtherSituation/>
        </m2:SituationCategory>
        <m2:SituationTime>2005-04-01T12:01:33.115Z</m2:SituationTime>
      </m2:Situtation>

      <rp:ResourcePropertyValueChangeNotification
          xmlns:rp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd";>
        <rp:OldValues>
          <m2:OperationalStatus>PartiallyAvailable</m2:OperationalStatus>
        </rp:OldValues>
        <rp:NewValues>
          <m2:OperationalStatus>Available</m2:OperationalStatus>
        </rp:NewValues>
      </rp:ResourcePropertyValueChangeNotification>
    </m1:ManagementEvent>
  </s:Body>
</s:Envelope>
<!-- RelationshipCreatedNotification

Namespace prefixes are not significant. All addresses and reference properties
need to be based upon the actual EPRs for resource, subscription, and consumer.
Whitespace has been added to this example to better show the various elements
of the message. An actual notification message should collapse all whitespace to
the minimum required by XML. No comments should be included in an actual
notification message.

This message is sent to the URL: http://example.org/applications/notificationConsumer.
It must include an HTTP SOAPAction header with a value of: 
  http://docs.oasis-open.org/wsn/2004/06/WS-BaseNotification/Notify
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <s:Header>
    <wsa:To s:mustUnderstand="1">http://example.org/applications/notificationConsumer</wsa:To>
    <wsa:Action>http://docs.oasis-open.org/wsn/2004/06/WS-BaseNotification/Notify</wsa:Action>
    <wsa:From>
      <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
      <wsa:ReferenceProperties>
        <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
      </wsa:ReferenceProperties>
    </wsa:From> <!-- Recommendation: include this element -->
    <!-- There could be element(s) from the ReferenceProperties of an EPR here too. -->
  </s:Header>
  <s:Body>
    <!-- This notification is formatted as if the subscribe request was sent with UseNotify='true'. -->
    <baseN:Notify xmlns:baseN="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";>
      <baseN:NotificationMessage>
        <baseN:SubscriptionReference>
          <wsa:Address>http://example.org/subscriptions</wsa:Address>
          <wsa:ReferenceProperties>
            <ex:city xmlns:ex="http://example.org/definitions/commonTypes.xsd";>Alexandria</ex:city>
          </wsa:ReferenceProperties>
        </baseN:SubscriptionReference>
        <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Concrete";
            xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
          me:RelationshipsCapability/RelationshipCreated
        </baseN:Topic>
        <baseN:ProducerReference>
          <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
          <wsa:ReferenceProperties>
            <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
          </wsa:ReferenceProperties>
        </baseN:ProducerReference>
        <baseN:Message>

          <m1:ManagementEvent ReportTime="2005-04-01T12:01:33.481Z"
              xmlns:m1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
              xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
              xmlns:wsax="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
            <!-- Some people use urn:uuid:... - which may actually be more correct. -->
            <m1:EventId>uuid:a5d27b2f-bb39-108a-a917-a855cb4d81d4</m1:EventId>
            <m1:SourceComponent>
              <m1:ResourceId>uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
              <m1:ComponentAddress>
                <m1:ManageabilityEndpointReference>
                  <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
                  <wsax:ReferenceProperties>
                    <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
                  </wsax:ReferenceProperties>
                </m1:ManageabilityEndpointReference>
              </m1:ComponentAddress>
            </m1:SourceComponent>

            <m2:Situation>
              <!-- Some optional elements have been omitted. -->
              <m2:SituationCategory>
                <m2:OtherSituation/>
              </m2:SituationCategory>
              <m2:SuccessDisposition>Successful</m2:SuccessDisposition> <!-- Recommendation: omit this element -->
              <m2:SituationTime>2005-04-01T12:01:33.115Z</m2:SituationTime>
              <m2:Message xml:lang="en">
                New relationship added.
              </m2:Message> <!-- Recommendation: omit this element -->
            </m2:Situtation>

            <m2:RelationshipCreatedNotification>
              <m2:Relationship
                  xsi:schemaLocation="http://someIndustry.org/definitions/relationshipTypes
                                      http://someIndustry.org/definitions/relationshipTypes.xsd
                                      http://example.org/definitions/commonTypes.xsd
                                      http://example.org/definitions/commonTypes.xsd";>
                <!-- Some optional elements have been omitted. -->
                <m2:Type>
                  <ex:subComponent xmlns:ex="http://example.org/definitions/commonTypes.xsd";>
                    <i:contains xmlns:i="http://someIndustry.org/definitions/relationshipTypes";>
                      <i:depends/>
                    </i:contains>
                  </ex:subComponent>
                </m2:Type>
                <m2:Participant>
                  <m1:ManageabilityEndpointReference>
                    <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
                    <wsax:ReferenceProperties>
                      <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
                    </wsax:ReferenceProperties>
                  </m1:ManageabilityEndpointReference>
                  <m1:ResourceId>uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
                  <m2:Role>http://someIndustry.org/definitions/relationshipTypes/containedEntity</m2:Role>
                </m2:Participant>
                <m2:Participant>
                  <m1:ManageabilityEndpointReference>
                    <wsax:Address>http://other.org/myServices/serviceMessageReceiver</wsax:Address>
                    <wsax:ReferenceProperties>
                      <x:Fruit xmlns:x="http://other.org/myServices/spiffyNames";
                          xsi:schemaLocation="http://other.org/myServices/spiffyNames
                                              http://public.other.org/ServicesDescriptions/spiffyNames/schema";>Pear</x:Fruit>
                    </wsax:ReferenceProperties>
                  </m1:ManageabilityEndpointReference>
                  <m1:ResourceId>uuid:353d4dcc-3980-ac8d-7163-def622a781c7</m1:ResourceId>
                  <m2:Role>http://someIndustry.org/definitions/relationshipTypes/container</m2:Role>
                </m2:Participant>
              </m2:Relationship>
            </m2:RelationshipCreatedNotification>
          </m1:ManagementEvent>

        </baseN:Message>
      </baseN:NotificationMessage>
    </baseN:Notify>
  </s:Body>
</s:Envelope>
<!-- RelationshipDeletedNotification

Namespace prefixes are not significant. All addresses and reference properties
need to be based upon the actual EPRs for resource, subscription, and consumer.
Whitespace has been added to this example to better show the various elements
of the message. An actual notification message should collapse all whitespace to
the minimum required by XML. No comments should be included in an actual
notification message.

This message is sent to the URL: http://example.org/applications/notificationConsumer.
It must include an HTTP SOAPAction header with a value of: 
  http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent
Neither WSDM nor WSN defines what the wsa:Action should be for raw notification
messages. I made up something which seems reasonable for now.
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://example.org/definitions/commonTypes.xsd
                        http://example.org/definitions/commonTypes.xsd";>
  <s:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing";>
    <wsa:To s:mustUnderstand="1">http://example.org/applications/notificationConsumer</wsa:To>
    <wsa:Action>http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent</wsa:Action>
    <wsa:From>
      <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
      <wsa:ReferenceProperties>
        <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
      </wsa:ReferenceProperties>
    </wsa:From> <!-- Recommendation: include this element -->
    <!-- There could be element(s) from the ReferenceProperties of the consumer EPR here too. -->
  </s:Header>
  <s:Body>
    <!-- This notification is formatted as if the subscribe request was sent with UseNotify='false'. -->
    <!--
         If UseNotify had been true, the topic would be one of the following:
           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Concrete";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:RelationshipsCapability/RelationshipDeleted
           </baseN:Topic>
    -->
    <m1:ManagementEvent ReportTime="2005-04-01T12:01:33.481Z"
        xmlns:m1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
        xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
        xmlns:wsax="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
      <m1:EventId>urn:uuid:a5d27b2f-bb39-108a-a917-a855cb4d81d4</m1:EventId>
      <m1:SourceComponent>
        <m1:ResourceId>urn:uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
        <m1:ComponentAddress>
          <m1:ManageabilityEndpointReference>
            <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
            <wsax:ReferenceProperties>
              <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
            </wsax:ReferenceProperties>
          </m1:ManageabilityEndpointReference>
        </m1:ComponentAddress>
      </m1:SourceComponent>

      <m2:Situation>
        <!-- Some optional elements have been omitted. -->
        <m2:SituationCategory>
          <m2:OtherSituation/>
        </m2:SituationCategory>
        <m2:SituationTime>2005-04-01T12:01:33.115Z</m2:SituationTime>
      </m2:Situtation>

      <m2:RelationshipDeletedNotification>
        <m2:Relationship
            xsi:schemaLocation="http://someIndustry.org/definitions/relationshipTypes
                                http://someIndustry.org/definitions/relationshipTypes.xsd";>
          <!-- Some optional elements have been omitted. -->
          <m2:Type>
            <ex:host xmlns:ex="http://example.org/definitions/commonTypes.xsd";>
              <i:contains xmlns:i="http://someIndustry.org/definitions/relationshipTypes";>
                <i:depends/>
              </i:contains>
            </ex:host>
          </m2:Type>
          <m2:Participant>
            <m1:ManageabilityEndpointReference>
              <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
              <wsax:ReferenceProperties>
                <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
              </wsax:ReferenceProperties>
            </m1:ManageabilityEndpointReference>
            <m1:ResourceId>urn:uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
            <m2:Role>http://someIndustry.org/definitions/relationshipTypes/containedEntity</m2:Role>
          </m2:Participant>
          <m2:Participant>
            <m1:ManageabilityEndpointReference>
              <wsax:Address>http://other.org/myServices/serviceMessageReceiver</wsax:Address>
              <wsax:ReferenceProperties>
                <x:Fruit xmlns:x="http://other.org/myServices/spiffyNames";
                    xsi:schemaLocation="http://other.org/myServices/spiffyNames
                                        http://public.other.org/ServicesDescriptions/spiffyNames/schema";>Pear</x:Fruit>
              </wsax:ReferenceProperties>
            </m1:ManageabilityEndpointReference>
            <m1:ResourceId>urn:uuid:353d4dcc-3980-ac8d-7163-def622a781c7</m1:ResourceId>
            <m2:Role>http://someIndustry.org/definitions/relationshipTypes/container</m2:Role>
          </m2:Participant>
        </m2:Relationship>
      </m2:RelationshipDeletedNotification>
    </m1:ManagementEvent>
  </s:Body>
</s:Envelope>
<!-- ResourceCreationNotification

Namespace prefixes are not significant. All addresses and reference properties
need to be based upon the actual EPRs for resource, subscription, and consumer.
Whitespace has been added to this example to better show the various elements
of the message. An actual notification message should collapse all whitespace to
the minimum required by XML. No comments should be included in an actual
notification message.

This message is sent to the URL: http://example.org/applications/notificationConsumer.
It must include an HTTP SOAPAction header with a value of: 
  http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent
Neither WSDM nor WSN defines what the wsa:Action should be for raw notification
messages. I made up something which seems reasonable for now.
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <s:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing";>
    <wsa:To s:mustUnderstand="1">http://example.org/applications/notificationConsumer</wsa:To>
    <wsa:Action>http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent</wsa:Action>
    <wsa:From>
      <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
      <wsa:ReferenceProperties>
        <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
      </wsa:ReferenceProperties>
    </wsa:From> <!-- Recommendation: include this element -->
    <!-- There could be element(s) from the ReferenceProperties of the consumer EPR here too. -->
  </s:Header>
  <s:Body>
    <!-- This notification is formatted as if the subscribe request was sent with UseNotify='false'. -->
    <!--
         If UseNotify had been true, the topic would be one of the following:
           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Concrete";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:ManageabilityEndpointCreation/ManageableResourceCreation
           </baseN:Topic>

           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:ManageabilityEndpointCreation
           </baseN:Topic>
    -->
    <m1:ManagementEvent ReportTime="2005-04-01T12:01:33.481Z"
        xmlns:m1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
        xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
        xmlns:wsax="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
      <m1:EventId>urn:uuid:a5d27b2f-bb39-108a-a917-a855cb4d81d4</m1:EventId>
      <m1:SourceComponent>
        <m1:ResourceId>urn:uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
        <m1:ComponentAddress>
          <m1:ManageabilityEndpointReference>
            <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
            <wsax:ReferenceProperties>
              <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
            </wsax:ReferenceProperties>
          </m1:ManageabilityEndpointReference>
        </m1:ComponentAddress>
      </m1:SourceComponent>

      <m2:Situation>
        <!-- Some optional elements have been omitted. -->
        <m2:SituationCategory>
          <m2:CreateSituation/>
        </m2:SituationCategory>
        <m2:SituationTime>2005-04-01T12:01:33.115Z</m2:SituationTime>
      </m2:Situtation>

      <m2:CreationNotification>
        <m1:ManageabilityEndpointReference>
          <wsax:Address>http://other.org/myServices/serviceMessageReceiver</wsax:Address>
          <wsax:ReferenceProperties>
            <x:Fruit xmlns:x="http://other.org/myServices/spiffyNames";
                xsi:schemaLocation="http://other.org/myServices/spiffyNames
                                    http://public.other.org/ServicesDescriptions/spiffyNames/schema";>Pear</x:Fruit>
          </wsax:ReferenceProperties>
        </m1:ManageabilityEndpointReference>
      </m2:CreationNotification>
    </m1:ManagementEvent>
  </s:Body>
</s:Envelope>
<!-- ResourceDeletionNotification

Namespace prefixes are not significant. All addresses and reference properties
need to be based upon the actual EPRs for resource, subscription, and consumer.
Whitespace has been added to this example to better show the various elements
of the message. An actual notification message should collapse all whitespace to
the minimum required by XML. No comments should be included in an actual
notification message.

This message is sent to the URL: http://example.org/applications/notificationConsumer.
It must include an HTTP SOAPAction header with a value of: 
  http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent
Neither WSDM nor WSN defines what the wsa:Action should be for raw notification
messages. I made up something which seems reasonable for now.
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
  <s:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing";>
    <wsa:To s:mustUnderstand="1">http://example.org/applications/notificationConsumer</wsa:To>
    <wsa:Action>http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd/ManagementEvent</wsa:Action>
    <wsa:From>
      <wsa:Address>http://example.org/resources/someResourceType</wsa:Address>
      <wsa:ReferenceProperties>
        <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
      </wsa:ReferenceProperties>
    </wsa:From> <!-- Recommendation: include this element -->
    <!-- There could be element(s) from the ReferenceProperties of the consumer EPR here too. -->
  </s:Header>
  <s:Body>
    <!-- This notification is formatted as if the subscribe request was sent with UseNotify='false'. -->
    <!--
         If UseNotify had been true, the topic would be one of the following:
           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Concrete";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:ManageabilityEndpointDestruction/ManageableResourceDestruction
           </baseN:Topic>

           <baseN:Topic Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple";
               xmlns:me="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml";>
             me:ManageabilityEndpointDestruction
           </baseN:Topic>
    -->
    <m1:ManagementEvent ReportTime="2005-04-01T12:01:33.481Z"
        xmlns:m1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
        xmlns:m2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
        xmlns:wsax="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
      <m1:EventId>urn:uuid:a5d27b2f-bb39-108a-a917-a855cb4d81d4</m1:EventId>
      <m1:SourceComponent>
        <m1:ResourceId>urn:uuid:c2391d02-b189-2f8a-1a6e-1a2fcba7811b</m1:ResourceId>
        <m1:ComponentAddress>
          <m1:ManageabilityEndpointReference>
            <wsax:Address>http://example.org/resources/someResourceType</wsax:Address>
            <wsax:ReferenceProperties>
              <x:Color xmlns:x="http://example.org/definitions/commonTypes.xsd";>Blue</x:Color>
            </wsax:ReferenceProperties>
          </m1:ManageabilityEndpointReference>
        </m1:ComponentAddress>
      </m1:SourceComponent>

      <m2:Situation>
        <!-- Some optional elements have been omitted. -->
        <m2:SituationCategory>
          <m2:DestroySituation/>
        </m2:SituationCategory>
        <m2:SituationTime>2005-04-01T12:01:33.115Z</m2:SituationTime>
      </m2:Situtation>

      <m2:DestructionNotification>
        <m1:ResourceId>urn:uuid:353d4dcc-3980-ac8d-7163-def622a781c7</m1:ResourceId>
      </m2:DestructionNotification>
    </m1:ManagementEvent>
  </s:Body>
</s:Envelope>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to