Hi,
Let's take an example to see if we can come up a good behavior. Assuming the
host is multi-homed with the following ip addresses:
1: localhost - 127.0.0.1 // Loopback
2: host1 - 192.168.1.1 // Ethernet
3: host2 - 192.168.0.1 // Wireless
I added a table on [1] to see how we can map the binding uri to a physical
address.
[1]
http://cwiki.apache.org/confluence/display/TUSCANYWIKI/IP+addresses+for+service+bindings
Making sense?
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Friday, March 05, 2010 11:29 AM
To: <[email protected]>
Subject: Re: Propagating the SCA service endpoint address to the client
On Sat, Mar 6, 2010 at 6:01 AM, Raymond Feng <[email protected]> wrote:
- Ant's point is a good one and I think we have taken this approach
with the node configuration file where base URIs can be set for each
scheme.
The configured binding base URI will provide the accurate intension. What
I
was asking is the case where a base URI is not defined.
I think what we'll have to do is just look at each of the environments
and scenarios we want to support and see whats possible there, for
some its just not going to be possible to find a good default so it
may just have top be manually configured, for example with Tuscany
embeded in a webapp its not really possible to find the host and port
from the container, or with multiple network interfaces while some
things can listen on all network interfaces others can't so need to
get told which to use.
...ant