[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: regrep-ws-profile: Clarafication required about id attribute rules
Dear all, The "ebXML Registry profile for Web Services" specification (as of version 1.0 Draft 3) contains rules for the id attribute values of different registry objects mapped from a WSDL. For example, section 4.1.1 specifies that "The id attribute value of the rim:Service MUST have as prefix the targetNamespace for the wsdl:service element, followed by a suffix of “:service:<service name>” where <service name> MUST be the value of the name attribute of the wsdl:service element." I think that this statement is inconsistent and/or needs clarification. The reason is that the id in the registry must be a URN, whereas the targetNamespace is a URI. Since the concept of URI is a superset of the concept of URN, it is inconsistent to require constructing a URN by prefixing it with a given URI, unless a prescription is given to map URIs to URNs. For example, "http://www.acme.org/service" is a valid value for targetNamespace. Naively applying the above rule would give something like "http://www.acme.org/service:service:MyService", which of course is not a valid URN. Note that in this case, the OMAR implementation produces an id such as "urn:http:__www_acme_org_service:service:MyService", i.e. OMAR actually has some rules to map from URIs to URNs (which by the way don't guarantee uniqueness). I think that the regrep-ws-profile specs should clearly specify the mapping to be used or alternatively make reference to an existing specification defining this type of mapping. Best regards, Andreas Veithen PS: Could you also consider adding to regrep-rim a normative reference defining the concept of URN (RFC2141?)? ________________________________________________________________________________________________ DISCLAIMER This e-mail is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged information. Any copying, disclosure, distribution or other use of the content of this e-mail by persons or entities other than the intended recipient is prohibited. Please contact immediately the sender if you have received this e-mail in error and delete it from all locations of your computer. GFI is validly committed only if the rules on the delegation of powers, as set out in the appropriate documents, have been complied with. Furthermore, due to the risks inherent to the use of the Internet, GFI is not liable for the content of this e-mail if altered, changed or falsified. - EMD NV, BE 466.107.566 - Adelior Benelux, BE 0.450.798.491, NL 8056.18.302.B.01 - GFI Benelux SA, BE 0.427.608.266, LU 171.204.57 ________________________________________________________________________________________________
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]