Author: richard.opalka(a)jboss.com
Date: 2010-10-14 10:28:14 -0400 (Thu, 14 Oct 2010)
New Revision: 13123
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/NativeServiceRefBinderJAXRPC.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/NativeServiceRefBinderJAXWS.java
Log:
refactoring
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/NativeServiceRefBinderJAXRPC.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/NativeServiceRefBinderJAXRPC.java 2010-10-14
14:25:27 UTC (rev 13122)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/NativeServiceRefBinderJAXRPC.java 2010-10-14
14:28:14 UTC (rev 13123)
@@ -46,7 +46,7 @@
/**
* Binds a Service into the callers ENC for every service-ref element
*/
- 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
{
String externalName = encCtx.getNameInNamespace() + "/" + encName;
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/NativeServiceRefBinderJAXWS.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/NativeServiceRefBinderJAXWS.java 2010-10-14
14:25:27 UTC (rev 13122)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/NativeServiceRefBinderJAXWS.java 2010-10-14
14:28:14 UTC (rev 13123)
@@ -61,7 +61,7 @@
// logging support
private static Logger log = Logger.getLogger(NativeServiceRefBinderJAXWS.class);
- 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
{
WebServiceRef wsref = null;
@@ -74,6 +74,7 @@
MTOM mtomAnnotation = null;
RespectBinding respectBindingAnnotation = null;
+ AnnotatedElement anElement = (AnnotatedElement)serviceRef.getAnnotatedElement();
if (anElement != null)
{
for (Annotation an : anElement.getAnnotations())
Show replies by date