axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r635230 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
Date Sun, 09 Mar 2008 12:53:31 GMT
Author: amilas
Date: Sun Mar  9 05:53:26 2008
New Revision: 635230

URL: http://svn.apache.org/viewvc?rev=635230&view=rev
Log:
fixed the issue AXIS2-3570

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=635230&r1=635229&r2=635230&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
Sun Mar  9 05:53:26 2008
@@ -2607,14 +2607,14 @@
 
                 headerparamList = (ArrayList) getBindingPropertyFromMessage(
                         WSDL2Constants.ATTR_WSOAP_HEADER, bindingOperation.getName(),
-                        WSDLConstants.WSDL_MESSAGE_DIRECTION_IN);
+                        WSDLConstants.MESSAGE_LABEL_IN_VALUE);
 
             }
         } else {
             if (WSDLUtil.isOutputPresentForMEP(MEP)) {
                 headerparamList = (ArrayList) getBindingPropertyFromMessage(
                         WSDL2Constants.ATTR_WSOAP_HEADER, bindingOperation.getName(),
-                        WSDLConstants.WSDL_MESSAGE_DIRECTION_OUT);
+                        WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
             }
         }
         if (headerparamList != null) {
@@ -3239,6 +3239,13 @@
                 addAttribute(doc, "location", location, param);
                 if (header.isMustUnderstand()) {
                     addAttribute(doc, "mustUnderstand", "true", param);
+                }
+
+                if (name != null) {
+                    Element qNameElement = doc.createElement("qname");
+                    addAttribute(doc, "nsuri", name.getNamespaceURI(), qNameElement);
+                    addAttribute(doc, "localname", name.getLocalPart(), qNameElement);
+                    param.appendChild(qNameElement);
                 }
                 parameterElementList.add(param);
             }



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