Package helloworld

Examples of helloworld.HelloWorldService


        }

    }

    public void testServiceCall() throws IOException {
        HelloWorldService helloWorldService_one =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService");
        assertNotNull(helloWorldService_one);

        assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith"));

    }
View Full Code Here


        }

    }

    public void testServiceCall() throws IOException {
        HelloWorldService helloWorldService_one =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService");
        assertNotNull(helloWorldService_one);

        assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith"));

    }
View Full Code Here

        // System.out.println(url);
        return url;
    }

    public void testServiceCall() throws IOException {
        HelloWorldService helloWorldService =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent/HelloWorldService");
        assertNotNull(helloWorldService);

        assertEquals("Hello Smith", helloWorldService.getGreetings("Smith"));
    }
View Full Code Here

    }

    @Test
    public void testReference() throws MalformedURLException, IOException {
       
        HelloWorldService client = node.getService(HelloWorldService.class, "HelloWorldClient/HelloWorldService/sca");

        Assert.assertEquals("Hello beate", client.sayHello("beate"));
        Assert.assertEquals("Hello beate arnold", client.sayHello2("beate", "arnold"));
        Assert.assertEquals(0, client.sayHello4(true));
    }
View Full Code Here

    }
   
    @Test
    public void testComplexParams() throws MalformedURLException, IOException {
       
        HelloWorldService client = node.getService(HelloWorldService.class, "HelloWorldClient/HelloWorldService/sca");

        BeanA bean = new BeanA();
        bean.setB(true);
        bean.setS("Fred");
        bean.setX(2);
        bean.setX(5);

        Assert.assertEquals("XYZ", client.sayHello3(bean).getS());
   
View Full Code Here

            //domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService");
        //assertNotNull(helloWorldService_one);

        //assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith"));

        HelloWorldService helloWorldService_two =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_two/HelloWorldService");
        assertNotNull(helloWorldService_two);

        assertEquals("Hello Smith", helloWorldService_two.getGreetings("Smith"));
       
    }
View Full Code Here

        domain.getCompositeActivator().start(domain.getDomainComposite());

    }

    public void testServiceCall() throws IOException {
        HelloWorldService helloWorldService_one =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService");
        assertNotNull(helloWorldService_one);

        assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith"));

        HelloWorldService helloWorldService_two =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_two/HelloWorldService");
        assertNotNull(helloWorldService_two);

        assertEquals("Hello Smith", helloWorldService_two.getGreetings("Smith"));
       
    }
View Full Code Here

        }

    }

    public void testServiceCall() throws IOException {
        HelloWorldService helloWorldService_one =
            domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService");
        assertNotNull(helloWorldService_one);

        assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith"));

    }
View Full Code Here

    private static SCADomain domain;

    @Test
    public void testClient1a2a3a4a() {
        HelloWorldService client = domain.getService(HelloWorldService.class, "Client1a2a3a4a");
        assertEquals("Hi petra", client.getGreetings("petra"));
    }
View Full Code Here

        assertEquals("Hi petra", client.getGreetings("petra"));
    }

    @Test
    public void testClient1a2a3a4b() {
        HelloWorldService client = domain.getService(HelloWorldService.class, "Client1a2a3a4b");
        assertEquals("Hi petra", client.getGreetings("petra"));
    }
View Full Code Here

TOP

Related Classes of helloworld.HelloWorldService

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.