axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r480870 - /webservices/axis2/branches/java/WSDL_2_0/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
Date Thu, 30 Nov 2006 08:12:18 GMT
Author: chinthaka
Date: Thu Nov 30 00:12:17 2006
New Revision: 480870

URL: http://svn.apache.org/viewvc?view=rev&rev=480870
Log:
Making sure all the operations work in emitStub. Now need to start testing this with a real
WSDL 2.0 document

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

Modified: webservices/axis2/branches/java/WSDL_2_0/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/WSDL_2_0/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java?view=diff&rev=480870&r1=480869&r2=480870
==============================================================================
--- webservices/axis2/branches/java/WSDL_2_0/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
(original)
+++ webservices/axis2/branches/java/WSDL_2_0/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
Thu Nov 30 00:12:17 2006
@@ -1702,7 +1702,7 @@
             // message receiver to use, etc.,
 
 
-            String messageExchangePattern = (String) getBindingPropertyFromOperation(WSDL2Constants.ATTR_WSOAP_MEP,
axisOperation.getName());
+            String messageExchangePattern = axisOperation.getMessageExchangePattern();
             if (infoHolder.get(messageExchangePattern) == null) {
                 infoHolder.put(messageExchangePattern, Boolean.TRUE);
             }
@@ -1750,7 +1750,7 @@
         addAttribute(doc, "style", axisOperation.getStyle(), methodElement);
         addAttribute(doc, "dbsupportname", endpointName + localPart + DATABINDING_SUPPORTER_NAME_SUFFIX,
                 methodElement);
-        String messageExchangePattern = (String) getBindingPropertyFromOperation(WSDL2Constants.ATTR_WSOAP_MEP,
axisOperation.getName());
+        String messageExchangePattern = axisOperation.getMessageExchangePattern();
         addAttribute(doc, "mep", Utils.getAxisSpecifMEPConstant(messageExchangePattern) +
"", methodElement);
         addAttribute(doc, "mepURI", messageExchangePattern, methodElement);
 
@@ -1962,7 +1962,7 @@
     protected void addHeaderOperations(List soapHeaderParameterQNameList, AxisOperation axisOperation,
                                        boolean input) {
         ArrayList headerparamList = new ArrayList();
-        String MEP = (String)getBindingPropertyFromOperation(WSDL2Constants.ATTR_WSOAP_MEP,axisOperation.getName());
+        String MEP = axisOperation.getMessageExchangePattern();
         if (input) {
             if (WSDLUtil.isInputPresentForMEP(MEP)) {
 
@@ -2001,7 +2001,7 @@
      */
     protected Element getInputElement(Document doc, AxisOperation operation, List headerParameterQNameList)
{
         Element inputElt = doc.createElement("input");
-        String mep = (String) getBindingPropertyFromOperation(WSDL2Constants.ATTR_WSOAP_MEP,
operation.getName());
+        String mep = operation.getMessageExchangePattern();
 
         if (WSDLUtil.isInputPresentForMEP(mep)) {
 
@@ -2066,7 +2066,7 @@
      */
     protected Element getOutputElement(Document doc, AxisOperation operation, List headerParameterQNameList)
{
         Element outputElt = doc.createElement("output");
-        String mep = (String) getBindingPropertyFromOperation(WSDL2Constants.ATTR_WSOAP_MEP,
operation.getName());
+        String mep = operation.getMessageExchangePattern();
 
 
         if (WSDLUtil.isOutputPresentForMEP(mep)) {



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