Hi all,


Ian Springer wrote:

i meant to type this stuff in the apache-ws-fx chat room, but was actually in a private room w/ Stefan. so here it is in case anyone else has any comments.

(15:15:53) *ips:* (15:08:30) ips: so WSN subscribe returns the EPR of a Subscription
(15:15:53) *ips:* (15:08:49) ips: and WS-E subscribe returns the EPR of a SubscriptionManager
(15:15:53) *ips:* (15:09:18) ips: for WSN, this EPR represents a WS-Resource
(15:15:53) *ips:* (15:09:27) ips: for WS-E, it may or may not.

I looked it up in the wsn xsd and wsdl, and correct me if i'm wrong, but in WSN a SubscriptionManager represents a WS-Resource. Not like the Globus design, where a Subscription represents a WS-Resource. So subscribe on WSN and WS-E will return an EPR of a SubscriptionManager. This EPR represents a WS-Resource for WSN. And WS-Resource can be modelled for WS-E with calls from WS-E SubscriptionManager.


-- snipp from wsdl
<!-- ======== Resource Properties for SubscriptionManager ========= --> <xsd:element name="SubscriptionManagerRP" >
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="wsnt:ConsumerReference" minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:TopicExpression"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:UseNotify"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:Precondition"
minOccurs="0" maxOccurs="1" />
<xsd:element ref="wsnt:Selector"
minOccurs="0" maxOccurs="1" />
<xsd:element ref="wsnt:SubscriptionPolicy"
minOccurs="0" maxOccurs="1" />
<xsd:element ref="wsnt:CreationTime"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>



<!-- ========== SubscriptionManager PortType Definition =========== -->
<wsdl:portType name="SubscriptionManager"
wsrp:ResourceProperties ="wsntw:SubscriptionManagerRP">
<!-- ========== extends wsrpw:ResourceProperties ============= -->
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest" />
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse" />
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" /> </wsdl:operation>


<!-- ========= SubscriptionManager specific operations ====== -->
<wsdl:operation name="PauseSubscription">
<wsdl:input message="wsntw:PauseSubscriptionRequest"/>
<wsdl:output message="wsntw:PauseSubscriptionResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="PauseFailedFault"
message="wsntw:PauseFailedFault" />


</wsdl:operation>
<wsdl:operation name="ResumeSubscription">
<wsdl:input message="wsntw:ResumeSubscriptionRequest"/>
<wsdl:output message="wsntw:ResumeSubscriptionResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="ResumeFailedFault"
message="wsntw:ResumeFailedFault" /> </wsdl:operation> </wsdl:portType>


stefan

--
My place : http://user.cs.tu-berlin.de/~lischke


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



Reply via email to