OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

asap message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: sample instance messaging


Here's some sample output from easyasap (5.3.1) for instance-interaction.

Subscription


Request
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee5</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225-1645066758-974-1@Enkidu.local</ReceiverKey><ResponseRequired xsi:type="ns1:YesNoIfError">Yes</ResponseRequired></ns1:Request></env:Header><env:Body><m:SubscribeRq xmlns:m="urn:xml:spec:asap:2003-12"><ObserverKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee5</ObserverKey></m:SubscribeRq></env:Body></env:Envelope>

Response
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225-1645066758-974-1@Enkidu.local</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee5</ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:SubscribeRs xmlns:m="urn:xml:spec:asap:2003-12"/></env:Body></env:Envelope>

Some of the messages to/from the observers including the newly subscribed tee5.

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776</ReceiverKey></ns1:Request></env:Header><env:Body><m:CompletedRq xmlns:m="urn:xml:spec:asap:2003-12"><InstanceKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225-1645066758-974-1@Enkidu.local</InstanceKey><ResultData xsi:type="xsd:string"></ResultData></m:CompletedRq></env:Body></env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776</SenderKey><ReceiverKey xsi:type="xsd:anyURI"></ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:CompletedRs xmlns:m="urn:xml:spec:asap:2003-12"><ns2:CompletedRs xmlns:ns2="AS"></ns2:CompletedRs></m:CompletedRs></env:Body></env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee</ReceiverKey></ns1:Request></env:Header><env:Body><m:CompletedRq xmlns:m="urn:xml:spec:asap:2003-12"><InstanceKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225-1645066758-974-1@Enkidu.local</InstanceKey><ResultData xsi:type="xsd:string"></ResultData></m:CompletedRq></env:Body></env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee</SenderKey><ReceiverKey xsi:type="xsd:anyURI"></ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:CompletedRs xmlns:m="urn:xml:spec:asap:2003-12"><ns2:CompletedRs xmlns:ns2="AS"></ns2:CompletedRs></m:CompletedRs></env:Body></env:Envelope>


<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee5</ReceiverKey></ns1:Request></env:Header><env:Body><m:CompletedRq xmlns:m="urn:xml:spec:asap:2003-12"><InstanceKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225-1645066758-974-1@Enkidu.local</InstanceKey><ResultData xsi:type="xsd:string"></ResultData></m:CompletedRq></env:Body></env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee5</SenderKey><ReceiverKey xsi:type="xsd:anyURI"></ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:CompletedRs xmlns:m="urn:xml:spec:asap:2003-12"><ns2:CompletedRs xmlns:ns2="AS"></ns2:CompletedRs></m:CompletedRs></env:Body></env:Envelope>




Change State Request


Request

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225--1410025700-937-1@Enkidu.local</ReceiverKey><ResponseRequired xsi:type="ns1:YesNoIfError">Yes</ResponseRequired></ns1:Request></env:Header><env:Body><m:ChangeStateRq xmlns:m="urn:xml:spec:asap:2003-12"><State xsi:type="xsd:string">closed.abnormalCompleted.terminated</State></m:ChangeStateRq></env:Body></env:Envelope>

Response

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225--1410025700-937-1@Enkidu.local</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776</ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:ChangeStateRs xmlns:m="urn:xml:spec:asap:2003-12"><State xsi:type="m:stateType"></State></m:ChangeStateRs></env:Body></env:Envelope>

Resulting actions picked up by the observers

Observer 1

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225--1410025700-937-1@Enkidu.local</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776</ReceiverKey></ns1:Request></env:Header><env:Body><m:StateChangedRq xmlns:m="urn:xml:spec:asap:2003-12"><State xsi:type="xsd:string">closed.abnormalCompleted.terminated</State><PreviousState xsi:type="xsd:string">open.running</PreviousState></m:StateChangedRq></env:Body></env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225--1410025700-937-1@Enkidu.local</ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:StateChangedRs xmlns:m="urn:xml:spec:asap:2003-12"/></env:Body></env:Envelope>


Observer 2

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Request xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Request"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225--1410025700-937-1@Enkidu.local</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee</ReceiverKey></ns1:Request></env:Header><env:Body><m:StateChangedRq xmlns:m="urn:xml:spec:asap:2003-12"><State xsi:type="xsd:string">closed.abnormalCompleted.terminated</State><PreviousState xsi:type="xsd:string">open.running</PreviousState></m:StateChangedRq></env:Body></env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Header><ns1:Response xmlns:ns1="urn:xml:spec:asap:2003-12" xsi:type="ns1:Response"><SenderKey xsi:type="xsd:anyURI">http://enkidu.local:7776/tee</SenderKey><ReceiverKey xsi:type="xsd:anyURI">http://enkidu.local:7777/asap_evm?statesystem_instance_id=20040225--1410025700-937-1@Enkidu.local</ReceiverKey><RequestID xsi:type="xsd:anyURI"></RequestID></ns1:Response></env:Header><env:Body><m:StateChangedRs xmlns:m="urn:xml:spec:asap:2003-12"/></env:Body></env:Envelope>





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]