Author: asoldano
Date: 2014-04-22 05:40:40 -0400 (Tue, 22 Apr 2014)
New Revision: 18580
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
Log:
[JBPAPP-10549] Fix for jaxws 2.1 additions
Modified:
stack/cxf/branches/jbossws-cxf-3.1.2/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-3.1.2/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2014-04-18
04:47:06 UTC (rev 18579)
+++
stack/cxf/branches/jbossws-cxf-3.1.2/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceObjectFactory.java 2014-04-22
09:40:40 UTC (rev 18580)
@@ -170,7 +170,7 @@
{
String methodName = method.getName();
Class retType = method.getReturnType();
- if (methodName.startsWith("get") &&
targetClass.isAssignableFrom(retType))
+ if (methodName.startsWith("get") &&
targetClass.isAssignableFrom(retType) && method.getParameterTypes().length == 0)
{
port = method.invoke(target, new Object[0]);
target = port;
Show replies by date