You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2006/08/25 15:17:37 UTC

svn commit: r436785 [16/18] - in /incubator/cxf/trunk: ./ api/ api/src/main/java/org/apache/cxf/buslifecycle/ api/src/main/java/org/apache/cxf/databinding/ api/src/main/java/org/apache/cxf/endpoint/ api/src/main/java/org/apache/cxf/interceptor/ api/src...

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java (original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java Fri Aug 25 06:16:36 2006
@@ -1,190 +1,190 @@
-package org.apache.cxf.jaxws.support;
-
-import java.io.IOException;
-import java.lang.reflect.Method;
-import java.net.URL;
-import java.util.ResourceBundle;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.xml.namespace.QName;
-import javax.xml.ws.ResponseWrapper;
-
-import org.apache.cxf.common.classloader.ClassLoaderUtils;
-import org.apache.cxf.common.i18n.BundleUtils;
-import org.apache.cxf.common.i18n.Message;
-import org.apache.cxf.resource.URIResolver;
-import org.apache.cxf.service.factory.AbstractServiceConfiguration;
-import org.apache.cxf.service.factory.ReflectionServiceFactoryBean;
-import org.apache.cxf.service.factory.ServiceConstructionException;
-import org.apache.cxf.service.model.InterfaceInfo;
-
-public class JaxWsServiceConfiguration extends AbstractServiceConfiguration {
-    private static final ResourceBundle BUNDLE = BundleUtils.getBundle(JaxWsServiceConfiguration.class);
-
-    private JaxwsImplementorInfo implInfo;
-     
-
-    @Override
-    public void setServiceFactory(ReflectionServiceFactoryBean serviceFactory) {
-        super.setServiceFactory(serviceFactory);
-        implInfo = new JaxwsImplementorInfo(serviceFactory.getServiceClass());        
-    }
-
-    WebService getConcreteWebServiceAttribute() {
-        return getServiceFactory().getServiceClass().getAnnotation(WebService.class);
-    }
-
-    WebService getPortTypeWebServiceAttribute() {
-        Class<?> epi = getEndpointClass();
-        WebService ws = null;
-        if (epi != null) {
-            ws = epi.getAnnotation(WebService.class);
-        }
-        if (ws == null) {
-            ws = getConcreteWebServiceAttribute();
-        }
-        return ws;
-    }
-
-    Class getEndpointClass() {
-        Class endpointInterface = implInfo.getSEIClass();
-        if (null == endpointInterface) {
-            endpointInterface = implInfo.getImplementorClass();
-        }
-        return endpointInterface;
-    }
-
-    @Override
-    public String getServiceName() {
-        WebService ws = getConcreteWebServiceAttribute();
-        if (ws != null) {
-            return ws.serviceName();
-        }
-
-        return null;
-    }
-
-    @Override
-    public String getServiceNamespace() {
-        WebService ws = getConcreteWebServiceAttribute();
-        if (ws != null) {
-            return ws.targetNamespace();
-        }
-
-        return null;
-    }
-
-    @Override
-    public URL getWsdlURL() {
-        WebService ws = getPortTypeWebServiceAttribute();
-        if (ws != null && ws.wsdlLocation().length() > 0) {
-            try {
-                URIResolver resolver = new URIResolver(ws.wsdlLocation());
-                if (resolver.isResolved()) {
-                    return resolver.getURI().toURL();
-                }
-            } catch (IOException e) {
-                throw new ServiceConstructionException(new Message("LOAD_WSDL_EXC", 
-                                                                   BUNDLE, 
-                                                                   ws.wsdlLocation()),
-                                                       e);
-            }
-        }
-        return null;
-    }
-
-    @Override
-    public QName getOperationName(InterfaceInfo service, Method method) {
-        method = getDeclaredMethod(method);
-
-        WebMethod wm = method.getAnnotation(WebMethod.class);
-        if (wm != null) {
-            String name = wm.operationName();
-            if (name == null) {
-                name = method.getName();
-            }
-
-            return new QName(service.getName().getNamespaceURI(), name);
-        }
-
-        return null;
-    }
-
-    @Override
-    public Boolean isOperation(Method method) {
-        method = getDeclaredMethod(method);
-        if (method != null) {
-            WebMethod wm = method.getAnnotation(WebMethod.class);
-            if (wm != null) {
-                if (wm.exclude()) {
-                    return Boolean.FALSE;
-                } else {
-                    return Boolean.TRUE;
-                }
-            } else if (!method.getDeclaringClass().isInterface()) {
-                return Boolean.FALSE;
-            }
-        }
-        return Boolean.FALSE;
-    }
-
-    private Method getDeclaredMethod(Method method) {
-        Class endpointClass = getEndpointClass();
-
-        if (!method.getDeclaringClass().equals(endpointClass)) {
-            try {
-                method = endpointClass.getMethod(method.getName(), (Class[])method.getParameterTypes());
-            } catch (SecurityException e) {
-                throw new ServiceConstructionException(e);
-            } catch (NoSuchMethodException e) {
-                // Do nothing
-            }
-        }
-        return method;
-    }
-
-    @Override
-    public Class getResponseWrapper(Method selected) {
-        Method m = getDeclaredMethod(selected);
-        
-        ResponseWrapper rw = m.getAnnotation(ResponseWrapper.class);
-        if (rw == null) {
-            return null;
-        }
-        
-        String clsName = rw.className();
-        if (clsName.length() > 0) {
-            try {
-                return ClassLoaderUtils.loadClass(clsName, getClass());
-            } catch (ClassNotFoundException e) {
-                throw new ServiceConstructionException(e);
-            }
-        }
-        
-        return null;
-    }
-
-    @Override
-    public Class getRequestWrapper(Method selected) {
-        Method m = getDeclaredMethod(selected);
-        
-        ResponseWrapper rw = m.getAnnotation(ResponseWrapper.class);
-        if (rw == null) {
-            return null;
-        }
-        
-        String clsName = rw.className();
-        
-        if (clsName.length() > 0) {
-            try {
-                return ClassLoaderUtils.loadClass(clsName, getClass());
-            } catch (ClassNotFoundException e) {
-                throw new ServiceConstructionException(e);
-            }
-        }
-        
-        return null;
-    }
-    
-}
+package org.apache.cxf.jaxws.support;
+
+import java.io.IOException;
+import java.lang.reflect.Method;
+import java.net.URL;
+import java.util.ResourceBundle;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.xml.namespace.QName;
+import javax.xml.ws.ResponseWrapper;
+
+import org.apache.cxf.common.classloader.ClassLoaderUtils;
+import org.apache.cxf.common.i18n.BundleUtils;
+import org.apache.cxf.common.i18n.Message;
+import org.apache.cxf.resource.URIResolver;
+import org.apache.cxf.service.factory.AbstractServiceConfiguration;
+import org.apache.cxf.service.factory.ReflectionServiceFactoryBean;
+import org.apache.cxf.service.factory.ServiceConstructionException;
+import org.apache.cxf.service.model.InterfaceInfo;
+
+public class JaxWsServiceConfiguration extends AbstractServiceConfiguration {
+    private static final ResourceBundle BUNDLE = BundleUtils.getBundle(JaxWsServiceConfiguration.class);
+
+    private JaxwsImplementorInfo implInfo;
+     
+
+    @Override
+    public void setServiceFactory(ReflectionServiceFactoryBean serviceFactory) {
+        super.setServiceFactory(serviceFactory);
+        implInfo = new JaxwsImplementorInfo(serviceFactory.getServiceClass());        
+    }
+
+    WebService getConcreteWebServiceAttribute() {
+        return getServiceFactory().getServiceClass().getAnnotation(WebService.class);
+    }
+
+    WebService getPortTypeWebServiceAttribute() {
+        Class<?> epi = getEndpointClass();
+        WebService ws = null;
+        if (epi != null) {
+            ws = epi.getAnnotation(WebService.class);
+        }
+        if (ws == null) {
+            ws = getConcreteWebServiceAttribute();
+        }
+        return ws;
+    }
+
+    Class getEndpointClass() {
+        Class endpointInterface = implInfo.getSEIClass();
+        if (null == endpointInterface) {
+            endpointInterface = implInfo.getImplementorClass();
+        }
+        return endpointInterface;
+    }
+
+    @Override
+    public String getServiceName() {
+        WebService ws = getConcreteWebServiceAttribute();
+        if (ws != null) {
+            return ws.serviceName();
+        }
+
+        return null;
+    }
+
+    @Override
+    public String getServiceNamespace() {
+        WebService ws = getConcreteWebServiceAttribute();
+        if (ws != null) {
+            return ws.targetNamespace();
+        }
+
+        return null;
+    }
+
+    @Override
+    public URL getWsdlURL() {
+        WebService ws = getPortTypeWebServiceAttribute();
+        if (ws != null && ws.wsdlLocation().length() > 0) {
+            try {
+                URIResolver resolver = new URIResolver(ws.wsdlLocation());
+                if (resolver.isResolved()) {
+                    return resolver.getURI().toURL();
+                }
+            } catch (IOException e) {
+                throw new ServiceConstructionException(new Message("LOAD_WSDL_EXC", 
+                                                                   BUNDLE, 
+                                                                   ws.wsdlLocation()),
+                                                       e);
+            }
+        }
+        return null;
+    }
+
+    @Override
+    public QName getOperationName(InterfaceInfo service, Method method) {
+        method = getDeclaredMethod(method);
+
+        WebMethod wm = method.getAnnotation(WebMethod.class);
+        if (wm != null) {
+            String name = wm.operationName();
+            if (name == null) {
+                name = method.getName();
+            }
+
+            return new QName(service.getName().getNamespaceURI(), name);
+        }
+
+        return null;
+    }
+
+    @Override
+    public Boolean isOperation(Method method) {
+        method = getDeclaredMethod(method);
+        if (method != null) {
+            WebMethod wm = method.getAnnotation(WebMethod.class);
+            if (wm != null) {
+                if (wm.exclude()) {
+                    return Boolean.FALSE;
+                } else {
+                    return Boolean.TRUE;
+                }
+            } else if (!method.getDeclaringClass().isInterface()) {
+                return Boolean.FALSE;
+            }
+        }
+        return Boolean.FALSE;
+    }
+
+    private Method getDeclaredMethod(Method method) {
+        Class endpointClass = getEndpointClass();
+
+        if (!method.getDeclaringClass().equals(endpointClass)) {
+            try {
+                method = endpointClass.getMethod(method.getName(), (Class[])method.getParameterTypes());
+            } catch (SecurityException e) {
+                throw new ServiceConstructionException(e);
+            } catch (NoSuchMethodException e) {
+                // Do nothing
+            }
+        }
+        return method;
+    }
+
+    @Override
+    public Class getResponseWrapper(Method selected) {
+        Method m = getDeclaredMethod(selected);
+        
+        ResponseWrapper rw = m.getAnnotation(ResponseWrapper.class);
+        if (rw == null) {
+            return null;
+        }
+        
+        String clsName = rw.className();
+        if (clsName.length() > 0) {
+            try {
+                return ClassLoaderUtils.loadClass(clsName, getClass());
+            } catch (ClassNotFoundException e) {
+                throw new ServiceConstructionException(e);
+            }
+        }
+        
+        return null;
+    }
+
+    @Override
+    public Class getRequestWrapper(Method selected) {
+        Method m = getDeclaredMethod(selected);
+        
+        ResponseWrapper rw = m.getAnnotation(ResponseWrapper.class);
+        if (rw == null) {
+            return null;
+        }
+        
+        String clsName = rw.className();
+        
+        if (clsName.length() > 0) {
+            try {
+                return ClassLoaderUtils.loadClass(clsName, getClass());
+            } catch (ClassNotFoundException e) {
+                throw new ServiceConstructionException(e);
+            }
+        }
+        
+        return null;
+    }
+    
+}

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties (original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties Fri Aug 25 06:16:36 2006
@@ -1,5 +1,5 @@
-SEI_LOAD_FAILURE_EXC = Failed to load service endpoint interface.
-SEI_WITHOUT_WEBSERVICE_ANNOTATION_EXC = Service endpoint interface does not have a @WebService annotation.
-ILLEGAL_ATTRIBUTE_IN_SEI_ANNOTATION_EXC = Attributes portName, serviceName and endpointInterface are not allowed in the @WebService annotation of an SEI.
-MALFORMED_URL_IN_WEBSERVICE_ANNOTATION_EXC = Malformed url in @WwebService annotation attribute wsdlLocation.
-
+SEI_LOAD_FAILURE_EXC = Failed to load service endpoint interface.
+SEI_WITHOUT_WEBSERVICE_ANNOTATION_EXC = Service endpoint interface does not have a @WebService annotation.
+ILLEGAL_ATTRIBUTE_IN_SEI_ANNOTATION_EXC = Attributes portName, serviceName and endpointInterface are not allowed in the @WebService annotation of an SEI.
+MALFORMED_URL_IN_WEBSERVICE_ANNOTATION_EXC = Malformed url in @WwebService annotation attribute wsdlLocation.
+

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JaxWsClientTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JaxWsClientTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java (original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java Fri Aug 25 06:16:36 2006
@@ -1,75 +1,75 @@
-package org.apache.cxf.jaxws.support;
-
-import java.lang.reflect.Method;
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-
-import junit.framework.TestCase;
-
-import org.apache.cxf.Bus;
-import org.apache.cxf.binding.BindingFactoryManager;
-import org.apache.cxf.binding.BindingFactoryManagerImpl;
-import org.apache.cxf.binding.soap.SoapBindingFactory;
-import org.apache.cxf.service.Service;
-import org.apache.cxf.service.invoker.SimpleMethodInvoker;
-import org.apache.cxf.service.model.InterfaceInfo;
-import org.apache.cxf.service.model.OperationInfo;
-import org.apache.cxf.wsdl.WSDLManager;
-import org.apache.cxf.wsdl11.WSDLManagerImpl;
-import org.apache.hello_world_soap_http.GreeterImpl;
-import org.easymock.IMocksControl;
-
-import static org.easymock.EasyMock.expect;
-import static org.easymock.classextension.EasyMock.createNiceControl;
-
-public class JaxWsServiceFactoryBeanTest extends TestCase {
-    public void testEndpoint() throws Exception {
-        JaxWsServiceFactoryBean bean = new JaxWsServiceFactoryBean();
-        bean.setServiceClass(GreeterImpl.class);
-
-        URL resource = getClass().getResource("/wsdl/hello_world.wsdl");
-        assertNotNull(resource);
-        bean.setWsdlURL(resource);
-
-        Bus bus = createBus();
-        bean.setBus(bus);
-
-        SimpleMethodInvoker invoker = new SimpleMethodInvoker(new GreeterImpl());
-        bean.setInvoker(invoker);
-        
-        Service service = bean.create();
-
-        assertEquals("SOAPService", service.getName().getLocalPart());
-        assertEquals("http://apache.org/hello_world_soap_http", service.getName().getNamespaceURI());
-        
-        InterfaceInfo intf = service.getServiceInfo().getInterface();
-        
-        OperationInfo op = intf.getOperation(
-            new QName("http://apache.org/hello_world_soap_http", "sayHi"));
-        
-        Method m = (Method) op.getProperty(Method.class.getName());
-        assertNotNull(m);
-        assertEquals("sayHi", m.getName());
-        
-        assertEquals(invoker, service.getInvoker());
-    }
-
-    Bus createBus() throws Exception {
-        IMocksControl control = createNiceControl();
-        Bus bus = control.createMock(Bus.class);
-
-        SoapBindingFactory bindingFactory = new SoapBindingFactory();
-        BindingFactoryManager bfm = new BindingFactoryManagerImpl();
-        bfm.registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/", bindingFactory);
-
-        expect(bus.getExtension(BindingFactoryManager.class)).andReturn(bfm).anyTimes();
-
-        WSDLManagerImpl wsdlMan = new WSDLManagerImpl();
-        expect(bus.getExtension(WSDLManager.class)).andReturn(wsdlMan);
-
-        control.replay();
-
-        return bus;
-    }
-}
+package org.apache.cxf.jaxws.support;
+
+import java.lang.reflect.Method;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+
+import junit.framework.TestCase;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.binding.BindingFactoryManager;
+import org.apache.cxf.binding.BindingFactoryManagerImpl;
+import org.apache.cxf.binding.soap.SoapBindingFactory;
+import org.apache.cxf.service.Service;
+import org.apache.cxf.service.invoker.SimpleMethodInvoker;
+import org.apache.cxf.service.model.InterfaceInfo;
+import org.apache.cxf.service.model.OperationInfo;
+import org.apache.cxf.wsdl.WSDLManager;
+import org.apache.cxf.wsdl11.WSDLManagerImpl;
+import org.apache.hello_world_soap_http.GreeterImpl;
+import org.easymock.IMocksControl;
+
+import static org.easymock.EasyMock.expect;
+import static org.easymock.classextension.EasyMock.createNiceControl;
+
+public class JaxWsServiceFactoryBeanTest extends TestCase {
+    public void testEndpoint() throws Exception {
+        JaxWsServiceFactoryBean bean = new JaxWsServiceFactoryBean();
+        bean.setServiceClass(GreeterImpl.class);
+
+        URL resource = getClass().getResource("/wsdl/hello_world.wsdl");
+        assertNotNull(resource);
+        bean.setWsdlURL(resource);
+
+        Bus bus = createBus();
+        bean.setBus(bus);
+
+        SimpleMethodInvoker invoker = new SimpleMethodInvoker(new GreeterImpl());
+        bean.setInvoker(invoker);
+        
+        Service service = bean.create();
+
+        assertEquals("SOAPService", service.getName().getLocalPart());
+        assertEquals("http://apache.org/hello_world_soap_http", service.getName().getNamespaceURI());
+        
+        InterfaceInfo intf = service.getServiceInfo().getInterface();
+        
+        OperationInfo op = intf.getOperation(
+            new QName("http://apache.org/hello_world_soap_http", "sayHi"));
+        
+        Method m = (Method) op.getProperty(Method.class.getName());
+        assertNotNull(m);
+        assertEquals("sayHi", m.getName());
+        
+        assertEquals(invoker, service.getInvoker());
+    }
+
+    Bus createBus() throws Exception {
+        IMocksControl control = createNiceControl();
+        Bus bus = control.createMock(Bus.class);
+
+        SoapBindingFactory bindingFactory = new SoapBindingFactory();
+        BindingFactoryManager bfm = new BindingFactoryManagerImpl();
+        bfm.registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/", bindingFactory);
+
+        expect(bus.getExtension(BindingFactoryManager.class)).andReturn(bfm).anyTimes();
+
+        WSDLManagerImpl wsdlMan = new WSDLManagerImpl();
+        expect(bus.getExtension(WSDLManager.class)).andReturn(wsdlMan);
+
+        control.replay();
+
+        return bus;
+    }
+}

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/event/EventCacheImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/event/EventProcessorImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/InstrumentationManagerImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/Messages.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/Counter.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/TransportClientCounters.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/TransportServerCounters.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/JMXManagedComponentManager.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/JMXUtils.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/MBServerConnectorFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/Messages.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/export/runtime/ModelMBeanAssembler.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/export/runtime/ModelMBeanInfoSupporter.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/resources/config-metadata/instrumentation-config.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/main/resources/schemas/configuration/instrumentation.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/counters/CountersTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/jmx/JMXManagedComponentManagerTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/jmx/JMXUtilsTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/jmx/MBServerConnectorTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/jmx/export/AnnotationTestInstrumentation.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/jmx/export/ModelMBeanAssemblerTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractWrappedOutputStream.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPDestinationConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPListenerConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyContextInspector.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyContextInspector.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyContextInspector.java (original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyContextInspector.java Fri Aug 25 06:16:36 2006
@@ -1,15 +1,15 @@
-package org.apache.cxf.transport.http;
-
-import org.apache.cxf.endpoint.ContextInspector;
-import org.mortbay.http.HttpContext;
-
-public class JettyContextInspector implements ContextInspector {
-    
-    public String getAddress(Object serverContext) {
-        if (HttpContext.class.isAssignableFrom(serverContext.getClass())) {
-            return ((HttpContext)serverContext).getContextPath();
-        } else {
-            return null;
-        }
-    }
-}
+package org.apache.cxf.transport.http;
+
+import org.apache.cxf.endpoint.ContextInspector;
+import org.mortbay.http.HttpContext;
+
+public class JettyContextInspector implements ContextInspector {
+    
+    public String getAddress(Object serverContext) {
+        if (HttpContext.class.isAssignableFrom(serverContext.getClass())) {
+            return ((HttpContext)serverContext).getContextPath();
+        } else {
+            return null;
+        }
+    }
+}

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyContextInspector.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyContextInspector.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyHTTPDestination.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/JettyHTTPServerEngine.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Messages.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ServerEngine.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/URLConnectionFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/test/java/org/apache/cxf/transport/http/HTTPConduitTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/test/java/org/apache/cxf/transport/http/JettyContextInspectorTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/test/java/org/apache/cxf/transport/http/JettyHTTPDestinationTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/test/java/org/apache/cxf/transport/http/TestHttpRequest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/http/src/test/java/org/apache/cxf/transport/http/TestHttpResponse.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduitConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConstants.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSDestination.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSDestinationConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSProviderHub.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSSessionFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSTransportFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/Messages.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/PooledSession.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/ServiceModelJMSConfigurationProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/main/resources/META-INF/bus-extensions.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSUtilsTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/PooledSessionTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/local/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/local/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/local/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalConduit.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalConduit.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalConduit.java (original)
+++ incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalConduit.java Fri Aug 25 06:16:36 2006
@@ -1,74 +1,74 @@
-package org.apache.cxf.transport.local;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.PipedInputStream;
-import java.io.PipedOutputStream;
-
-import org.apache.cxf.message.Exchange;
-import org.apache.cxf.message.Message;
-import org.apache.cxf.message.MessageImpl;
-import org.apache.cxf.transport.Conduit;
-import org.apache.cxf.transport.Destination;
-import org.apache.cxf.transport.MessageObserver;
-import org.apache.cxf.ws.addressing.EndpointReferenceType;
-
-public class LocalConduit implements Conduit {
-
-    public static final String IN_CONDUIT = LocalConduit.class.getName() + ".inConduit";
-    public static final String IN_EXCHANGE = LocalConduit.class.getName() + ".inExchange";
-
-    private LocalDestination destination;
-    private MessageObserver observer;
-
-    public LocalConduit(LocalDestination destination) {
-        this.destination = destination;
-    }
-
-    public void close(Message msg) throws IOException {
-        msg.getContent(OutputStream.class).close();        
-    }
-    public void close() {
-    }
-
-    public Destination getBackChannel() {
-        return null;
-    }
-
-    public EndpointReferenceType getTarget() {
-        return destination.getAddress();
-    }
-
-    public void send(Message message) throws IOException {
-        final PipedInputStream stream = new PipedInputStream();
-        final LocalConduit conduit = this;
-        final Exchange exchange = message.getExchange();
-        
-        final Runnable receiver = new Runnable() {
-            public void run() {
-                MessageImpl m = new MessageImpl();
-                m.setContent(InputStream.class, stream);
-                m.setDestination(destination);
-                m.put(IN_CONDUIT, conduit);
-                m.put(IN_EXCHANGE, exchange);
-                destination.getMessageObserver().onMessage(m);
-            }
-        };
-
-        final PipedOutputStream outStream = new PipedOutputStream(stream);
-
-        message.setContent(OutputStream.class, outStream);
-
-        // TODO: put on executor
-        new Thread(receiver).start();
-    }
-
-    public void setMessageObserver(MessageObserver o) {
-        this.observer = o;
-    }
-
-    public MessageObserver getMessageObserver() {
-        return observer;
-    }
-}
+package org.apache.cxf.transport.local;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.PipedInputStream;
+import java.io.PipedOutputStream;
+
+import org.apache.cxf.message.Exchange;
+import org.apache.cxf.message.Message;
+import org.apache.cxf.message.MessageImpl;
+import org.apache.cxf.transport.Conduit;
+import org.apache.cxf.transport.Destination;
+import org.apache.cxf.transport.MessageObserver;
+import org.apache.cxf.ws.addressing.EndpointReferenceType;
+
+public class LocalConduit implements Conduit {
+
+    public static final String IN_CONDUIT = LocalConduit.class.getName() + ".inConduit";
+    public static final String IN_EXCHANGE = LocalConduit.class.getName() + ".inExchange";
+
+    private LocalDestination destination;
+    private MessageObserver observer;
+
+    public LocalConduit(LocalDestination destination) {
+        this.destination = destination;
+    }
+
+    public void close(Message msg) throws IOException {
+        msg.getContent(OutputStream.class).close();        
+    }
+    public void close() {
+    }
+
+    public Destination getBackChannel() {
+        return null;
+    }
+
+    public EndpointReferenceType getTarget() {
+        return destination.getAddress();
+    }
+
+    public void send(Message message) throws IOException {
+        final PipedInputStream stream = new PipedInputStream();
+        final LocalConduit conduit = this;
+        final Exchange exchange = message.getExchange();
+        
+        final Runnable receiver = new Runnable() {
+            public void run() {
+                MessageImpl m = new MessageImpl();
+                m.setContent(InputStream.class, stream);
+                m.setDestination(destination);
+                m.put(IN_CONDUIT, conduit);
+                m.put(IN_EXCHANGE, exchange);
+                destination.getMessageObserver().onMessage(m);
+            }
+        };
+
+        final PipedOutputStream outStream = new PipedOutputStream(stream);
+
+        message.setContent(OutputStream.class, outStream);
+
+        // TODO: put on executor
+        new Thread(receiver).start();
+    }
+
+    public void setMessageObserver(MessageObserver o) {
+        this.observer = o;
+    }
+
+    public MessageObserver getMessageObserver() {
+        return observer;
+    }
+}

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalConduit.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalConduit.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalDestination.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalDestination.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalDestination.java (original)
+++ incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalDestination.java Fri Aug 25 06:16:36 2006
@@ -1,97 +1,97 @@
-package org.apache.cxf.transport.local;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.PipedInputStream;
-import java.io.PipedOutputStream;
-
-import org.apache.cxf.message.Exchange;
-import org.apache.cxf.message.Message;
-import org.apache.cxf.message.MessageImpl;
-import org.apache.cxf.transport.Conduit;
-import org.apache.cxf.transport.Destination;
-import org.apache.cxf.transport.MessageObserver;
-import org.apache.cxf.ws.addressing.EndpointReferenceType;
-
-public class LocalDestination implements Destination {
-    private LocalTransportFactory localDestinationFactory;
-    private MessageObserver messageObserver;
-    private EndpointReferenceType epr;
-
-    public LocalDestination(LocalTransportFactory localDestinationFactory, EndpointReferenceType epr) {
-        super();
-        this.localDestinationFactory = localDestinationFactory;
-        this.epr = epr;
-    }
-
-    public EndpointReferenceType getAddress() {
-        return epr;
-    }
-
-    public Conduit getBackChannel(Message inMessage, Message partialResponse, EndpointReferenceType address) {
-        Conduit conduit = (Conduit)inMessage.get(LocalConduit.IN_CONDUIT);
-        if (conduit instanceof LocalConduit) {
-            return new SynchronousConduit((LocalConduit)conduit);
-        }
-        return null;
-    }
-
-    public void shutdown() {
-        localDestinationFactory.remove(this);
-    }
-
-    public void setMessageObserver(MessageObserver observer) {
-        this.messageObserver = observer;
-    }
-
-    public MessageObserver getMessageObserver() {
-        return messageObserver;
-    }
-
-    static class SynchronousConduit implements Conduit {
-        private LocalConduit conduit;
-
-        public SynchronousConduit(LocalConduit conduit) {
-            super();
-            this.conduit = conduit;
-        }
-        public void close(Message msg) throws IOException {
-            msg.getContent(OutputStream.class).close();        
-        }
-
-        public void close() {
-        }
-
-        public Destination getBackChannel() {
-            return null;
-        }
-
-        public EndpointReferenceType getTarget() {
-            return null;
-        }
-
-        public void send(Message message) throws IOException {
-
-            final PipedInputStream stream = new PipedInputStream();
-            final Exchange exchange = (Exchange)message.get(LocalConduit.IN_EXCHANGE);
-
-            final Runnable receiver = new Runnable() {
-                public void run() {
-                    MessageImpl m = new MessageImpl();
-                    m.setExchange(exchange);
-                    m.setContent(InputStream.class, stream);
-                    conduit.getMessageObserver().onMessage(m);
-                }
-            };
-
-            PipedOutputStream outStream = new PipedOutputStream(stream);
-            message.setContent(OutputStream.class, outStream);
-
-            new Thread(receiver).start();
-        }
-
-        public void setMessageObserver(MessageObserver observer) {
-        }
-    }
-}
+package org.apache.cxf.transport.local;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.PipedInputStream;
+import java.io.PipedOutputStream;
+
+import org.apache.cxf.message.Exchange;
+import org.apache.cxf.message.Message;
+import org.apache.cxf.message.MessageImpl;
+import org.apache.cxf.transport.Conduit;
+import org.apache.cxf.transport.Destination;
+import org.apache.cxf.transport.MessageObserver;
+import org.apache.cxf.ws.addressing.EndpointReferenceType;
+
+public class LocalDestination implements Destination {
+    private LocalTransportFactory localDestinationFactory;
+    private MessageObserver messageObserver;
+    private EndpointReferenceType epr;
+
+    public LocalDestination(LocalTransportFactory localDestinationFactory, EndpointReferenceType epr) {
+        super();
+        this.localDestinationFactory = localDestinationFactory;
+        this.epr = epr;
+    }
+
+    public EndpointReferenceType getAddress() {
+        return epr;
+    }
+
+    public Conduit getBackChannel(Message inMessage, Message partialResponse, EndpointReferenceType address) {
+        Conduit conduit = (Conduit)inMessage.get(LocalConduit.IN_CONDUIT);
+        if (conduit instanceof LocalConduit) {
+            return new SynchronousConduit((LocalConduit)conduit);
+        }
+        return null;
+    }
+
+    public void shutdown() {
+        localDestinationFactory.remove(this);
+    }
+
+    public void setMessageObserver(MessageObserver observer) {
+        this.messageObserver = observer;
+    }
+
+    public MessageObserver getMessageObserver() {
+        return messageObserver;
+    }
+
+    static class SynchronousConduit implements Conduit {
+        private LocalConduit conduit;
+
+        public SynchronousConduit(LocalConduit conduit) {
+            super();
+            this.conduit = conduit;
+        }
+        public void close(Message msg) throws IOException {
+            msg.getContent(OutputStream.class).close();        
+        }
+
+        public void close() {
+        }
+
+        public Destination getBackChannel() {
+            return null;
+        }
+
+        public EndpointReferenceType getTarget() {
+            return null;
+        }
+
+        public void send(Message message) throws IOException {
+
+            final PipedInputStream stream = new PipedInputStream();
+            final Exchange exchange = (Exchange)message.get(LocalConduit.IN_EXCHANGE);
+
+            final Runnable receiver = new Runnable() {
+                public void run() {
+                    MessageImpl m = new MessageImpl();
+                    m.setExchange(exchange);
+                    m.setContent(InputStream.class, stream);
+                    conduit.getMessageObserver().onMessage(m);
+                }
+            };
+
+            PipedOutputStream outStream = new PipedOutputStream(stream);
+            message.setContent(OutputStream.class, outStream);
+
+            new Thread(receiver).start();
+        }
+
+        public void setMessageObserver(MessageObserver observer) {
+        }
+    }
+}

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalDestination.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalDestination.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java (original)
+++ incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java Fri Aug 25 06:16:36 2006
@@ -1,63 +1,63 @@
-package org.apache.cxf.transport.local;
-
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.logging.Logger;
-
-import org.apache.cxf.service.model.EndpointInfo;
-import org.apache.cxf.transport.Conduit;
-import org.apache.cxf.transport.ConduitInitiator;
-import org.apache.cxf.transport.Destination;
-import org.apache.cxf.transport.DestinationFactory;
-import org.apache.cxf.ws.addressing.AttributedURIType;
-import org.apache.cxf.ws.addressing.EndpointReferenceType;
-
-public class LocalTransportFactory implements DestinationFactory, ConduitInitiator {
-   
-    public static final String TRANSPORT_ID = "http://cxf.apache.org/local-transport";
-    
-    private static final Logger LOG = Logger.getLogger(LocalTransportFactory.class.getName());
-    
-    private Map<String, Destination> destinations = new HashMap<String, Destination>();
-
-    
-    public Destination getDestination(EndpointInfo ei) throws IOException {
-        return getDestination(createReference(ei));
-    }
-
-    public Destination getDestination(EndpointReferenceType reference) throws IOException {
-        Destination d = destinations.get(reference.getAddress().getValue());
-        if (d == null) {
-            d = createDestination(reference);
-            destinations.put(reference.getAddress().getValue(), d);
-        }
-        return d;
-    }
-
-    private Destination createDestination(EndpointReferenceType reference) {
-        LOG.info("Creating destination for address " + reference.getAddress().getValue());
-        return new LocalDestination(this, reference);
-    }
-
-    void remove(LocalDestination destination) {
-        destinations.remove(destination);
-    }
-
-    public Conduit getConduit(EndpointInfo ei) throws IOException {
-        return new LocalConduit((LocalDestination)getDestination(createReference(ei)));
-    }
-
-    public Conduit getConduit(EndpointInfo ei, EndpointReferenceType target) throws IOException {
-        return new LocalConduit((LocalDestination)getDestination(target));
-    }
-
-    EndpointReferenceType createReference(EndpointInfo ei) {
-        EndpointReferenceType epr = new EndpointReferenceType();
-        AttributedURIType address = new AttributedURIType();
-        address.setValue(ei.getAddress());
-        epr.setAddress(address);
-        return epr;
-    }
-
-}
+package org.apache.cxf.transport.local;
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.logging.Logger;
+
+import org.apache.cxf.service.model.EndpointInfo;
+import org.apache.cxf.transport.Conduit;
+import org.apache.cxf.transport.ConduitInitiator;
+import org.apache.cxf.transport.Destination;
+import org.apache.cxf.transport.DestinationFactory;
+import org.apache.cxf.ws.addressing.AttributedURIType;
+import org.apache.cxf.ws.addressing.EndpointReferenceType;
+
+public class LocalTransportFactory implements DestinationFactory, ConduitInitiator {
+   
+    public static final String TRANSPORT_ID = "http://cxf.apache.org/local-transport";
+    
+    private static final Logger LOG = Logger.getLogger(LocalTransportFactory.class.getName());
+    
+    private Map<String, Destination> destinations = new HashMap<String, Destination>();
+
+    
+    public Destination getDestination(EndpointInfo ei) throws IOException {
+        return getDestination(createReference(ei));
+    }
+
+    public Destination getDestination(EndpointReferenceType reference) throws IOException {
+        Destination d = destinations.get(reference.getAddress().getValue());
+        if (d == null) {
+            d = createDestination(reference);
+            destinations.put(reference.getAddress().getValue(), d);
+        }
+        return d;
+    }
+
+    private Destination createDestination(EndpointReferenceType reference) {
+        LOG.info("Creating destination for address " + reference.getAddress().getValue());
+        return new LocalDestination(this, reference);
+    }
+
+    void remove(LocalDestination destination) {
+        destinations.remove(destination);
+    }
+
+    public Conduit getConduit(EndpointInfo ei) throws IOException {
+        return new LocalConduit((LocalDestination)getDestination(createReference(ei)));
+    }
+
+    public Conduit getConduit(EndpointInfo ei, EndpointReferenceType target) throws IOException {
+        return new LocalConduit((LocalDestination)getDestination(target));
+    }
+
+    EndpointReferenceType createReference(EndpointInfo ei) {
+        EndpointReferenceType epr = new EndpointReferenceType();
+        AttributedURIType address = new AttributedURIType();
+        address.setValue(ei.getAddress());
+        epr.setAddress(address);
+        return epr;
+    }
+
+}

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/Messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/Messages.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/transports/local/src/main/java/org/apache/cxf/transport/local/Messages.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/cxf/trunk/rt/transports/local/src/test/java/org/apache/cxf/transport/local/LocalTransportFactoryTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/local/src/test/java/org/apache/cxf/transport/local/LocalTransportFactoryTest.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/local/src/test/java/org/apache/cxf/transport/local/LocalTransportFactoryTest.java (original)
+++ incubator/cxf/trunk/rt/transports/local/src/test/java/org/apache/cxf/transport/local/LocalTransportFactoryTest.java Fri Aug 25 06:16:36 2006
@@ -1,110 +1,110 @@
-package org.apache.cxf.transport.local;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-
-import junit.framework.TestCase;
-
-import org.apache.cxf.message.Message;
-import org.apache.cxf.message.MessageImpl;
-import org.apache.cxf.service.model.EndpointInfo;
-import org.apache.cxf.transport.Conduit;
-import org.apache.cxf.transport.Destination;
-import org.apache.cxf.transport.MessageObserver;
-import org.xmlsoap.schemas.wsdl.http.AddressType;
-
-public class LocalTransportFactoryTest extends TestCase {
-    public void testTransportFactory() throws Exception {
-        LocalTransportFactory factory = new LocalTransportFactory();
-        
-        EndpointInfo ei = new EndpointInfo(null, "http://schemas.xmlsoap.org/soap/http");
-        AddressType a = new AddressType();
-        a.setLocation("http://localhost/test");
-        ei.addExtensor(a);
-
-        Destination d = factory.getDestination(ei);
-        d.setMessageObserver(new EchoObserver());
-        
-        
-        Conduit conduit = factory.getConduit(ei);
-        TestMessageObserver obs = new TestMessageObserver();
-        conduit.setMessageObserver(obs);
-        
-        Message m = new MessageImpl();
-        conduit.send(m);
-
-        OutputStream out = m.getContent(OutputStream.class);
-        out.write("hello".getBytes());
-        out.close();
-
-        
-        assertEquals("hello", obs.getResponseStream().toString());
-    }
-
-    static class EchoObserver implements MessageObserver {
-
-        public void onMessage(Message message) {
-            try {
-                Conduit backChannel = message.getDestination().getBackChannel(message, null, null);
-
-                backChannel.send(message);
-
-                OutputStream out = message.getContent(OutputStream.class);
-                assertNotNull(out);
-                InputStream in = message.getContent(InputStream.class);
-                assertNotNull(in);
-                
-                copy(in, out, 1024);
-
-                out.close();
-                in.close();
-            } catch (Exception e) {
-                e.printStackTrace();
-            }
-        }
-    }
-
-    private static void copy(final InputStream input, final OutputStream output, final int bufferSize)
-        throws IOException {
-        try {
-            final byte[] buffer = new byte[bufferSize];
-
-            int n = input.read(buffer);
-            while (-1 != n) {
-                output.write(buffer, 0, n);
-                n = input.read(buffer);
-            }
-        } finally {
-            input.close();
-            output.close();
-        }
-    }
-    
-    
-    class TestMessageObserver implements MessageObserver {
-        ByteArrayOutputStream response = new ByteArrayOutputStream();
-        boolean written;
-        
-        public synchronized ByteArrayOutputStream getResponseStream() throws Exception {
-            if (!written) {
-                wait();
-            }
-            return response;
-        }
-        
-
-        public synchronized void onMessage(Message message) {
-            try {
-                copy(message.getContent(InputStream.class), response, 1024);
-            } catch (IOException e) {
-                e.printStackTrace();
-                fail();
-            } finally {
-                written = true;
-                notifyAll();
-            }
-        }
-    }
-}
+package org.apache.cxf.transport.local;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import junit.framework.TestCase;
+
+import org.apache.cxf.message.Message;
+import org.apache.cxf.message.MessageImpl;
+import org.apache.cxf.service.model.EndpointInfo;
+import org.apache.cxf.transport.Conduit;
+import org.apache.cxf.transport.Destination;
+import org.apache.cxf.transport.MessageObserver;
+import org.xmlsoap.schemas.wsdl.http.AddressType;
+
+public class LocalTransportFactoryTest extends TestCase {
+    public void testTransportFactory() throws Exception {
+        LocalTransportFactory factory = new LocalTransportFactory();
+        
+        EndpointInfo ei = new EndpointInfo(null, "http://schemas.xmlsoap.org/soap/http");
+        AddressType a = new AddressType();
+        a.setLocation("http://localhost/test");
+        ei.addExtensor(a);
+
+        Destination d = factory.getDestination(ei);
+        d.setMessageObserver(new EchoObserver());
+        
+        
+        Conduit conduit = factory.getConduit(ei);
+        TestMessageObserver obs = new TestMessageObserver();
+        conduit.setMessageObserver(obs);
+        
+        Message m = new MessageImpl();
+        conduit.send(m);
+
+        OutputStream out = m.getContent(OutputStream.class);
+        out.write("hello".getBytes());
+        out.close();
+
+        
+        assertEquals("hello", obs.getResponseStream().toString());
+    }
+
+    static class EchoObserver implements MessageObserver {
+
+        public void onMessage(Message message) {
+            try {
+                Conduit backChannel = message.getDestination().getBackChannel(message, null, null);
+
+                backChannel.send(message);
+
+                OutputStream out = message.getContent(OutputStream.class);
+                assertNotNull(out);
+                InputStream in = message.getContent(InputStream.class);
+                assertNotNull(in);
+                
+                copy(in, out, 1024);
+
+                out.close();
+                in.close();
+            } catch (Exception e) {
+                e.printStackTrace();
+            }
+        }
+    }
+
+    private static void copy(final InputStream input, final OutputStream output, final int bufferSize)
+        throws IOException {
+        try {
+            final byte[] buffer = new byte[bufferSize];
+
+            int n = input.read(buffer);
+            while (-1 != n) {
+                output.write(buffer, 0, n);
+                n = input.read(buffer);
+            }
+        } finally {
+            input.close();
+            output.close();
+        }
+    }
+    
+    
+    class TestMessageObserver implements MessageObserver {
+        ByteArrayOutputStream response = new ByteArrayOutputStream();
+        boolean written;
+        
+        public synchronized ByteArrayOutputStream getResponseStream() throws Exception {
+            if (!written) {
+                wait();
+            }
+            return response;
+        }
+        
+
+        public synchronized void onMessage(Message message) {
+            try {
+                copy(message.getContent(InputStream.class), response, 1024);
+            } catch (IOException e) {
+                e.printStackTrace();
+                fail();
+            } finally {
+                written = true;
+                notifyAll();
+            }
+        }
+    }
+}

Propchange: incubator/cxf/trunk/rt/transports/local/src/test/java/org/apache/cxf/transport/local/LocalTransportFactoryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/transports/local/src/test/java/org/apache/cxf/transport/local/LocalTransportFactoryTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/GreeterMessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/GreeterMessage.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/GreeterMessage.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/GreeterTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/GreeterTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/common/ClientServerSetupBase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/common/ClientServerTestBase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/common/TestServerBase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/AbstractClientServerSetupBase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/AbstractTestServerBase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/TestUtil.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnnotatedGreeterImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnnotatedGreeterNoOverloadImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnotherDerivedGreeterImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnotherDerivedGreeterImpl.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnotherDerivedGreeterImpl.java (original)
+++ incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnotherDerivedGreeterImpl.java Fri Aug 25 06:16:36 2006
@@ -1,145 +1,145 @@
-package org.apache.hello_world_soap_http;
-
-import java.rmi.RemoteException;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.concurrent.Future;
-import java.util.logging.Logger;
-
-import javax.xml.ws.AsyncHandler;
-import javax.xml.ws.Response;
-
-import org.apache.hello_world_soap_http.types.BareDocumentResponse;
-import org.apache.hello_world_soap_http.types.GreetMeResponse;
-import org.apache.hello_world_soap_http.types.GreetMeSometimeResponse;
-import org.apache.hello_world_soap_http.types.SayHiResponse;
-import org.apache.hello_world_soap_http.types.TestDocLitFaultResponse;
-
-
-@javax.jws.WebService(endpointInterface = "org.apache.hello_world_soap_http.Greeter")
-public class AnotherDerivedGreeterImpl implements GreeterEndpointInterface {
-
-    private static final Logger LOG =
-        Logger.getLogger(DerivedGreeterImpl.class.getName());
-    private final Map<String, Integer> invocationCount = new HashMap<String, Integer>();
-
-    public AnotherDerivedGreeterImpl() {
-        invocationCount.put("sayHi", 0);
-        invocationCount.put("greetMe", 0);
-        invocationCount.put("greetMeOneWay", 0);
-        invocationCount.put("overloadedSayHi", 0);
-    }
-
-    public int getInvocationCount(String method) {
-        if (invocationCount.containsKey(method)) {
-            return invocationCount.get(method).intValue();
-        } else {
-            System.out.println("No invocation count for method: " + method);
-            return 0;
-        }
-    }
-
-    /**
-     * overloaded method - present for test purposes
-     */
-    public String sayHi(String me) throws RemoteException {
-        incrementInvocationCount("overloadedSayHi");
-        return "Hi " + me + "!";
-    }
-
-    @javax.jws.WebMethod(operationName = "sayHi")
-    /*
-     * @javax.jws.WebResult(name="responseType",
-     * targetNamespace="http://apache.org/hello_world_soap_http")
-     */
-    public String sayHi() {
-        incrementInvocationCount("sayHi");
-        return "Hi";
-    }
-
-    public void testDocLitFault(String faultType)  throws BadRecordLitFault, NoSuchCodeLitFault {
-    }
-
-    public Response<TestDocLitFaultResponse> testDocLitFaultAsync(String faultType) {
-        return null;
-        /*not called */
-    }
-
-    public Response<TestDocLitFaultResponse> testDocLitFaultAsync(String faultType,
-                                                                  AsyncHandler<TestDocLitFaultResponse> ah) {
-        return null;
-        /*not called */
-    }
-
-
-    public String greetMe(String me) {
-        incrementInvocationCount("greetMe");
-        return "Bonjour " + me + "!";
-    }
-
-    public String greetMeSometime(String me) {
-        incrementInvocationCount("greetMeSometime");
-        return "Hello there " + me + "!";
-    }
-
-    public Future<?>  greetMeSometimeAsync(String requestType,
-                                           AsyncHandler<GreetMeSometimeResponse> asyncHandler) {
-        return null;
-        /* to be implemented */
-    }
-
-    public Response<GreetMeSometimeResponse> greetMeSometimeAsync(String requestType) {
-        return null;
-        /* to be implemented */
-    }
-
-    public Future<?> greetMeAsync(String requestType, AsyncHandler<GreetMeResponse> asyncHandler) {
-        return null;
-        /*not called */
-    }
-
-    public Response<GreetMeResponse> greetMeAsync(String requestType) {
-        return null;
-        /*not called */
-    }
-
-    public Future<?> sayHiAsync(AsyncHandler<SayHiResponse> asyncHandler) {
-        return null;
-        /*not called */
-    }
-
-    public Response<SayHiResponse> sayHiAsync() {
-        return null;
-        /*not called */
-    }
-
-    public Future<?> testDocLitBareAsync(String in, AsyncHandler<BareDocumentResponse> asyncHandler) {
-        return null;
-        /*not called */
-    }
-
-    public Response<BareDocumentResponse> testDocLitBareAsync(String in) {
-        return null;
-        /*not called */
-    }
-
-    public void greetMeOneWay(String me) {
-        incrementInvocationCount("greetMeOneWay");
-    }
-
-    public BareDocumentResponse testDocLitBare(String in) {
-        incrementInvocationCount("testDocLitBare");
-        BareDocumentResponse res = new BareDocumentResponse();
-        res.setCompany("CXF");
-        res.setId(1);
-        return res;
-    }
-
-    private void incrementInvocationCount(String method) {
-        LOG.info("Executing " + method);
-        int n = invocationCount.get(method);
-        invocationCount.put(method, n + 1);
-    }
-
-}
-
+package org.apache.hello_world_soap_http;
+
+import java.rmi.RemoteException;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.concurrent.Future;
+import java.util.logging.Logger;
+
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
+
+import org.apache.hello_world_soap_http.types.BareDocumentResponse;
+import org.apache.hello_world_soap_http.types.GreetMeResponse;
+import org.apache.hello_world_soap_http.types.GreetMeSometimeResponse;
+import org.apache.hello_world_soap_http.types.SayHiResponse;
+import org.apache.hello_world_soap_http.types.TestDocLitFaultResponse;
+
+
+@javax.jws.WebService(endpointInterface = "org.apache.hello_world_soap_http.Greeter")
+public class AnotherDerivedGreeterImpl implements GreeterEndpointInterface {
+
+    private static final Logger LOG =
+        Logger.getLogger(DerivedGreeterImpl.class.getName());
+    private final Map<String, Integer> invocationCount = new HashMap<String, Integer>();
+
+    public AnotherDerivedGreeterImpl() {
+        invocationCount.put("sayHi", 0);
+        invocationCount.put("greetMe", 0);
+        invocationCount.put("greetMeOneWay", 0);
+        invocationCount.put("overloadedSayHi", 0);
+    }
+
+    public int getInvocationCount(String method) {
+        if (invocationCount.containsKey(method)) {
+            return invocationCount.get(method).intValue();
+        } else {
+            System.out.println("No invocation count for method: " + method);
+            return 0;
+        }
+    }
+
+    /**
+     * overloaded method - present for test purposes
+     */
+    public String sayHi(String me) throws RemoteException {
+        incrementInvocationCount("overloadedSayHi");
+        return "Hi " + me + "!";
+    }
+
+    @javax.jws.WebMethod(operationName = "sayHi")
+    /*
+     * @javax.jws.WebResult(name="responseType",
+     * targetNamespace="http://apache.org/hello_world_soap_http")
+     */
+    public String sayHi() {
+        incrementInvocationCount("sayHi");
+        return "Hi";
+    }
+
+    public void testDocLitFault(String faultType)  throws BadRecordLitFault, NoSuchCodeLitFault {
+    }
+
+    public Response<TestDocLitFaultResponse> testDocLitFaultAsync(String faultType) {
+        return null;
+        /*not called */
+    }
+
+    public Response<TestDocLitFaultResponse> testDocLitFaultAsync(String faultType,
+                                                                  AsyncHandler<TestDocLitFaultResponse> ah) {
+        return null;
+        /*not called */
+    }
+
+
+    public String greetMe(String me) {
+        incrementInvocationCount("greetMe");
+        return "Bonjour " + me + "!";
+    }
+
+    public String greetMeSometime(String me) {
+        incrementInvocationCount("greetMeSometime");
+        return "Hello there " + me + "!";
+    }
+
+    public Future<?>  greetMeSometimeAsync(String requestType,
+                                           AsyncHandler<GreetMeSometimeResponse> asyncHandler) {
+        return null;
+        /* to be implemented */
+    }
+
+    public Response<GreetMeSometimeResponse> greetMeSometimeAsync(String requestType) {
+        return null;
+        /* to be implemented */
+    }
+
+    public Future<?> greetMeAsync(String requestType, AsyncHandler<GreetMeResponse> asyncHandler) {
+        return null;
+        /*not called */
+    }
+
+    public Response<GreetMeResponse> greetMeAsync(String requestType) {
+        return null;
+        /*not called */
+    }
+
+    public Future<?> sayHiAsync(AsyncHandler<SayHiResponse> asyncHandler) {
+        return null;
+        /*not called */
+    }
+
+    public Response<SayHiResponse> sayHiAsync() {
+        return null;
+        /*not called */
+    }
+
+    public Future<?> testDocLitBareAsync(String in, AsyncHandler<BareDocumentResponse> asyncHandler) {
+        return null;
+        /*not called */
+    }
+
+    public Response<BareDocumentResponse> testDocLitBareAsync(String in) {
+        return null;
+        /*not called */
+    }
+
+    public void greetMeOneWay(String me) {
+        incrementInvocationCount("greetMeOneWay");
+    }
+
+    public BareDocumentResponse testDocLitBare(String in) {
+        incrementInvocationCount("testDocLitBare");
+        BareDocumentResponse res = new BareDocumentResponse();
+        res.setCompany("CXF");
+        res.setId(1);
+        return res;
+    }
+
+    private void incrementInvocationCount(String method) {
+        LOG.info("Executing " + method);
+        int n = invocationCount.get(method);
+        invocationCount.put(method, n + 1);
+    }
+
+}
+

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnotherDerivedGreeterImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/AnotherDerivedGreeterImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/DerivedGreeterImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/DocLitBareImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterEndpointInterface.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterEndpointInterface.java?rev=436785&r1=436784&r2=436785&view=diff
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterEndpointInterface.java (original)
+++ incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterEndpointInterface.java Fri Aug 25 06:16:36 2006
@@ -1,9 +1,9 @@
-package org.apache.hello_world_soap_http;
-
-@javax.jws.WebService(name = "Greeter",
-                      serviceName = "SOAPService",
-                      targetNamespace = "http://apache.org/hello_world_soap_http")
-
-public interface GreeterEndpointInterface extends Greeter {
-
-}
+package org.apache.hello_world_soap_http;
+
+@javax.jws.WebService(name = "Greeter",
+                      serviceName = "SOAPService",
+                      targetNamespace = "http://apache.org/hello_world_soap_http")
+
+public interface GreeterEndpointInterface extends Greeter {
+
+}

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterEndpointInterface.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterEndpointInterface.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/HWSoapMessageProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/HWSourcePayloadProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/HelloWorldServiceProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/NotAnnotatedGreeterImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/NotAnnotatedGreeterImplRPCLit.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/NotAnnotatedProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/handlers.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/handlers.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/handlers.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/cxf/trunk/testutils/src/main/resources/wsdl/Invoice.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/resources/wsdl/InvoiceServer.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/resources/wsdl/async_binding.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/testutils/src/main/resources/wsdl/attachment_types.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date