axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r431326 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java
Date Mon, 14 Aug 2006 12:06:51 GMT
Author: dims
Date: Mon Aug 14 05:06:50 2006
New Revision: 431326

URL: http://svn.apache.org/viewvc?rev=431326&view=rev
Log:
Fix for  AXIS2-1020 - WSDL location service.wsdl is unsupported

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java?rev=431326&r1=431325&r2=431326&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java
Mon Aug 14 05:06:50 2006
@@ -242,13 +242,13 @@
                 InputStream wsdlStream = serviceClassLoader.getResourceAsStream(metainf +
"/service.wsdl");
                 if (wsdlStream == null) {
                     wsdlStream = serviceClassLoader.getResourceAsStream(metainf + "/" + serviceName
+ ".wsdl");
-                    if (wsdlStream != null) {
-                        WSDL11ToAxisServiceBuilder wsdl2AxisServiceBuilder =
-                                new WSDL11ToAxisServiceBuilder(wsdlStream, null, null);
-                        axisService = wsdl2AxisServiceBuilder.populateService();
-                        axisService.setWsdlfound(true);
-                        axisService.setName(serviceName);
-                    }
+                }
+                if (wsdlStream != null) {
+                    WSDL11ToAxisServiceBuilder wsdl2AxisServiceBuilder =
+                            new WSDL11ToAxisServiceBuilder(wsdlStream, null, null);
+                    axisService = wsdl2AxisServiceBuilder.populateService();
+                    axisService.setWsdlfound(true);
+                    axisService.setName(serviceName);
                 }
                 if (axisService == null) {
                     axisService = new AxisService(serviceName);



---------------------------------------------------------------------
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