80 likes | 148 Views
Features, Properties And Compositors in WS-R. Anish Karmarkar Oracle Corp. Overview. Open, RF and a Standard – available NOW Uses WSDL 1.1 extensibility to define an extensible framework Consists of features, properties and compositors
E N D
Features, Properties And Compositors in WS-R Anish Karmarkar Oracle Corp.
Overview • Open, RF and a Standard – available NOW • Uses WSDL 1.1 extensibility to define an extensible framework • Consists of features, properties and compositors • Used to advertise capabilities, and composibility of those capabilities • Backport of F&P in WSDL 2.0
Feature • Abstract capability associated with a WSDL elements • Identified by a URI <fnp:feature uri="..."> [<fnp:compositor/> | <extensibility-element/>]* </fnp:feature>
Property • An assertion or constraint on an atomic capability and its value(s) • Identified by a QName <fnp:property name="xs:QName"> [<fnp:value>xs:anyType</fnp:value> | <fnp:constraint>xs:QName</fnp:constraint>] [<extensibility-element/>]* </fnp:property>
Compositors • Specify how features and properties are combined <fnp:compositor uri="..." name="NCName"?> [fnp:feature/> | <fnp:property/> | <fnp:compositor/> | <extensibility-element/>]+ </fnp:compositor>
Compositors - Types • All • http://www.oasis-open.org/committees/wsrm/schema/1.1/fnp/compositors/all • Choice • http://www.oasis-open.org/committees/wsrm/schema/1.1/fnp/compositors/choice • One-or-more • http://www.oasis-open.org/committees/wsrm/schema/1.1/fnp/compositors/one-or-more • Zero-or-more • http://www.oasis-open.org/committees/wsrm/schema/1.1/fnp/compositors/zero-or-more
Example <wsdl11:binding name="Example-2"> <fnp:compositor uri=“…/all"> <fnp:feature uri=“…/rel/" <fnp:compositor uri=“…/zero-or-more"> <fnp:property name="wsrm:DuplicateElimination"> <value>true</value> </fnp:property> <fnp:property name="wsrm:OrderedDelivery"> <value>true</value> </fnp:property> </fnp:compositor> </fnp:feature> </fnp:compositor> ... </wsdl11:binding>