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

Examples of org.codehaus.xfire.aegis.inheritance.ws1.WS1ExtendedException


        return beans;
    }

    public void throwException(boolean extendedOne) throws WS1Exception {
        if (extendedOne) {
            throw new WS1ExtendedException("WS1 extended exception",
                                             20, 30,
                                             new SimpleBean());
        } else {
            throw new WS1Exception("WS1 base exception", 10);
        }
View Full Code Here


        return beans;
    }

    public void throwException(boolean extendedOne) throws WS1Exception {
        if (extendedOne) {
            throw new WS1ExtendedException("WS1 extended exception",
                                             20, 30,
                                             new SimpleBean());
        } else {
            throw new WS1Exception("WS1 base exception", 10);
        }
View Full Code Here

        return beans;
    }

    public void throwException(boolean extendedOne) throws WS1Exception {
        if (extendedOne) {
            throw new WS1ExtendedException("WS1 extended exception",
                                             20, 30,
                                             new SimpleBean());
        } else {
            throw new WS1Exception("WS1 base exception", 10);
        }
View Full Code Here

        return beans;
    }

    public void throwException(boolean extendedOne) throws WS1Exception {
        if (extendedOne) {
            throw new WS1ExtendedException("WS1 extended exception",
                                             20, 30,
                                             new SimpleBean());
        } else {
            throw new WS1Exception("WS1 base exception", 10);
        }
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.WS1ExtendedException

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.