axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r413713 - in /webservices/axis2/trunk/java/modules: codegen/src/org/apache/axis2/wsdl/codegen/emitter/ common/src/org/apache/axis2/wsdl/ core/src/org/apache/axis2/description/
Date Mon, 12 Jun 2006 17:22:33 GMT
Author: chinthaka
Date: Mon Jun 12 10:22:32 2006
New Revision: 413713

URL: http://svn.apache.org/viewvc?rev=413713&view=rev
Log:
Adding WSDL 20 MEP uris for the AxisOperationFactory

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
    webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/wsdl/WSDL20Constants.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperationFactory.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=413713&r1=413712&r2=413713&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
Mon Jun 12 10:22:32 2006
@@ -984,7 +984,7 @@
                 WSDLConstants.MEP_URI_ROBUST_OUT_ONLY.equals(mep) ||
                 WSDLConstants.MEP_URI_ROBUST_IN_ONLY.equals(mep) ||
                 WSDLConstants.MEP_URI_IN_OUT.equals(mep) ||
-                WSDL20Constants.MEP_URI_IN__OPTIONAL_OUT.equals(mep)||
+                WSDL20Constants.MEP_URI_IN_OPTIONAL_OUT.equals(mep)||
                 WSDL20Constants.MEP_URI_IN_ONLY.equals(mep)||
                 WSDL20Constants.MEP_URI_IN_OUT.equals(mep)||
                 WSDL20Constants.MEP_URI_OUT_IN.equals(mep)||
@@ -1462,7 +1462,7 @@
                 WSDLConstants.MEP_URI_ROBUST_OUT_ONLY.equals(MEP) ||
                 WSDLConstants.MEP_URI_ROBUST_IN_ONLY.equals(MEP) ||
                 WSDLConstants.MEP_URI_IN_OUT.equals(MEP) ||
-                WSDL20Constants.MEP_URI_IN__OPTIONAL_OUT.equals(MEP) ||
+                WSDL20Constants.MEP_URI_IN_OPTIONAL_OUT.equals(MEP) ||
                 WSDL20Constants.MEP_URI_IN_OUT.equals(MEP) ||
                 WSDL20Constants.MEP_URI_OUT_IN.equals(MEP) ||
                 WSDL20Constants.MEP_URI_OUT_ONLY.equals(MEP) ||

Modified: webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/wsdl/WSDL20Constants.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/wsdl/WSDL20Constants.java?rev=413713&r1=413712&r2=413713&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/wsdl/WSDL20Constants.java
(original)
+++ webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/wsdl/WSDL20Constants.java
Mon Jun 12 10:22:32 2006
@@ -26,7 +26,7 @@
     public static final String MEP_URI_IN_OUT = "http://www.w3.org/2006/01/wsdl/in-out";
 
     // http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#in-opt-out
-    public static final String MEP_URI_IN__OPTIONAL_OUT = "http://www.w3.org/2006/01/wsdl/in-opt-out";
+    public static final String MEP_URI_IN_OPTIONAL_OUT = "http://www.w3.org/2006/01/wsdl/in-opt-out";
 
     // http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#out-only
     public static final String MEP_URI_OUT_ONLY = "http://www.w3.org/2006/01/wsdl/out-only";

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperationFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperationFactory.java?rev=413713&r1=413712&r2=413713&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperationFactory.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperationFactory.java
Mon Jun 12 10:22:32 2006
@@ -1,8 +1,9 @@
 package org.apache.axis2.description;
 
 import org.apache.axis2.AxisFault;
-import org.apache.axis2.wsdl.WSDLConstants;
 import org.apache.axis2.i18n.Messages;
+import org.apache.axis2.wsdl.WSDL20Constants;
+import org.apache.axis2.wsdl.WSDLConstants;
 
 /*
 * Copyright 2004,2005 The Apache Software Foundation.
@@ -78,21 +79,21 @@
     //FIXME add in the latest MEP uris
     public static AxisOperation getOperationDescription(String mepURI) throws AxisFault {
         AxisOperation abOpdesc;
-        if (MEP_URI_IN_ONLY.equals(mepURI)) {
+        if (MEP_URI_IN_ONLY.equals(mepURI) || WSDL20Constants.MEP_URI_IN_ONLY.equals(mepURI))
{
             abOpdesc = new InOnlyAxisOperation();
-        } else if (MEP_URI_OUT_ONLY.equals(mepURI)) {
+        } else if (MEP_URI_OUT_ONLY.equals(mepURI) || WSDL20Constants.MEP_URI_OUT_ONLY.equals(mepURI))
{
             abOpdesc = new OutOnlyAxisOperation();
-        } else if (MEP_URI_IN_OUT.equals(mepURI) ||MEP_URI_IN_OUT_03.equals(mepURI)) {
+        } else if (MEP_URI_IN_OUT.equals(mepURI) ||MEP_URI_IN_OUT_03.equals(mepURI) || WSDL20Constants.MEP_URI_IN_OUT.equals(mepURI))
{
             abOpdesc = new InOutAxisOperation();
-        } else if (MEP_URI_IN_OPTIONAL_OUT.equals(mepURI)) {
+        } else if (MEP_URI_IN_OPTIONAL_OUT.equals(mepURI) || WSDL20Constants.MEP_URI_IN_OPTIONAL_OUT.equals(mepURI))
{
             abOpdesc = new InOutAxisOperation();
-        } else if (MEP_URI_OUT_IN.equals(mepURI)) {
+        } else if (MEP_URI_OUT_IN.equals(mepURI) || WSDL20Constants.MEP_URI_OUT_IN.equals(mepURI))
{
             abOpdesc = new OutInAxisOperation();
-        } else if (MEP_URI_OUT_OPTIONAL_IN.equals(mepURI)) {
+        } else if (MEP_URI_OUT_OPTIONAL_IN.equals(mepURI) || WSDL20Constants.MEP_URI_OUT_OPTIONAL_IN.equals(mepURI))
{
             abOpdesc = new OutInAxisOperation();
-        } else if (MEP_URI_ROBUST_OUT_ONLY.equals(mepURI)) {
+        } else if (MEP_URI_ROBUST_OUT_ONLY.equals(mepURI) || WSDL20Constants.MEP_URI_ROBUST_OUT_ONLY.equals(mepURI))
{
             abOpdesc = new OutInAxisOperation();
-        } else if (MEP_URI_ROBUST_IN_ONLY.equals(mepURI)) {
+        } else if (MEP_URI_ROBUST_IN_ONLY.equals(mepURI) || WSDL20Constants.MEP_URI_ROBUST_IN_ONLY.equals(mepURI))
{
             abOpdesc = new InOutAxisOperation();
         }else {
             throw new AxisFault(Messages.getMessage("unSupportedMEP", "ID is " + mepURI));



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