tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r493692 - /incubator/tuscany/java/sca/services/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2ServiceBinding.java
Date Sun, 07 Jan 2007 10:38:57 GMT
Author: antelder
Date: Sun Jan  7 02:38:56 2007
New Revision: 493692

URL: http://svn.apache.org/viewvc?view=rev&rev=493692
Log:
Change Axis2 binding to register servlet at the Axis2 default mapping. Requires associated
change in web.xml for services using ws binding. TODO: support ws binding spec properly by
using spec defined mapping not axis2 default

Modified:
    incubator/tuscany/java/sca/services/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2ServiceBinding.java

Modified: incubator/tuscany/java/sca/services/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2ServiceBinding.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/services/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2ServiceBinding.java?view=diff&rev=493692&r1=493691&r2=493692
==============================================================================
--- incubator/tuscany/java/sca/services/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2ServiceBinding.java
(original)
+++ incubator/tuscany/java/sca/services/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2ServiceBinding.java
Sun Jan  7 02:38:56 2007
@@ -117,12 +117,12 @@
         Axis2ServiceServlet servlet = new Axis2ServiceServlet();
         servlet.init(configContext);
         configContext.setContextRoot(getName());
-        servletHost.registerMapping("/" + getName(), servlet);
+        servletHost.registerMapping("/services/" + getName(), servlet);
     }
 
     @Destroy
     public void stop() {
-        servletHost.unregisterMapping("/" + getName());
+        servletHost.unregisterMapping("/services/" + getName());
         try {
             configContext.getAxisConfiguration().removeService(getName());
         } catch (AxisFault e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message