ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r683502 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Thu, 07 Aug 2008 04:14:58 GMT
Author: amilas
Date: Wed Aug  6 21:14:57 2008
New Revision: 683502

URL: http://svn.apache.org/viewvc?rev=683502&view=rev
Log:
if the soap action is null, then the default addressing action shuld be used for disptching.


Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.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?rev=683502&r1=683501&r2=683502&view=diff
==============================================================================
--- 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 Aug  6 21:14:57 2008
@@ -2328,6 +2328,10 @@
 
                 String soapActionURI = soapOperation.getSoapActionURI();
                 
+                if (this.isCodegen && ((soapActionURI == null) || (soapActionURI.equals(""))))
{
+                    soapActionURI = axisBindingOperation.getAxisOperation().getInputAction();
+                }
+                
                 if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled())
                     log.debug("WSDL Binding Operation: " + axisBindingOperation.getName()
+
                             ", SOAPAction: " + soapActionURI);
@@ -2354,6 +2358,9 @@
                 }
 
                 String soapAction = soapOperation.getSoapActionURI();
+                if (this.isCodegen && ((soapAction == null) || (soapAction.equals(""))))
{
+                    soapAction = axisBindingOperation.getAxisOperation().getInputAction();
+                }
                 
                 if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled())
                     log.debug("WSDL Binding Operation: " + axisBindingOperation.getName()
+



Mime
View raw message