axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r526115 - in /webservices/axis2/trunk/java/modules: codegen/src/org/apache/axis2/wsdl/codegen/CodeGenerationEngine.java kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
Date Fri, 06 Apr 2007 10:33:58 GMT
Author: amilas
Date: Fri Apr  6 03:33:56 2007
New Revision: 526115

URL: http://svn.apache.org/viewvc?view=rev&rev=526115
Log:
fixed the issue AXIS2_2471

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenerationEngine.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenerationEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenerationEngine.java?view=diff&rev=526115&r1=526114&r2=526115
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenerationEngine.java
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenerationEngine.java
Fri Apr  6 03:33:56 2007
@@ -117,7 +117,8 @@
                 }
 
                 WSDL11ToAxisServiceBuilder builder = null;
-                if (serviceQname != null) {
+                // jibx currently does not support multiservice
+                if ((serviceQname != null) || (configuration.getDatabindingType().equals("jibx")))
{
                     builder = new WSDL11ToAxisServiceBuilder(
                             wsdl4jDef,
                             serviceQname,

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java?view=diff&rev=526115&r1=526114&r2=526115
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
Fri Apr  6 03:33:56 2007
@@ -286,9 +286,10 @@
                 throw new AxisFault("Service with the specified name not found in the WSDL
: "
                         + serviceName.getLocalPart());
             }
+        } else {
+           wsdlService = services[0];
         }
 
-        wsdlService = services[0];
         axisService.setName(wsdlService.getName().getLocalPart().toString());
         Interface serviceInterface = wsdlService.getInterface();
         axisService.addParameter(new Parameter(WSDL2Constants.INTERFACE_LOCAL_NAME, serviceInterface.getName().getLocalPart()));



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