You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2007/02/22 08:06:04 UTC

svn commit: r510427 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: description/WSDL11ToAxisServiceBuilder.java wsdl/WSDLConstants.java

Author: amilas
Date: Wed Feb 21 23:06:03 2007
New Revision: 510427

URL: http://svn.apache.org/viewvc?view=rev&rev=510427
Log:
Add a constant to support unwarpping

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/wsdl/WSDLConstants.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?view=diff&rev=510427&r1=510426&r2=510427
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Wed Feb 21 23:06:03 2007
@@ -1309,30 +1309,6 @@
         }
 
 
-        // loop through the output op map and generate the elements
-//        String[] outputOperationtNames = (String[]) operationToOutputMessageMap
-//                .keySet().toArray(new String[operationToOutputMessageMap.size()]);
-//        for (int j = 0; j < outputOperationtNames.length; j++) {
-//
-//            String baseoutputOpName = outputOperationtNames[j];
-//            String outputOpName = baseoutputOpName + WRAPPED_OUTPUTNAME_SUFFIX;
-//            elementDeclaration = document.createElementNS(
-//                    XMLSCHEMA_NAMESPACE_URI, xsdPrefix + ":"
-//                    + XML_SCHEMA_ELEMENT_LOCAL_NAME);
-//            elementDeclaration.setAttribute(XSD_NAME, outputOpName);
-//
-//            QName typeQName = ((Message) operationToOutputMessageMap
-//                    .get(baseoutputOpName)).getQName();
-//            // add the anonymous
-//            elementDeclaration.appendChild(((Element) complexTypeElementsMap
-//                    .get(typeQName)).cloneNode(true));
-//            elementElementsList.add(elementDeclaration);
-//
-//            resolvedRpcWrappedElementMap.put(outputOpName, new QName(
-//                    namespaceURI, outputOpName, AXIS2WRAPPED));
-//
-//        }
-
         // loop through the faultoutput op map and generate the elements
         String[] faultyOperationtNames = (String[]) faultyOperationsMap
                 .keySet().toArray(new String[faultyOperationsMap.size()]);

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/wsdl/WSDLConstants.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/wsdl/WSDLConstants.java?view=diff&rev=510427&r1=510426&r2=510427
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/wsdl/WSDLConstants.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/wsdl/WSDLConstants.java Wed Feb 21 23:06:03 2007
@@ -95,6 +95,7 @@
     int WSDL_1_1 = 1;
     int WSDL_2_0 = 2;
     String INPUT_PART_QNAME_SUFFIX = "_input";
+    String OUTPUT_PART_QNAME_SUFFIX = "_output";
 
 
     public static interface WSDL11Constants {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org