[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: easyasap 5.2.3
I guess something to notice is that I claim the instance uri is the sender of the state changed messages so I can identify which instance had the state change. I couldn't find any other way of referencing it given the current specification. On Feb 18, 2004, at 7:06 PM, John Fuller wrote: > The new release sends state change notifications to the observers when > the > instance state machine changes states. > > Here are some of the sample messages for review > (also found in the RECV.log and SENT.log in the tar file) > > Sample state change transactions > (since I have two observers, I chose an exchange from each for the > same instance) > > <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? > statesystem_instance_id=20040219-1838638612-3266-3@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">open.running</State><PreviousState > xsi:type="xsd:string">open.notrunning</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? > statesystem_instance_id=20040219-1838638612-3266-3@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> > > <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? > statesystem_instance_id=20040219-1838638612-3266-3@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.completed</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? > statesystem_instance_id=20040219-1838638612-3266-3@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]