axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r516056 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http: AxisServlet.java ListingAgent.java
Date Thu, 08 Mar 2007 14:34:45 GMT
Author: dims
Date: Thu Mar  8 06:34:44 2007
New Revision: 516056

URL: http://svn.apache.org/viewvc?view=rev&rev=516056
Log:
support wsdl imports as well

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/ListingAgent.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java?view=diff&rev=516056&r1=516055&r2=516056
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
Thu Mar  8 06:34:44 2007
@@ -223,8 +223,9 @@
                 query.indexOf("policy") >= 0)) {
             // handling meta data exchange stuff
             agent.processListService(request, response);
-        } else if (requestURI.endsWith(".xsd")) {
-            agent.processExplicitSchemas(request, response);
+        } else if (requestURI.endsWith(".xsd") ||
+                    requestURI.endsWith(".wsdl")) {
+            agent.processExplicitSchemaAndWSDL(request, response);
         } else if (requestURI.endsWith(LIST_SERVICES_SUFIX) ||
                 requestURI.endsWith(LIST_FAUKT_SERVICES_SUFIX)) {
             // handling list services request

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/ListingAgent.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/ListingAgent.java?view=diff&rev=516056&r1=516055&r2=516056
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/ListingAgent.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/ListingAgent.java
Thu Mar  8 06:34:44 2007
@@ -154,7 +154,7 @@
         return ip;
     }
 
-    public void processExplicitSchemas(HttpServletRequest req,
+    public void processExplicitSchemaAndWSDL(HttpServletRequest req,
                                        HttpServletResponse res)
             throws IOException, ServletException {
         HashMap services = configContext.getAxisConfiguration().getServices();



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


Mime
View raw message