Use operation instead of method to avoid NPE with async server operation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1170560 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc03c1b10c
commit
f0581d4562
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ public class JAXWSJavaInterfaceProcessor implements JavaInterfaceVisitor {
|
|||
}
|
||||
|
||||
List<ElementInfo> inputElements = new ArrayList<ElementInfo>();
|
||||
for (int i = 0; i < method.getParameterTypes().length; i++) {
|
||||
for (int i = 0; i < operation.getInputType().getLogical().size(); i++) {
|
||||
WebParam param = getAnnotation(method, i, WebParam.class);
|
||||
ns = param != null ? param.targetNamespace() : "";
|
||||
// Default to "" for doc-lit-wrapped && non-header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue