You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ga...@apache.org on 2008/04/07 19:51:01 UTC

svn commit: r645630 - /webservices/axis2/branches/java/1_4/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java

Author: gawor
Date: Mon Apr  7 10:51:00 2008
New Revision: 645630

URL: http://svn.apache.org/viewvc?rev=645630&view=rev
Log:
set default input/output wsa actions (AXIS2-3715)

Modified:
    webservices/axis2/branches/java/1_4/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java

Modified: webservices/axis2/branches/java/1_4/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java?rev=645630&r1=645629&r2=645630&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_4/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java (original)
+++ webservices/axis2/branches/java/1_4/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java Mon Apr  7 10:51:00 2008
@@ -326,7 +326,7 @@
         String inputAction = getOutputAction();
 
         //If we still don't have an action then fall back to the Default Action Pattern.
-        if (inputAction == null) {
+        if (inputAction == null || inputAction.length() == 0) {
             inputAction =
                 WSDL11ActionHelper.getInputActionFromStringInformation( messageExchangePattern, 
                                                                         targetNS, 
@@ -352,7 +352,7 @@
         String outputName = null;
         String outputAction = getInputAction();
 
-        if (outputAction == null) {
+        if (outputAction == null || outputAction.length() == 0) {
             outputAction =
                 WSDL11ActionHelper.getOutputActionFromStringInformation( messageExchangePattern, 
                                                                          targetNS, 
@@ -412,7 +412,7 @@
         String inputAction = getInputAction();
         
         //If we don't have an action then fall back to the Default Action Pattern.
-        if (inputAction == null) {
+        if (inputAction == null || inputAction.length() == 0) {
             inputAction =
                 WSDL11ActionHelper.getInputActionFromStringInformation(messageExchangePattern, 
                                                                        targetNS, 
@@ -438,7 +438,7 @@
         String outputAction = getOutputAction();
         
         //If we don't have an action then fall back to the Default Action Pattern.
-        if (outputAction == null) {
+        if (outputAction == null || outputAction.length() == 0) {
             outputAction =
                 WSDL11ActionHelper.getOutputActionFromStringInformation(messageExchangePattern,
                                                                         targetNS, 



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