Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 81494 invoked from network); 7 Aug 2008 04:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 04:15:20 -0000 Received: (qmail 33980 invoked by uid 500); 7 Aug 2008 04:15:18 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 33875 invoked by uid 500); 7 Aug 2008 04:15:18 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 33866 invoked by uid 500); 7 Aug 2008 04:15:18 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 33863 invoked by uid 99); 7 Aug 2008 04:15:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 21:15:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 04:14:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 94C1D23889A0; Wed, 6 Aug 2008 21:14:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: axis2-cvs@ws.apache.org From: amilas@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080807041458.94C1D23889A0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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() +