Simon Laws wrote:
The service has a forward <binding.ws/> and a callback <binding.ws/>.
These have no "name=" attribute, so they both default to the name of
the service. SCA doesn't permit two bindings with the same name, and
this is why you get the warning. The {2} in the message is a bug in
the 1.3.1 message template, and has been fixed in the latest code.
Interesting. I didn't realize that the it checked across both forward
and callback binding collections to determine uniqueness of binding
name.
Simon
I discovered this when doing some experiments with callback bindings
recently. Tuscany works this way, and the SCA spec doesn't say whether
or not the scope of callback binding name uniqueness should be distinct
from the forward bindings.
If anyone feels that this should be changed, I would be happy to raise a
spec issue. It does seem to be a bit of a pitfall that catches people out.
Simon