Package org.apache.tuscany.sca.vtest.wsbinding.nowsdl.soapversion

Examples of org.apache.tuscany.sca.vtest.wsbinding.nowsdl.soapversion.AService


     */
    @Test
    public void testSoapVersion2() throws Exception {
     
      for (int i = 8; i < 16; i++) {
        AService a = ServiceFinder.getService(AService.class, "AComponent" + (i+1));
          String aName = a.getName();
          String b1Str1 = a.getB1String("string1");
          String b1Str2 = a.getB1String2("string2", "string3");
          int b1Int = a.getB1Int(i * 1000 + 1000);
            System.out.println(i + " - " + aName + ": " + b1Str1 + ", " + b1Str2 + ", " + b1Int);
            Assert.assertEquals("AService", aName);
            Assert.assertEquals("string1", b1Str1);
            Assert.assertEquals("string2string3", b1Str2);
            Assert.assertEquals(i * 1000 + 1000, b1Int);
View Full Code Here


     */
    @Test
    public void testSoapVersion1() throws Exception {
     
      for (int i = 0; i < 8; i++) {
        AService a = ServiceFinder.getService(AService.class, "AComponent" + (i+1));
          String aName = a.getName();
          String b1Str1 = a.getB1String("string1");
          String b1Str2 = a.getB1String2("string2", "string3");
          int b1Int = a.getB1Int(i * 1000 + 1000);
            System.out.println(i + " - " + aName + ": " + b1Str1 + ", " + b1Str2 + ", " + b1Int);
            Assert.assertEquals("AService", aName);
            Assert.assertEquals("string1", b1Str1);
            Assert.assertEquals("string2string3", b1Str2);
            Assert.assertEquals(i * 1000 + 1000, b1Int);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.vtest.wsbinding.nowsdl.soapversion.AService

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.