Amila , Why did you revert that , as you can see in the code there can not be entry in both mapping table and callback table. Once we find the corresponding entry in the mapping table you do not need to find the callback object since then you have everything to find the service and the operation.
Thanks Deepal Amila Suriarachchi wrote: > I reverted this change since mail transport does not work after this > change. > why you did this change? please check the senario which you tried to fix. > > Amila. > > On 6/1/07, * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>* > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > Author: deepal > Date: Fri Jun 1 02:09:21 2007 > New Revision: 543436 > > URL: http://svn.apache.org/viewvc?view=rev&rev=543436 > <http://svn.apache.org/viewvc?view=rev&rev=543436> > Log: > fixing incorrect logic (no need to go thru SynchronousMailListener > , if we find the corresponding operation context) > > Modified: > > webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java > > Modified: > > webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java > > URL: > > http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java?view=diff&rev=543436&r1=543435&r2=543436 > > <http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java?view=diff&rev=543436&r1=543435&r2=543436> > > ============================================================================== > --- > > webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java > (original) > +++ > > webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java > Fri Jun 1 02:09:21 2007 > @@ -382,6 +382,7 @@ > msgContext.setAxisMessage(inMessage); > opContext.addMessageContext(msgContext); > > msgContext.setServiceContext(opContext.getServiceContext ()); > + return true; > } > } > } > @@ -391,10 +392,9 @@ > SynchronousMailListener listener = > (SynchronousMailListener) callBackTable.get(messageID); > if(listener!=null){ > listener.setInMessageContext(msgContext); > - return false; > } > } > - return true; > + return false; > } > > private void buildSOAPEnvelope(MimeMessage msg, > MessageContext msgContext) > > > > - > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]