Package org.codehaus.xfire.aegis.inheritance.ws1.impl

Examples of org.codehaus.xfire.aegis.inheritance.ws1.impl.WS1Impl


        pf.setAddress("local://WS1");
        pf.setProperties(props);

        client = pf.create(WS1.class);

        Server server = createService(WS1.class, new WS1Impl(), "WS1", binding);
        new LoggingFeature().initialize(server, null);
        server.getEndpoint().getService().setInvoker(new BeanInvoker(new WS1Impl()));
    }
View Full Code Here


        pf.setAddress("local://WS1");
        pf.setProperties(props);
       
        client = (WS1) pf.create();

        Server server = createService(WS1.class, new WS1Impl(), "WS1", null);
        new LoggingFeature().initialize(server, null);
        server.getEndpoint().getService().setInvoker(new BeanInvoker(new WS1Impl()));
    }
View Full Code Here

        pf.setAddress("local://WS1");
        pf.setProperties(props);
       
        client = (WS1) pf.create();

        Server server = createService(WS1.class, new WS1Impl(), "WS1", binding);
        new LoggingFeature().initialize(server, null);
        server.getEndpoint().getService().setInvoker(new BeanInvoker(new WS1Impl()));
    }
View Full Code Here

        pf.setAddress("local://WS1");
        pf.setProperties(props);

        client = pf.create(WS1.class);

        Server server = createService(WS1.class, new WS1Impl(), "WS1", binding);
        new LoggingFeature().initialize(server, null);
        server.getEndpoint().getService().setInvoker(new BeanInvoker(new WS1Impl()));
    }
View Full Code Here

//        assertEquals(m_localWS1.getResultBean(), m_remoteWS1.getResultBean());
    }

    public void testMapInheritance()
    {
        BeanA beanA = new BeanA();
        BeanB beanB = new BeanB();
       
        Map m = new HashMap();
        m.put(beanA, beanB);
       
View Full Code Here

public class WS1Impl
    implements WS1
{
    public BeanA getBeanA()
    {
        BeanA a = new BeanA();
        a.setPropA("valueA");
        return a;
    }
View Full Code Here

*
* @author xfournet
*/
public class WS1Impl implements WS1 {
    public BeanA getBeanA() {
        BeanA a = new BeanA();
        a.setPropA("valueA");
        return a;
    }
View Full Code Here

    public void testNonExplicitInheritance()
    {
        assertEquals(m_localWS1.getBean("a"), m_localWS1.getBean("a"));
        assertEquals(m_localWS1.getBean("a"), m_remoteWS1.getBean("a"));
        assertEquals(new BeanB(), new BeanB());
        assertEquals(m_localWS1.getBean("b"), m_localWS1.getBean("b"));
        assertEquals(m_localWS1.getBean("b"), m_remoteWS1.getBean("b"));
        assertEquals(m_localWS1.getBean("c"), m_remoteWS1.getBean("c"));
        assertEquals(m_localWS1.getBean("d"), m_remoteWS1.getBean("d"));
    }
View Full Code Here

    }

    public void testMapInheritance()
    {
        BeanA beanA = new BeanA();
        BeanB beanB = new BeanB();
       
        Map m = new HashMap();
        m.put(beanA, beanB);
       
        Map response = m_remoteWS1.echoMap(m);
View Full Code Here

        return a;
    }

    public BeanB getBeanB()
    {
        BeanB b = new BeanB();
        b.setPropA("valueA");
        b.setPropB("valueB");
        return b;
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.aegis.inheritance.ws1.impl.WS1Impl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.