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 am...@apache.org on 2009/11/12 07:49:48 UTC
svn commit: r835262 - in
/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2:
context/ConfigurationContext.java dispatchers/AddressingBasedDispatcher.java
Author: amilas
Date: Thu Nov 12 06:49:47 2009
New Revision: 835262
URL: http://svn.apache.org/viewvc?rev=835262&view=rev
Log:
set the axis message for addressing based dispatcher and destroy the listner manager when terminating configuration context
Modified:
webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
Modified: webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
URL: http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java?rev=835262&r1=835261&r2=835262&view=diff
==============================================================================
--- webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java (original)
+++ webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java Thu Nov 12 06:49:47 2009
@@ -740,7 +740,7 @@
*/
public void terminate() throws AxisFault {
if (listenerManager != null) {
- listenerManager.stop();
+ listenerManager.destroy();
}
axisConfiguration.cleanup();
cleanupTemp();
Modified: webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java?rev=835262&r1=835261&r2=835262&view=diff
==============================================================================
--- webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java (original)
+++ webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java Thu Nov 12 06:49:47 2009
@@ -20,6 +20,7 @@
package org.apache.axis2.dispatchers;
import org.apache.axis2.AxisFault;
+import org.apache.axis2.wsdl.WSDLConstants;
import org.apache.axis2.addressing.AddressingConstants;
import org.apache.axis2.addressing.AddressingFaultsHelper;
import org.apache.axis2.context.MessageContext;
@@ -91,6 +92,8 @@
// throw new AxisFault(Messages.getMessage("duplicaterelatesto",relatesTo));
// }
msgctx.setAxisOperation(operationContext.getAxisOperation());
+ msgctx.setAxisMessage(operationContext.getAxisOperation().getMessage(
+ WSDLConstants.MESSAGE_LABEL_IN_VALUE));
msgctx.setOperationContext(operationContext);
msgctx.setServiceContext((ServiceContext) operationContext.getParent());
msgctx.setAxisService(
Re: svn commit: r835262 - in /webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2:
context/ConfigurationContext.java dispatchers/AddressingBasedDispatcher.java
Posted by Amila Suriarachchi <am...@gmail.com>.
revert the change sorry for the mistake.
thanks,
Amila.
On Fri, Nov 13, 2009 at 6:19 PM, Andreas Veithen
<an...@gmail.com>wrote:
> Amila,
>
> You are committing to the 1.5 tag! Please revert and apply the change
> to the right place.
>
> Andreas
>
> On Thu, Nov 12, 2009 at 07:49, <am...@apache.org> wrote:
> > Author: amilas
> > Date: Thu Nov 12 06:49:47 2009
> > New Revision: 835262
> >
> > URL: http://svn.apache.org/viewvc?rev=835262&view=rev
> > Log:
> > set the axis message for addressing based dispatcher and destroy the
> listner manager when terminating configuration context
> >
> > Modified:
> >
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
> >
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
> >
> > Modified:
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
> > URL:
> http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java?rev=835262&r1=835261&r2=835262&view=diff
> >
> ==============================================================================
> > ---
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
> (original)
> > +++
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
> Thu Nov 12 06:49:47 2009
> > @@ -740,7 +740,7 @@
> > */
> > public void terminate() throws AxisFault {
> > if (listenerManager != null) {
> > - listenerManager.stop();
> > + listenerManager.destroy();
> > }
> > axisConfiguration.cleanup();
> > cleanupTemp();
> >
> > Modified:
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
> > URL:
> http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java?rev=835262&r1=835261&r2=835262&view=diff
> >
> ==============================================================================
> > ---
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
> (original)
> > +++
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
> Thu Nov 12 06:49:47 2009
> > @@ -20,6 +20,7 @@
> > package org.apache.axis2.dispatchers;
> >
> > import org.apache.axis2.AxisFault;
> > +import org.apache.axis2.wsdl.WSDLConstants;
> > import org.apache.axis2.addressing.AddressingConstants;
> > import org.apache.axis2.addressing.AddressingFaultsHelper;
> > import org.apache.axis2.context.MessageContext;
> > @@ -91,6 +92,8 @@
> > // throw new
> AxisFault(Messages.getMessage("duplicaterelatesto",relatesTo));
> > // }
> >
> msgctx.setAxisOperation(operationContext.getAxisOperation());
> > +
> msgctx.setAxisMessage(operationContext.getAxisOperation().getMessage(
> > +
> WSDLConstants.MESSAGE_LABEL_IN_VALUE));
> > msgctx.setOperationContext(operationContext);
> > msgctx.setServiceContext((ServiceContext)
> operationContext.getParent());
> > msgctx.setAxisService(
> >
> >
> >
>
--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/
Re: svn commit: r835262 - in /webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2:
context/ConfigurationContext.java dispatchers/AddressingBasedDispatcher.java
Posted by Andreas Veithen <an...@gmail.com>.
Amila,
You are committing to the 1.5 tag! Please revert and apply the change
to the right place.
Andreas
On Thu, Nov 12, 2009 at 07:49, <am...@apache.org> wrote:
> Author: amilas
> Date: Thu Nov 12 06:49:47 2009
> New Revision: 835262
>
> URL: http://svn.apache.org/viewvc?rev=835262&view=rev
> Log:
> set the axis message for addressing based dispatcher and destroy the listner manager when terminating configuration context
>
> Modified:
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
> webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
>
> Modified: webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
> URL: http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java?rev=835262&r1=835261&r2=835262&view=diff
> ==============================================================================
> --- webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java (original)
> +++ webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java Thu Nov 12 06:49:47 2009
> @@ -740,7 +740,7 @@
> */
> public void terminate() throws AxisFault {
> if (listenerManager != null) {
> - listenerManager.stop();
> + listenerManager.destroy();
> }
> axisConfiguration.cleanup();
> cleanupTemp();
>
> Modified: webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
> URL: http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java?rev=835262&r1=835261&r2=835262&view=diff
> ==============================================================================
> --- webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java (original)
> +++ webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java Thu Nov 12 06:49:47 2009
> @@ -20,6 +20,7 @@
> package org.apache.axis2.dispatchers;
>
> import org.apache.axis2.AxisFault;
> +import org.apache.axis2.wsdl.WSDLConstants;
> import org.apache.axis2.addressing.AddressingConstants;
> import org.apache.axis2.addressing.AddressingFaultsHelper;
> import org.apache.axis2.context.MessageContext;
> @@ -91,6 +92,8 @@
> // throw new AxisFault(Messages.getMessage("duplicaterelatesto",relatesTo));
> // }
> msgctx.setAxisOperation(operationContext.getAxisOperation());
> + msgctx.setAxisMessage(operationContext.getAxisOperation().getMessage(
> + WSDLConstants.MESSAGE_LABEL_IN_VALUE));
> msgctx.setOperationContext(operationContext);
> msgctx.setServiceContext((ServiceContext) operationContext.getParent());
> msgctx.setAxisService(
>
>
>
Re: svn commit: r835262 - in /webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2:
context/ConfigurationContext.java dispatchers/AddressingBasedDispatcher.java
Posted by Andreas Veithen <an...@gmail.com>.
Thanks,
Andreas
On Fri, Nov 13, 2009 at 13:57, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Thu, Nov 12, 2009 at 2:34 PM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> Amila,
>>
>> You are committing to the 1.5 tag! Please revert and apply the change
>> to the right place.
>
> Sorry I'll revert this change.
>
> thanks,
> Amila.
>
>>
>> Andreas
>>
>> On Thu, Nov 12, 2009 at 07:49, <am...@apache.org> wrote:
>> > Author: amilas
>> > Date: Thu Nov 12 06:49:47 2009
>> > New Revision: 835262
>> >
>> > URL: http://svn.apache.org/viewvc?rev=835262&view=rev
>> > Log:
>> > set the axis message for addressing based dispatcher and destroy the
>> > listner manager when terminating configuration context
>> >
>> > Modified:
>> >
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
>> >
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
>> >
>> > Modified:
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
>> > URL:
>> > http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java?rev=835262&r1=835261&r2=835262&view=diff
>> >
>> > ==============================================================================
>> > ---
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
>> > (original)
>> > +++
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
>> > Thu Nov 12 06:49:47 2009
>> > @@ -740,7 +740,7 @@
>> > */
>> > public void terminate() throws AxisFault {
>> > if (listenerManager != null) {
>> > - listenerManager.stop();
>> > + listenerManager.destroy();
>> > }
>> > axisConfiguration.cleanup();
>> > cleanupTemp();
>> >
>> > Modified:
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
>> > URL:
>> > http://svn.apache.org/viewvc/webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java?rev=835262&r1=835261&r2=835262&view=diff
>> >
>> > ==============================================================================
>> > ---
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
>> > (original)
>> > +++
>> > webservices/axis2/tags/java/v1.5/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
>> > Thu Nov 12 06:49:47 2009
>> > @@ -20,6 +20,7 @@
>> > package org.apache.axis2.dispatchers;
>> >
>> > import org.apache.axis2.AxisFault;
>> > +import org.apache.axis2.wsdl.WSDLConstants;
>> > import org.apache.axis2.addressing.AddressingConstants;
>> > import org.apache.axis2.addressing.AddressingFaultsHelper;
>> > import org.apache.axis2.context.MessageContext;
>> > @@ -91,6 +92,8 @@
>> > // throw new
>> > AxisFault(Messages.getMessage("duplicaterelatesto",relatesTo));
>> > // }
>> >
>> > msgctx.setAxisOperation(operationContext.getAxisOperation());
>> > +
>> > msgctx.setAxisMessage(operationContext.getAxisOperation().getMessage(
>> > +
>> > WSDLConstants.MESSAGE_LABEL_IN_VALUE));
>> > msgctx.setOperationContext(operationContext);
>> > msgctx.setServiceContext((ServiceContext)
>> > operationContext.getParent());
>> > msgctx.setAxisService(
>> >
>> >
>> >
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>