Package org.codehaus.xfire.test

Examples of org.codehaus.xfire.test.Echo


        factory = new XFireClientFactoryBean();
        factory.setServiceInterface(Echo.class);
        factory.setWsdlDocumentUrl("http://localhost:8191/Echo?wsdl");
        factory.afterPropertiesSet();
       
        Echo echo = (Echo) factory.getObject();
        assertEquals("hi", echo.echo("hi"));
       
        server.stop();
    }
View Full Code Here


        factory = new XFireClientFactoryBean();
        factory.setServiceInterface(Echo.class);
        factory.setWsdlDocumentUrl("http://localhost:8191/Echo?wsdl");
        factory.afterPropertiesSet();
       
        Echo echo = (Echo) factory.getObject();
        assertEquals("hi", echo.echo("hi"));
       
        server.stop();
    }
View Full Code Here

   
    public void testClient()
        throws Exception
    {
        XFireProxyFactory xpf = new XFireProxyFactory(getXFire());
        Echo echo = (Echo) xpf.create(service, "xfire.local://Echo");
       
        assertEquals("hi", echo.echo("hi"));
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.test.Echo

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.