Package org.apache.tuscany.sca.binding.sca.jaxb.iface

Examples of org.apache.tuscany.sca.binding.sca.jaxb.iface.GuessAndGreetDisableWrapped


*/
 
    @Ignore
    @Test
    public void testGetGreetings() throws Exception {
        GuessAndGreetDisableWrapped service = SCAClientFactory.newInstance(URI.create("default")).getService(GuessAndGreetDisableWrapped.class, "GuessAndGreetComponent");
        SendGuessAndName parameters = new SendGuessAndName();

        parameters.setGuess(1);
        parameters.setName("Petra");
        parameters.setPerson(null);
       
        SendGuessAndNameResponse response = service.sendGuessAndName(parameters);
       
        assertEquals("Petra", response.getPerson().getFirstName());
        assertEquals("Winnder!", response.getPerson().getGreeting());
        assertEquals(null, response.getPerson().getChild());
    }
View Full Code Here


    }
   
    @Ignore
    @Test
    public void testGetGreetingsComplex() throws Exception {       
        GuessAndGreetDisableWrapped service = SCAClientFactory.newInstance(URI.create("default")).getService(GuessAndGreetDisableWrapped.class, "GuessAndGreetComponent");

   
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.binding.sca.jaxb.iface.GuessAndGreetDisableWrapped

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.