ServiceGroup Proposal for WSRF44
Download
1 / 10

Tom Maguire (IBM) - PowerPoint PPT Presentation


  • 76 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Tom Maguire (IBM)' - royce


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

ServiceGroup Proposal for WSRF44

Monday, March 21st, 2005

Tom Maguire (IBM)


Issue wsrf44
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.


Issue redux
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


Servicegroup enhancements
ServiceGroup Enhancements

  • Extend the MembershipContentRule to allow membership constraints to reference elements other than portType

    • Resource Properties

    • WSDL


Membershipcontentrule today
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.


Membershipcontentrule update
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


Membershipcontentrule compare contrast
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>


Membershipcontentrule extensions enabled
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>


Next steps
Next steps

  • Normatively describe rules and contexts.


Issues
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…


ad