You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org> on 2011/05/09 10:06:03 UTC

[jira] [Created] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Issue in setting transport headers in Axis2 local transport
-----------------------------------------------------------

                 Key: AXIS2-5024
                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
             Project: Axis2
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.5.4
            Reporter: Heshan Suriyaarachchi
             Fix For: 1.5.5


Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heshan Suriyaarachchi updated AXIS2-5024:
-----------------------------------------

    Fix Version/s:     (was: 1.5.5)
                   1.6.0

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-5024:
-----------------------------------

    Fix Version/s:     (was: 1.5.5)

Reverted the change from the 1.5 branch because it causes a build failure.

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0, nightly
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Reopened] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen reopened AXIS2-5024:
------------------------------------


By definition, transport headers are generated by an outgoing transport and processed by the incoming transport. However, the local transport doesn't have any concept of transport header.

The only use case for "propagating" transport headers would be a service client that sends additional information to a service via these transport headers. This however is not a valid use case because a service is not supposed to mess with transport headers. Indeed, this would be in contradiction with the concept of transport independence which is fundamental to SOAP.

Therefore I think that this issue (with its current description) is invalid. I don't know what you are trying to achieve here, but my feeling is that you are using the concept of "transport" for something that it was not designed for.

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0, nightly
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heshan Suriyaarachchi updated AXIS2-5024:
-----------------------------------------

    Attachment: synapse-local-transport-transport-header-verification.xml

Hi Andreas, 

I am attaching a Synapse configuration to demonstrate what I am trying to achieve here. In this scenario, I am using local transport to communicate between Apache Synapse proxy services. First the LocalTransportProxy is called and it calls the Second proxy through the local transport. Then the SecondProxy calls the StockQuoteProxy via the local transport. 

LocalTransportProxy ---local transport---> SecondProxy ---local transport---> StockQuoteProxy

With the current implementation of the local transport, if transport header is set at the LocalTransportProxy, it is not propagated to the SecondProxy. 
eg. : I am setting a transport header named header1 with value1 but it is not there, when I try to log the transport header1's value at the SecondProxy.

The patch attacted earlier fixes this issue. 

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0, nightly
>
>         Attachments: AXIS2-5024-patch.diff, synapse-local-transport-transport-header-verification.xml
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heshan Suriyaarachchi updated AXIS2-5024:
-----------------------------------------

    Attachment: AXIS2-5024-patch.diff

Attaching the patch to fix the issue. 

I ran axis2 tested the patch locally and ran all the axis2 test cases. All the test cases passes successfully. 

Please, commit the patch. 

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.5.5
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heshan Suriyaarachchi resolved AXIS2-5024.
------------------------------------------

    Resolution: Fixed

patch was applied to the trunk. Therefore, resolving the issue. 

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031036#comment-13031036 ] 

Sagara Gunathunga  commented on AXIS2-5024:
-------------------------------------------

Fixed in r1101320. Thanks Heshan  for the patch.


> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated AXIS2-5024:
--------------------------------------

    Fix Version/s: nightly
                   1.5.5

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.5.5, 1.6.0, nightly
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030644#comment-13030644 ] 

Heshan Suriyaarachchi commented on AXIS2-5024:
----------------------------------------------

I will provide a patch for this issue. 

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.5.5
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Issue Comment Edited] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030652#comment-13030652 ] 

Heshan Suriyaarachchi edited comment on AXIS2-5024 at 5/9/11 8:57 AM:
----------------------------------------------------------------------

Attaching the patch to fix the issue. 

I tested the patch locally and ran all the axis2 test cases. All the test cases passes successfully. 

Please, commit the patch. 

      was (Author: heshan):
    Attaching the patch to fix the issue. 

I ran axis2 tested the patch locally and ran all the axis2 test cases. All the test cases passes successfully. 

Please, commit the patch. 
  
> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.5.5
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-5024:
-----------------------------------

    Fix Version/s:     (was: 1.6.0)
                   1.6.1

> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.1, nightly
>
>         Attachments: AXIS2-5024-patch.diff, synapse-local-transport-transport-header-verification.xml
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Issue Comment Edited] (AXIS2-5024) Issue in setting transport headers in Axis2 local transport

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031036#comment-13031036 ] 

Sagara Gunathunga  edited comment on AXIS2-5024 at 5/10/11 6:06 AM:
--------------------------------------------------------------------

Fixed in r1101323. Thanks Heshan  for the patch.


      was (Author: sagara):
    Fixed in r1101320. Thanks Heshan  for the patch.

  
> Issue in setting transport headers in Axis2 local transport
> -----------------------------------------------------------
>
>                 Key: AXIS2-5024
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5024
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.4
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.6.0
>
>         Attachments: AXIS2-5024-patch.diff
>
>
> Transport headers are not properly set in the Axis2 local transport. Therefore, already set transport headers are not propagated correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org