Author: alessio.soldano(a)jboss.com
Date: 2008-11-18 03:23:50 -0500 (Tue, 18 Nov 2008)
New Revision: 8740
Modified:
stack/metro/branches/asoldano/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/ServiceRefBinderFactoryImpl.java
Log:
Enable service-ref
Modified:
stack/metro/branches/asoldano/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/ServiceRefBinderFactoryImpl.java
===================================================================
---
stack/metro/branches/asoldano/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/ServiceRefBinderFactoryImpl.java 2008-11-18
08:17:25 UTC (rev 8739)
+++
stack/metro/branches/asoldano/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/ServiceRefBinderFactoryImpl.java 2008-11-18
08:23:50 UTC (rev 8740)
@@ -21,6 +21,7 @@
*/
package org.jboss.wsf.stack.metro.client;
+import org.jboss.ws.core.jaxrpc.client.NativeServiceRefBinderJAXRPC;
import org.jboss.wsf.spi.serviceref.ServiceRefBinder;
import org.jboss.wsf.spi.serviceref.ServiceRefBinderFactory;
import org.jboss.wsf.spi.serviceref.ServiceRefHandler.Type;
@@ -35,6 +36,8 @@
{
public ServiceRefBinder newServiceRefBinder(Type type)
{
- return (type == Type.JAXRPC ? new ServiceRefBinderJAXRPC() : new
ServiceRefBinderJAXWS());
+ //TODO!!! Fix this, we shouldn't directly refer to native classes here
+ //return (type == Type.JAXRPC ? new ServiceRefBinderJAXRPC() : new
ServiceRefBinderJAXWS());
+ return (type == Type.JAXRPC ? new NativeServiceRefBinderJAXRPC() : new
ServiceRefBinderJAXWS());
}
}
Show replies by date