Subscribe Request:

<?xml version='1.0' encoding='utf-8'?<S:Envelope xmlns:xsd='http://www.w3.org/2001/XMLSchema'

xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'

xmlns:wa='http://schemas.xmlsoap.org/ws/2004/08/addressing'

xmlns:wsp='http://schemas.xmlsoap.org/ws/2002/12/policy'

xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'>

<S:Header>

<wa:To>http://localhost:12346</wa:To>

<wa:MessageID>uuid:9f81f250-2abd-11da-811b-aa2ba4cf38ff</wa:MessageID>

<wa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</wa:Action>

</S:Header>

<S:Body>

<wse:Subscribe

xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'>

<wse:Delivery>

<wse:NotifyTo>

<wa:Address>http://129.79.244.177:19998</wa:Address>

</wse:NotifyTo>

</wse:Delivery>

<wse:Filter Dialect='http://www.ibm.com/xmlns/stdwip/web-services/WS-Topics/TopicExpression/simple' xmlns:widget='http://widgets.com' xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'>

widget:dn=SCdemo/Hurricane Ivan/CompletelyNewExperiment

</wse:Filter>

</wse:Subscribe>

</S:Body>

</S:Envelope>

Subscribe Response:

<?xml version="1.0"?>

<S:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchem

a-instance" xmlns:widget="http://widgets.com" xmlns:wa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Header>

<wa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscribeResponse</wa:Action>

<wa:MessageID>urn:test:1127320487454</wa:MessageID>

<wa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wa:To>

<wa:From>

<wa:Address>http://129.79.244.177:12346/notification</wa:Address>

</wa:From>

<wa:RelatesTo>uuid:9f81f250-2abd-11da-811b-aa2ba4cf38ff</wa:RelatesTo>

</S:Header>

<S:Body>

<wse:SubscribeResponse xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing">

<wse:SubscriptionManager>

<wa:Address>http://129.79.244.177:12346/notification</wa:Address>

<wa:ReferenceProperties>

<wse:Identifier>sub3@112732044

3300</wse:Identifier>

</wa:ReferenceProperties>

</wse:SubscriptionManager>

<wse:Expires>2005-10-21T11:34:47.454-05:00</wse:Expires>

</wse:SubscribeResponse>

</S:Body>

</S:Envelope>

Publisher sending message:

<?xml version="1.0" encoding="utf-8"?>

<S:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Header>

<wa:To>http://localhost:12346</wa:To>

<wsnt:Topic dialect="http://www.ibm.com/xmlns/stdwip/web-services/WS-Topics/TopicExpression/simple" xmlns:widget="ht

tp://widgets.com" xmlns:wsnt="http://www.ibm.com/xmlns/stdwip/web-services/WS-BaseNotification">widget:dn=SCdemo/Hurricane Ivan/Co

mpletelyNewExperiment</wsnt:Topic>

<wa:MessageID>uuid:9ff32ab0-2abd-11da-811b-aa2ba4cf38ff</wa:MessageID>

<wa:Action>/NCSAEvent</wa:Action>

</S:Header>

<S:Body>

<NCSAEvent dirty="true" id-at-sink="-1" priority="0" creation-timestamp="1127320487744">

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>Status</name>

<value xsi:type="java:java.lang.String">INFORMATION</value>

</properties>

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>source</name>

<value xsi:type="java:java.lang.String">decoder</value>

</properties>

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>Topic</name>

<value xsi:type="java:java.lang.String">dn=SCdemo/Hurricane Ivan/CompletelyNewExperiment</value>

</properties>

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>correlationId</name>

<value xsi:type="java:java.lang.String"/>

</properties>

<id-at-origin>ogre_event_20050921113447_BL_RH_YIHUAN__2842062788564465810</id-at-origin>

<message&lt;a href=\"http://test.com/\">text&lt;/a>Decoder Done! No.0</message>

</NCSAEvent>

</S:Body>

</S:Envelope>

Publisher Received Response:

<?xml version="1.0"?>

<S:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchem

a-instance" xmlns:widget="http://widgets.com" xmlns:wa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="htt

p://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Header>

<wa:Action>http

://schemas.xmlsoap.org/ws/2004/08/eventing/NCSAEventResponse</wa:Action>

<wa:MessageID>urn:test:1127320488165</wa:MessageID>

<wa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wa:To>

<wa:From>

<wa:Address>http://129.79.244.

177:12346/notification</wa:Address>

</wa:From>

<wa:RelatesTo>uuid:9ff32ab0-2abd-11da-811b-aa2ba4cf38ff</wa:RelatesTo>

</S:Header>

<S:Body>

<wse:NCSAEventResponse xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing"/>

</S:Body>

</S:Envelope>

Notification Consumer Received message:

Note: The wsa:address(To) is changed

<?xml version="1.0" encoding="utf-8"?>

<S:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Header>

<wa:To>http://129.79.244.177:19998</wa:To>

<wsnt:Topic dialect="http://www.ibm.com/xmlns/stdwip/web-services/WS-Topics/TopicExpression/simple" xmlns:widget="http://widgets.com" xmlns:wsnt="http://www.ibm.com/xmlns/stdwip/web-services/WS-BaseNotification">

widget:dn=SCdemo/Hurricane Ivan/CompletelyNewExperiment

</wsnt:Topic>

<wa:MessageID>uuid:9ff637f0-2abd-11da-9ee7-a3e4d2059381</wa:MessageID>

<wa:Action>/NCSAEvent</wa:Action>

</S:Header>

<S:Body>

<NCSAEvent dirty="true" id-at-sink="-1" priority="0" creation-timestamp="1127320487744" MessageSequenceNumber="YiHuang&apos;s Message">

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>Status</name>

<value xsi:type="java:java.lang.String">INFORMATION</value>

</properties>

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>source</name>

<value xsi:type="java:java.lang.String">decoder</value>

</properties>

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>Topic</name>

<value xsi:type="java:java.lang.String">dn=SCdemo/Hurricane Ivan/CompletelyNewExperiment</value>

</properties>

<properties xsi:type="java:ncsa.common.types.Attribute" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<name>correlationId</name>

<value xsi:type="java:java.lang.String"/>

</properties>

<id-at-origin>ogre_event_20050921113447_BL_RH_YIHUAN__2842062788564465810</id-at-origin>

<message&lt;a href="http://test.com/">text&lt;/a>Decoder Done! No.0</message>

</NCSAEvent>

</S:Body>

</S:Envelope>

NotificationConsumer Response:

HTTP/1.0 202 OK\r

Date: 21 Sep 2005 16:34:48 GMT\r

Server: XSUL/2.1.11_m2\r

Content-Length: 0\r

Connection: close\r

\r

Unsubscribe Request:

<?xml version="1.0" encoding="utf-8"?>

<S:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.

org/2001/XMLSchema-instance" xmlns:wa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:S="http://www.w3.org/2003/05/soap-envelope">

<S:Header>

<wa:To>http://localhost:12346</wa:To>

<wse:Identifier xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing">sub3@1127320443300</wse:Identifier>

<wa:MessageID>uuid:a1ee5e70-2abd-11da-811b-aa2ba4cf38ff</wa:MessageID>

<wa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing

/Unsubscribe</wa:Action>

</S:Header>

<S:Body>

<wse:Unsubscribe xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing"/>

</S:Body>

</S:Envelope>

Unsubscribe Response:

<?xml version="1.0"?>

<S:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchem

a-instance" xmlns:widget="http://widgets.com" xmlns:wa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:S="http://www.w3.org/2003/05/soap-envelope">

<S:Header>

<wa:Action>http:/

/schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse</wa:Action>

<wa:MessageID>urn:test:1127320491509</wa:MessageID>

<wa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wa:To>

<wa:From>

<wa:Address>http://129.79.244.

177:12346/notification</wa:Address>

</wa:From>

<wa:RelatesTo>uuid:a1ee5e70-2abd-11da-811b-aa2ba4cf38ff</wa:RelatesTo>

</S:Header>

<S:Body>

<wse:UnsubscribeResponse xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing"/>

</S:Body>

</S:Envelope>