Looking at the latest specs to confirm the question in TUSCANY-3211
about what a WS endpoint URL should be I'm now wondering if we're
doing this right in 2.x. Right now a service using a default
<binding.ws> will use expose the service with an endpoint URL using
componentName/serviceName, but the specs say:

The WS binding spec (1.1 CD03) says:

255 Note that if no absolute URI is indicated by any of these
elements, implementations can use the structural URI for the binding
as a portion of the URI for the eventual deployed endpoint.

and the Assembly spec (1.1 CD03) describes the structural URI as:

2237 For components directly deployed into the Domain, the structural
URI is simply the name of the component.

and

2249 The structural URI can also be extended to refer to specific
parts of a component, such as a service or a reference, by appending
an appropriate fragment identifier to the component's structural URI,
as follows: Service: #service(servicename)

So shouldn't the default WS binding endpoint URL use just the
componentName or componentName#service(serviceName)?

   ...ant

Reply via email to