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

Kristina Petkova updated AXIS2-5419:
------------------------------------

    Summary: Wrong constant used in configuring AxisOperation in the Utils 
class  (was: Wrong constant used in configuring AxisOperation n the Utils class)
    
> Wrong constant used in configuring AxisOperation in the Utils class
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5419
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5419
>             Project: Axis2
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.6.2
>            Reporter: Kristina Petkova
>            Priority: Trivial
>              Labels: axis2
>
> org.apache.axis2.deployment.util.Utils class:
>     public static AxisOperation getAxisOperationForJmethod(Method method)
>             throws AxisFault {
>         AxisOperation operation;
>         if ("void".equals(method.getReturnType().getName())) {
>             if (method.getExceptionTypes().length > 0) {
>                 operation = AxisOperationFactory
>                         .getAxisOperation(WSDLConstants.MEP_CONSTANT_IN_OUT);
>             }
> //code continues here...
> In our case we have a void method, which throws an AxisFault. So when 
> constructing the wsdl it goes inside this "if", becomes an InOutAxisOperation 
> and has otput tag, which has null namespace.
> This is not desirable, so the constant should be MEP_CONSTANT_ROBUST_IN_ONLY
> With this changed the wsdl is okay.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to