i037: Replace QName's with anyURI

This issue [1] centers around replacing QNames in attribute values or
element content with URIs.

 

The use of a QName is used in three places current working draft:

 

1)       wsa:RelatesTo/@RelationshipType information header (attribute
value)

2)       wsa:EndpointReference/wsa:PortType element in an EPR (element
content)

3)       wsa:EndpointReference/wsa:ServiceName element in an EPR (element
content)

 

Mapping the RelationshipType attribute with a URI is relatively
straightforward.  We could designate a URI like
http://www.w3.org/2004/10/addressing/relationship/reply
<http://www.w3.org/2004/10/addressing/relationship/reply>  for the default
case of relating a reply to the originating message; in other cases, since
the type would be anyUri, developers could simply use their own URIs.  This
is good.

 

As DavidO pointed out [2], it is much more complicated to replace the QNames
representing wsdl:portTypes and wsdl:service with URIs.  This will
essentially require us to craft a definitive mapping of these WSDL QNames to
URIs to be used within WS-Addressing.  For this WSDL [3] (picked randomly
from xmethods.net) one possibility here could be:

 

Qname: {http://bosnewslife.com/ <http://bosnewslife.com/> ,
BosNewsLife_x0020_Information_x0020_ServicesSoap} 

 

mapping to 

 

URI:
http://bosnewslife.com#BosNewsLife_x0020_Information_x0020_ServicesSoap
<http://bosnewslife.com/#BosNewsLife_x0020_Information_x0020_ServicesSoap> 

 

This works in this simple case but could easily be problematic in other
cases.  Is there a mapping that would work in all cases (i.e. any valid
WSDL)?

 

Despite the TAG finding regarding this kind of issue [4], it seems that this
is a case where using a QName is much more natural. For now I am +1 on
changing the Relationship type to anyUri and -1 on changing the
wsdl:portTypes and wsdl:service QNames to URIs.

 

 

Harris Reynolds

webMethods, Inc.

 

 

[1] http://www.w3.org/2002/ws/addr/wd-issues/#i037
<http://www.w3.org/2002/ws/addr/wd-issues/#i037> 

[2]
http://lists.w3.org/Archives/Public/public-ws-addressing/2004Nov/0510.html
<http://lists.w3.org/Archives/Public/public-ws-addressing/2004Nov/0510.html>


[3] http://bosnewslife.com/webservices/bnl_services.asmx?wsdl
<http://bosnewslife.com/webservices/bnl_services.asmx?wsdl> 

[4] http://www.w3.org/2001/tag/doc/qnameids.html#sec-archrec
<http://www.w3.org/2001/tag/doc/qnameids.html#sec-archrec> 

 

 

 

Received on Friday, 3 December 2004 00:15:07 UTC