diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-14 12:19:37 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-14 12:19:37 +0000 |
commit | f0581d45620443a18a263018a49432f26c9027e2 (patch) | |
tree | 63850ae16697d799d9fb6e2bcda6726b9f2bb6b3 /sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany | |
parent | dc03c1b10c147a23bebc027f40d5414553a0fa61 (diff) |
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
Diffstat (limited to 'sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany')
-rw-r--r-- | sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java b/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java index 1c6f326e55..e8faa88de3 100644 --- a/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java +++ b/sca-java-2.x/trunk/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java @@ -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 |