ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r593424 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java
Date Fri, 09 Nov 2007 06:12:53 GMT
Author: amilas
Date: Thu Nov  8 22:12:51 2007
New Revision: 593424

URL: http://svn.apache.org/viewvc?rev=593424&view=rev
Log:
get the soap action from the binding operation

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

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java?rev=593424&r1=593423&r2=593424&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java
Thu Nov  8 22:12:51 2007
@@ -46,6 +46,8 @@
 import java.util.List;
 import java.util.Map;
 
+import com.ibm.wsdl.util.xml.DOM2Writer;
+
 public class CEmitter extends AxisServiceBasedMultiLanguageEmitter {
     protected static final String C_STUB_PREFIX = "axis2_stub_";
     protected static final String C_SKEL_PREFIX = "axis2_skel_";
@@ -254,7 +256,7 @@
         rootElement.appendChild(getUniqueListofFaults(doc));
 
         /////////////////////////////////////////////////////
-        //System.out.println(DOM2Writer.nodeToString(rootElement));
+//        System.out.println(DOM2Writer.nodeToString(rootElement));
         /////////////////////////////////////////////////////
 
 
@@ -398,7 +400,7 @@
                              methodElement);
 
 
-                addSOAPAction(doc, methodElement, axisOperation.getName());
+                addSOAPAction(doc, methodElement, axisBindingOperation.getName());
                 //add header ops for input
                 addHeaderOperations(soapHeaderInputParameterList, axisBindingOperation, true);
                 //add header ops for output
@@ -453,7 +455,7 @@
                                  methodElement);
 
 
-                    addSOAPAction(doc, methodElement, axisOperation.getName());
+                    addSOAPAction(doc, methodElement, axisBindingOperation.getName());
                     addHeaderOperations(soapHeaderInputParameterList, axisBindingOperation,
true);
                     addHeaderOperations(soapHeaderOutputParameterList, axisBindingOperation,
false);
 



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