You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by am...@apache.org on 2010/12/21 13:49:59 UTC

svn commit: r1051478 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java

Author: amilas
Date: Tue Dec 21 12:49:59 2010
New Revision: 1051478

URL: http://svn.apache.org/viewvc?rev=1051478&view=rev
Log:
apply the patch for AXIS2-4792

Modified:
    axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java

Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java?rev=1051478&r1=1051477&r2=1051478&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java (original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/context/ConfigurationContext.java Tue Dec 21 12:49:59 2010
@@ -251,18 +251,7 @@ public class ConfigurationContext extend
                     serviceGroupContext =
                             getServiceGroupContextFromSoapSessionTable(serviceGroupContextId,
                                                                        messageContext);
-                    if (serviceGroupContext == null) {
 
-                        // TODO: Adding this code so that requests to services deployed in soapsession scope will work
-                        // TODO: However, soapsession functionality is still broken
-                        serviceGroupContext =
-                                new ServiceGroupContext(this,
-                                                        axisService.getAxisServiceGroup());
-                        serviceGroupContext.setId(serviceGroupContextId);
-                        addServiceGroupContextIntoSoapSessionTable(serviceGroupContext);
-//                        throw new AxisFault("Unable to find corresponding context" +
-//                                            " for the serviceGroupId: " + serviceGroupContextId);
-                    }
                 } else {
                     AxisServiceGroup axisServiceGroup = axisService.getAxisServiceGroup();
                     serviceGroupContext = createServiceGroupContext(axisServiceGroup);