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 "Thilina Gunarathne (JIRA)" <ji...@apache.org> on 2008/03/07 17:49:46 UTC

[jira] Created: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
-----------------------------------------------------------------------------------------

                 Key: AXIS2-3580
                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Thilina Gunarathne
            Priority: Critical


OutInAxisOperation line 265 (in 1.3 release code).

        if (useCustomListener == null || !useCustomListener.booleanValue()) {
 >>           if(mc.getReplyTo()==null){
                EndpointReference replyToFromTransport =
                        mc.getConfigurationContext().getListenerManager().
                                getEPRforService(sc.getAxisService().getName(),
                                        axisOp.getName().getLocalPart(), mc
                                        .getTransportIn().getName());

                if (mc.getReplyTo() == null) {
                    mc.setReplyTo(replyToFromTransport);
                } else {
                    mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
                }
            }
        } 

>> line should be as follows
 if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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


[jira] Updated: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

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

Davanum Srinivas updated AXIS2-3580:
------------------------------------

    Assignee: Brian DePradine

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Assignee: Brian DePradine
>            Priority: Critical
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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


[jira] Commented: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

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

Thilina Gunarathne commented on AXIS2-3580:
-------------------------------------------

Ok..Here's the scenario..  I'm altering the Axis2 client of a workflow engine.. The engine by default sets the replyTo epr to anonymous.. Then at the Axis2 level I try to do a non blocking dual channel call. In this scenario Axis2 should setup a new listener to receive the response and set it's epr as the reply to EPR.. But in this case Axis2 does not do it, and set the replyTo EPR as anon..  Then my client just keeps on waiting.. 
       
       <addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing">
            <addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address>
         </addr:ReplyTo>

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Priority: Critical
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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


[jira] Commented: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

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

Davanum Srinivas commented on AXIS2-3580:
-----------------------------------------

Brian,

Is this something that needs to be fixed for 1.4?

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Assignee: Brian DePradine
>            Priority: Critical
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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


[jira] Commented: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

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

Brian DePradine commented on AXIS2-3580:
----------------------------------------

Thanks for the info. I believe I understand now. I think that what you actually want is:

if(mc.getReplyTo()==null || replyTo.hasAnonymousAddress()){
 

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Priority: Critical
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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


[jira] Resolved: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

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

Brian DePradine resolved AXIS2-3580.
------------------------------------

       Resolution: Fixed
    Fix Version/s: nightly
                   1.4

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Assignee: Brian DePradine
>            Priority: Critical
>             Fix For: 1.4, nightly
>
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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


[jira] Commented: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous

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

Brian DePradine commented on AXIS2-3580:
----------------------------------------

Hmm, I am not exactly sure what the problem is that you are trying to fix. Also, there is no need to check for the none URI at the point you suggest, as there is already a check for it in executeImpl().

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Priority: Critical
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

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