You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <tu...@ws.apache.org> on 2007/07/20 22:23:06 UTC

[jira] Created: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Callbacks over Web Service binding don't work correctly
-------------------------------------------------------

                 Key: TUSCANY-1469
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-0.91
         Environment: Windows XP
            Reporter: Simon Nash
            Assignee: Simon Nash
             Fix For: Java-SCA-Next


The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-1469:
--------------------------------

    Attachment: patch2

This patch contains bug fixes I have made since the patch that was committed yesterday.  With this patch, the new implementation of callbacks across the Web Service binding gets a lot further but it's still not able to run a complete end-to-end scenario.  I'm sending a post to the ML describing the current blocking problem.  Despite this problem, I think it's worth applying the patch because it is an improvement on the current code, and having it checked in might inspire someone to spot what's causing the problem :-)  The code builds cleanly when using the tactical code path (enabled by default).

> Callbacks over Web Service binding don't work correctly
> -------------------------------------------------------
>
>                 Key: TUSCANY-1469
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.91
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1, patch1.zip, patch2
>
>
> The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-1469:
--------------------------------

    Attachment: patch1.zip

This zip file contains 2 new files for patch1.  I am also attaching a patch1 diff file containing changes to existing files.

These combined patch1 changes modify the Web Service binding to add code to implement callbacks correctly.   The new code is not fully working and is therefore currently disabled.  After this patch has been applied, I will continue to work on the new code path and I will post another patch when it is working. 

> Callbacks over Web Service binding don't work correctly
> -------------------------------------------------------
>
>                 Key: TUSCANY-1469
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.91
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1.zip
>
>
> The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-1469:
--------------------------------

    Attachment: patch1

This diff file contains changes to existing files for patch1.  I am also attaching a diff file containing 2 new files.

These combined patch1 changes modify the Web Service binding to add code to implement callbacks correctly. The new code is not fully working and is therefore currently disabled. After this patch has been applied, I will continue to work on the new code path and I will post another patch when it is working. 
[

> Callbacks over Web Service binding don't work correctly
> -------------------------------------------------------
>
>                 Key: TUSCANY-1469
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.91
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1, patch1.zip
>
>
> The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514457 ] 

Raymond Feng commented on TUSCANY-1469:
---------------------------------------

Patch2 applied under r558461. Thanks.

> Callbacks over Web Service binding don't work correctly
> -------------------------------------------------------
>
>                 Key: TUSCANY-1469
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.91
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1, patch1.zip, patch2
>
>
> The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-1469:
--------------------------------

    Attachment: patch3

patch3 contains the remaining changes needed to get the code working correctly with the new implementation.  With this patch, the old implementation code path has been removed, which makes the code much easier to read.

In addition to applying the changes in this patch, the following files that are part of the old implementation must be removed: before rebuilding:
Axis2AsyncBindingInvoker.java
Axis2ReferenceCallback.java
Axis2ReferenceCallbackTargetInvoker.java
Axis2ServiceCallbackTargetInvoker.java
Axis2ServiceInOutAsyncMessageReceiver.java

I have verified this patch on a checkout from this morning my time.  I can't verify it on the current code because svn is not functioning for me at the moment. 

> Callbacks over Web Service binding don't work correctly
> -------------------------------------------------------
>
>                 Key: TUSCANY-1469
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.91
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1, patch1.zip, patch2, patch3
>
>
> The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1469) Callbacks over Web Service binding don't work correctly

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1469.
-----------------------------------

    Resolution: Fixed

The 3rd patch has been applied under r558614.

Thanks,
Raymond

> Callbacks over Web Service binding don't work correctly
> -------------------------------------------------------
>
>                 Key: TUSCANY-1469
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1469
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.91
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1, patch1.zip, patch2, patch3
>
>
> The current Web Service binding implementation of calllbacks has many limitations and is not spec-compliant.  This is because it uses the HTTP reply message to carry the callback instead of sending the callback over a separate HTTP "reverse" connection in which the service side acts an Axis2 client and the reference side acts as an Axis2 server.  The addressing information needed by the service-side client to invoke the reference-side server should be sent with the forward call using WS-Addressing.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org