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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsdm message

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


Subject: Re: [wsdm] [interop]RequestProcessingDigest message



This event represents a digest and therefore has multiple state transitions within it. The event producer can generate events for each transition or a digest. Subscribing to the RequestProcessingNotification topic subscribes to any event that can be generated. In this case the producer only generates digest messages.

David Melgar
Web Services Toolkit Development
Emerging Technologies
dmelgar@us.ibm.com



"Hideharu Kato" <hideharu@sdl.hitachi.co.jp>

04/07/2005 08:10 AM

To
<wsdm@lists.oasis-open.org>
cc
Subject
Re: [wsdm] [interop]RequestProcessingDigest message





I'm not sure how many muws-p2-xs:StateTransition shold be included
in one RequestProcessingNotification message.

In case of RequestProcessingObservations/Digest topic,
some StateTransitions should be included in one message.
IMHO, in case of RequestProcessingObservations topic,
each state transition should be reported
in different RequestProcessingNotification messages separately.

RequestProcessingObservations topic is the super topic of
some topics. So, I think that if events (situations)
regarding sub-topics occureed,
some RequestProcessingNotification messages are fired.

MOWS spec says (around line 1189)
"RequestProcessingNotification/StateInformation/muws-xs2:StateTransition
element
contains information about a state transition. There MUST be exactly one
such element for each
state change event. There MUST be one or more such elements for the digest
event."

---------------------------------------
Hideharu Kato
2nd Research Dept.
Hitachi,Ltd.,Systems Development Laboratory
E-mail : hideharu@sdl.hitachi.co.jp
Tel : +81-44-959-0248
Fax : +81-44-959-0853
--------------------------------------



----- Original Message -----
From: "David Melgar" <dmelgar@us.ibm.com>
To: <wsdm@lists.oasis-open.org>
Sent: Thursday, April 07, 2005 4:18 PM
Subject: [wsdm] [interop]RequestProcessingDigest message


> Since it doesn't look like folks will be able to test our endpoint's
> generation of the RequestProcessingNotificationDigest before the interop,
> I've included a copy of the message here. This seems like a very complex
> message with plenty of room for misinterpretation regarding how to
> construct it.
>
>
> POST http://localhost:4400/ettk/wsdm/services/ManagementProviderSOAP
> HTTP/1.1
> Host: localhost:4400
> Accept: application/soap+xml,multipart/related,text/*
> User-Agent: IBM WebServices/1.0
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction:
>
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01
.wsdl/Notify/NotifyRequest"
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8
> Content-Length: 3733
> Date: Thu, 07 Apr 2005 04:23:16 GMT
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing">
>    <soapenv:Header>
>  <wsa:MessageID>uuid:1AE5CD44-0103-4000-E000-0F04C0A80003</wsa:MessageID>
>
>
<wsa:To>http://localhost:4400/ettk/wsdm/services/ManagementProviderSOAP</wsa
:To>
>
>
<wsa:Action>http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1
.2-draft-01.wsdl/Notify/NotifyRequest</wsa:Action>
>       <ObjectName
>
xmlns="http://com.ibm.ettk.jmxResource">ETTK:type=ettk/wsdm/services/Weather
StationSoap</ObjectName>
>    </soapenv:Header>
>    <soapenv:Body>
>       <wsnt:Notify
>
xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1
.2-draft-01.xsd">
>          <wsnt:NotificationMessage>
>             <Topic
>
Dialect="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.x
sd/TopicExpression/simple"
>
xmlns="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-dr
aft-01.xsd"
>
xmlns:simple251712943NS="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-m
ows-events.xml">simple251712943NS:RequestProcessingObservations</Topic>
>             <ProducerReference
>
xmlns="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-dr
aft-01.xsd"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
>
>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
</wsa:Address>
>             </ProducerReference>
>             <Message
>
xmlns="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-dr
aft-01.xsd">
>                <muws-p1-xs:ManagementEvent
>
xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-par
t1.xsd"
>
xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-par
t2.xsd">
>                   <muws-p1-xs:EventId>1</muws-p1-xs:EventId>
>                   <muws-p1-xs:SourceComponent>
>                      <muws-p1-xs:ComponentAddress>
>                         <wsa:EndpointReference
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
>
>
<wsa:Address>http://localhost:9080/wsdm/services/ManagementProviderSOAP</wsa
:Address>
>                            <wsa:ReferenceProperties>
>                               <ObjectName
>
xmlns="http://com.ibm.ettk.jmxResource">ETTK:type=ettk/wsdm/services/Weather
StationSoap</ObjectName>
>                            </wsa:ReferenceProperties>
>                         </wsa:EndpointReference>
>                      </muws-p1-xs:ComponentAddress>
>                   </muws-p1-xs:SourceComponent>
>                   <muws-p2-xs:Situation>
>                      <muws-p2-xs:SituationCategory>
>                         <muws-p2-xs:ReportSituation/>
>                      </muws-p2-xs:SituationCategory>
>                   </muws-p2-xs:Situation>
>                   <RequestProcessingNotification
> CurrentTime="2005-04-07T04:23:17,462Z"
> xmlns="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
>
xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2
.xsd">
>                      <Request>
>                         <TransportInformation>
>                            <TcpIpInfo Direction="from" Port="3379"
> Protocol="HTTP/1.1">
>                               <IPV4Address/>    <!-- Address not currently
> provided -->
>                            </TcpIpInfo>
>                         </TransportInformation>
>                         <Message>
>                            <NotIncluded/>
>                         </Message>
>                      </Request>
>                      <Reply>
>                         <Message>
>                            <NotIncluded/>
>                         </Message>
>                      </Reply>
>                      <StateInformation>
>                         <muws-xs2:StateTransition
> Time="2005-04-07T04:23:17,462Z">
>                            <muws-xs2:EnteredState>
>                               <RequestReceivedState/>
>                            </muws-xs2:EnteredState>
>                         </muws-xs2:StateTransition>
>                         <muws-xs2:StateTransition
> Time="2005-04-07T04:23:18,462Z">
>                            <muws-xs2:EnteredState>
>                               <RequestProcessingState/>
>                            </muws-xs2:EnteredState>
>                            <muws-xs2:PreviousState>
>                               <RequestReceivedState/>
>                            </muws-xs2:PreviousState>
>                         </muws-xs2:StateTransition>
>                         <muws-xs2:StateTransition
> Time="2005-04-07T04:23:19,462Z">
>                            <muws-xs2:EnteredState>
>                               <RequestCompletedState/>
>                            </muws-xs2:EnteredState>
>                            <muws-xs2:PreviousState>
>                               <RequestProcessingState/>
>                            </muws-xs2:PreviousState>
>                         </muws-xs2:StateTransition>
>                      </StateInformation>
>                   </RequestProcessingNotification>
>                </muws-p1-xs:ManagementEvent>
>             </Message>
>          </wsnt:NotificationMessage>
>       </wsnt:Notify>
>    </soapenv:Body></soapenv:Envelope>
>
>
> David Melgar
> Web Services Toolkit Development
> Emerging Technologies
> dmelgar@us.ibm.com
>



---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php




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