Hi,
The cases listed by Sebastien seem to match what the specs say. Here is my
understanding from a slightly different angle.
1) If the binding configuration defines an explict URI, it will be honored.
As Sebasiten listed, different bindings define how the explict URI is
provided.
2) If no explict URI is provided, the binding URI is calculated based on the
metadata including the name of the binding (The SCA assembly spec defines an
algorithm).
3) The absolute URI will be taken as-is.
4) The reative URI will be combined with the domain base URI (pattern) to
derive the absolute URI.
Thanks,
Raymond
----- Original Message -----
From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 31, 2007 12:43 PM
Subject: Rules for determining binding endpoint URIs, was: Binding endpoints
(was Fwd: Services and WSDL files
Jean-Sebastien Delfino wrote:
[snip]
Before trying to implement a common algorithm for all bindings, I thought
I'd double check the various SCA spec docs. Here's what I found:
- WebService binding
absolute URI specified in binding/@uri
or
base domain URI for http: + '/' + component URI + '/' + relative URI
specified in binding/@uri
or
absolute URI specified in WSDL
or
base domain URI for http: + '/' + component URI + '/' + relative URI
specified in WSDL
or
absolute URI specified in a wsa:Address
or
base domain URI for http: + '/' + component URI + '/' + relative URI
specified in a wsa:Address
- JMS binding
JMS specific URI specified in binding/@uri
or
no URI, combination of JMS specific attributes
- EJB binding
base domain URI for corba:iiop: + '#' + relative URI specified in
binding/@uri
or
base domain URI for corba:rir: + '#' + relative URI specified in
binding/@uri
or
absolute URI specified in binding/@uri
I think that other bindings introduced by Tuscany can follow similar
patterns:
- RMI binding
similar to EJB binding
- JSON, Ajax and Feed bindings
absolute URI specified in binding/@uri
or
base domain URI for http: + '/' + component URI + '/' + relative URI
specified in binding/@uri
Thoughts? could you guys please review to make sure I understood the specs
correctly? Thanks.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]