axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r679290 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
Date Thu, 24 Jul 2008 07:09:15 GMT
Author: amilas
Date: Thu Jul 24 00:09:15 2008
New Revision: 679290

URL: http://svn.apache.org/viewvc?rev=679290&view=rev
Log:
added all the message parts in uwrapping and it is handled at the template level

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java?rev=679290&r1=679289&r2=679290&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
Thu Jul 24 00:09:15 2008
@@ -3192,8 +3192,10 @@
             //parameters in the signatures
             // in out put params we only intersted if there is only one parameter
             // otherwise we can not unwrap it.
-            if (partsList.size() == 1) {
-                QName qName = (QName) partsList.get(0);
+            // this logic handles at the template level
+             QName qName = null;
+            for (Iterator iter = partsList.iterator(); iter.hasNext();) {
+                qName = (QName) iter.next();
                 paramElement.appendChild(generateParamComponent(doc,
                         this.mapper.getParameterName(qName),
                         this.mapper.getTypeMappingName(



Mime
View raw message