Author: richard.opalka(a)jboss.com
Date: 2010-10-14 10:28:59 -0400 (Thu, 14 Oct 2010)
New Revision: 13124
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXRPC.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java
Log:
refactoring
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXRPC.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXRPC.java 2010-10-14
14:28:14 UTC (rev 13123)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXRPC.java 2010-10-14
14:28:59 UTC (rev 13124)
@@ -35,7 +35,7 @@
*/
public class ServiceRefBinderJAXRPC implements ServiceRefBinder
{
- public void setupServiceRef(Context encCtx, String encName, AnnotatedElement
anElement, UnifiedServiceRefMetaData serviceRef, ClassLoader loader) throws
NamingException
+ public void setupServiceRef(Context encCtx, String encName, UnifiedServiceRefMetaData
serviceRef, ClassLoader loader) throws NamingException
{
throw new IllegalArgumentException("Deployed stack does not support JAX-RPC
service-ref deployments");
}
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java 2010-10-14
14:28:14 UTC (rev 13123)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/ServiceRefBinderJAXWS.java 2010-10-14
14:28:59 UTC (rev 13124)
@@ -59,7 +59,7 @@
// logging support
private static Logger log = Logger.getLogger(ServiceRefBinderJAXWS.class);
- public void setupServiceRef(Context encCtx, String encName, AnnotatedElement
anElement, UnifiedServiceRefMetaData serviceRef, ClassLoader loader)
+ public void setupServiceRef(Context encCtx, String encName, UnifiedServiceRefMetaData
serviceRef, ClassLoader loader)
throws NamingException
{
WebServiceRef wsref = null;
@@ -73,6 +73,7 @@
MTOM mtomAnnotation = null;
RespectBinding respectBindingAnnotation = null;
+ AnnotatedElement anElement = (AnnotatedElement)serviceRef.getAnnotatedElement();
if (anElement != null)
{
for (Annotation an : anElement.getAnnotations())
Show replies by date