[
https://issues.apache.org/jira/browse/TUSCANY-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577424#action_12577424
]
Daniel Stucky commented on TUSCANY-2056:
----------------------------------------
Hi Simon,
I attached an updated version of my test case. The original one did not show
the real problem (sorry for that).
I added some more output to show that the constructor of class Gamma is called
twice. If you switch from binding.ws to binding.sca you will see that the
contsructor is called only once.
Also I added a println for the conversation id in method start(), to show the
inital created conversation id.
Here is the output:
test.composite ready !!!
GammaImpl:GammaImpl(), conversationId=null
Gamma:start(), conversationId=e1578e85-2ba4-4695-bb2e-a71952fb2803
Alpha: Conversation to gamma is null
> The last line is the real problem. The conversation should exist at this point
GammaImpl:GammaImpl(), conversationId=null
> the constructor should not be called a second time
Gamma:doSomething(), conversationId=ddaffde4-5f90-4d95-9d8b-b0ac9da00557
Alpha: Conversation to gamma exists.
conversationId=ddaffde4-5f90-4d95-9d8b-b0ac9da00557
Gamma:stop(), conversationId=ddaffde4-5f90-4d95-9d8b-b0ac9da00557
> These conversations ids are all equal, but they should be equal to the
> initial createn conversation id e1578e85-2ba4-4695-bb2e-a71952fb2803
Hope this helps.
Bye,
Daniel
> Conversation does not continue if a Service Reference is passed as a return
> value (not as a parameter) when using binding.ws
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-2056
> URL: https://issues.apache.org/jira/browse/TUSCANY-2056
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.1
> Environment: Windows XP SP2, Intel Core 2 CPU, 2.6, 2GB Ram, jdk
> 1.5.0_10
> Reporter: Daniel Stucky
> Assignee: Simon Laws
> Fix For: Java-SCA-Next
>
> Attachments: test.zip, test.zip
>
>
> This problem is related to TUSCANY-2028. It is exactly the same use case, but
> instead of the default binding (sca) I now use binding.ws.
> And as in Tuscany 1.0.1 with binding.sca the Conversation is not reused. So I
> guess the fix that went into Tuscany 1.1 did only affect binding.sca and not
> binding.ws.
--
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]