Author: hemapani Date: Wed Jun 13 08:30:13 2007 New Revision: 546922 URL: http://svn.apache.org/viewvc?view=rev&rev=546922 Log: fix https://issues.apache.org/jira/browse/AXIS2-2796
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?view=diff&rev=546922&r1=546921&r2=546922 ============================================================================== --- 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 Jun 13 08:30:13 2007 @@ -1070,6 +1070,7 @@ } } else { + // for the client side we have to do something that is a bit // weird. The in message is actually taken from the output // and the output is taken from the in @@ -1979,7 +1980,12 @@ String soapAction = soapOperation.getSoapActionURI(); if ((soapAction != null) && (!soapAction.equals(""))) { axisBindingOperation.setProperty(WSDL2Constants.ATTR_WSOAP_ACTION, soapAction); - axisBindingOperation.getAxisOperation().setSoapAction(soapAction); + if(isServerSide){ + axisBindingOperation.getAxisOperation().setSoapAction(soapAction); + }else{ + axisBindingOperation.getAxisOperation().setOutputAction(soapAction); + } + axisService.mapActionToOperation(soapAction, axisBindingOperation.getAxisOperation()); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]