[ 
https://issues.apache.org/jira/browse/AXIS2-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davanum Srinivas resolved AXIS2-2867.
-------------------------------------

    Resolution: Fixed

Fixed in svn revision 551195

thanks,
dims

> setAction in generated code is empty 
> -------------------------------------
>
>                 Key: AXIS2-2867
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2867
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>
> when i run wsdl2java against the version service 
> (http://localhost:8080/axis2/services/Version?wsdl) the setAction is set to 
> an empty string. and the generated code does not work as the server is not 
> able to find the operation. Tracked it down to this diff 
> Index: 
> modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
> ===================================================================
> --- 
> modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
>      (revision 551158)
> +++ 
> modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
>      (working copy)
> @@ -456,7 +456,7 @@
>              wsdl4jBindingOperation = (BindingOperation) iterator.next();
>              wsdl4jOperation = findOperation(portType, 
> wsdl4jBindingOperation);
> -            axisBindingOperation.setName(new QName("", 
> wsdl4jBindingOperation.getName()));
> +            axisBindingOperation.setName(new QName(targetNamespace, 
> wsdl4jBindingOperation.getName()));
>              addDocumentation(axisBindingOperation, 
> wsdl4jBindingOperation.getDocumentationElement());
>              axisOperation = axisService.getOperation(new 
> QName(targetNamespace, wsdl4jOperation.getName()));
> thanks,
> dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to