Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.1
-
None
-
Novice
Description
In different WebMethods I have parameters of the same type, but with different QNames. The following if-clause (in ServiceInterfaceStrategy.analyzeServiceInterface(..)) throws an exeption in these cases (thrown if NOT QNameOfMethod1 equals QNameOfMethod2), but it should on the contrary throw an exception if the QNames ARE equal:
if (inTypeNameToQName.containsKey(ti.getTypeName())
&& (!(ti.getTypeName().equals("javax.xml.ws.Holder")))
&& (!(inTypeNameToQName.get(ti.getTypeName()).equals(ti.getElName()))))
The "NOT" must be deleted:
...
&& (inTypeNameToQName.get(ti.getTypeName()).equals(ti.getElName())))
...