Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
1.6.2
-
None
Description
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)
//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.