Package org.oasisopen.sca.client

Examples of org.oasisopen.sca.client.SCAClient


        assertEquals("Hi Hello Petra", client.sayHello("Petra"));
    }

    @Test
    public void testCalculatorClientAPI() throws Exception {
        SCAClient scaClient = SCAClientFactory.newInstance();
        Helloworld service = scaClient.getService(Helloworld.class, "HelloworldService", null);
        assertNotNull(service);
        assertEquals("Hello Petra", service.sayHello("Petra"));

        Helloworld client = scaClient.getService(Helloworld.class, "HelloworldClient", null);
        assertNotNull(client);
        assertEquals("Hi Hello Petra", client.sayHello("Petra"));
    }
View Full Code Here

TOP

Related Classes of org.oasisopen.sca.client.SCAClient

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.