createSelfReferences resultes in SCA binding references with $self$ style URIs
------------------------------------------------------------------------------
Key: TUSCANY-1331
URL: https://issues.apache.org/jira/browse/TUSCANY-1331
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-0.90
Environment: sca-java-0.90, IBM JDK5
Reporter: Matthew Sykes
Fix For: Java-SCA-Next, Java-SCA-0.90
During a discussion on the behavior of the implementation of
createSelfReference, rfeng had indicated that the URI of the original service
binding should have been preserved when creating the reference binding:
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200706.mbox/[EMAIL
PROTECTED]
In the current implementation, SCABinding instances are created based on the
generated name of the reference and, as such, the URI from the target service
was not preserved.
As a quick hack to get around the issue, I've changed CompositeBuilderImpl's
createSCABindings to remove the $self$. from the reference binding's URI but I
expect this is not an appropriate way to address the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]