1 / 10

Tom Maguire (IBM)

ServiceGroup Proposal for WSRF44. Monday, March 21 st , 2005. Tom Maguire (IBM). Issue WSRF44. Issue WSRF44: No obvious mechanism to include only members which extend a certain interface

royce
Download Presentation

Tom Maguire (IBM)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ServiceGroup Proposal for WSRF44 Monday, March 21st, 2005 Tom Maguire (IBM)

  2. Issue WSRF44 Issue WSRF44: No obvious mechanism to include only members which extend a certain interface The method of aggregation for WSDL 1.1 required by WS-ResourceProperties allows only a single portType to be exposed by a WS-Resource. This has the consequence of restricting the value of the MemberInterface attribute of the membershipContentRule to having 1 value. It does not appear possible to specify a ServiceGroup that contains only members that have extended from a specific interface.

  3. Issue redux Membership constraints are only normatively defined for portType QName matching. WS-ResourceProperty approach in WSDL1.1 obfuscates all but the most derived portType • Resource portType extension can be “inferred” from the shape of the RP doc

  4. ServiceGroup Enhancements • Extend the MembershipContentRule to allow membership constraints to reference elements other than portType • Resource Properties • WSDL

  5. MembershipContentRule today <wssg:MembershipContentRule MemberInterface="QName"? ContentElements="list of QName“ /> MemberInterface- specifies the members to which this MembershipConentRule applies according to the interface (WSDL 1.1 portType) of the member Web service. There must be at most one MembershipContentRule for any given value of @MemberInterface. ContentElements - specifies the content restrictions according to the list of QNames, each of which refer to a XML Schema global element declaration. This list defines the constraints on the wssg:Content resource property of the ServiceGroupEntry that must be satisfied for membership. The list may be an empty list. An empty list places no content constraints on the resource properties of the ServiceGroupEntries that match the enclosing MembershipContentRule.

  6. MembershipContentRule update <wssg:MembershipContentRule ContentElements="list of QName“> <memberConstraint context=“anyURI“ selector=“list of QName”/>? </wssg:MembershipContentRule> @ContentElements – Same as previous MembershipContentRule memberConstraint - specifies the member matching constraints for the group. memberConstraint/@context – Extensible URI for establishing contexts for evaluation of @selector attribute. • http://schemas.xmlsoap.org/wsdl/ - selector represents wsdl:definitions/portType/@name (WSDL 1.1) • http://www.w3.org/2004/08/wsdl/ - selector represents wsdl:definition/interface/@name (WSDL 2.0) • http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2.xsd/ - selector represents Resource Property Elements of RP doc memberConstraint/@selector – based on context URI

  7. MembershipContentRule (compare/contrast) Today as normatively described limited to WSDL1.1 <wssg:MembershipContentRule MemberInterface=“ns2:CatalogPortType" ContentElements=""/> Enhancement using a context of WSDL1.1 <wssg:MembershipContentRule ContentElements=""> <memberConstraint context="http://schemas.xmlsoap.org/wsdl/" selector=“ns2:CatalogPortType"/> </wssg:MembershipContentRule> Enhancement using a context of WSDL2.0 <wssg:MembershipContentRule ContentElements=""> <memberConstraint context="http://www.w3.org/2004/08/wsdl/" selector=“ns2:CatalogPortType"/> </wssg:MembershipContentRule>

  8. MembershipContentRule (extensions enabled) Members must have RP document with a RPE of wsdm:ResourceId which infers that the WS-Resource extends the wsdm:Indentification portType. <wssg:MembershipContentRule ContentElements="wsdm:ResourceType"> <memberConstraint context="http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2.xsd" selector=”wsdm:ResourceId”/> </wssg:MembershipContentRule>

  9. Next steps • Normatively describe rules and contexts.

  10. Issues • Use case for client discovery of a ServiceGroup that supports a particular • Should the MCR context URIs be version specific? • Sure there are others…

More Related