Package org.tempuri.soapencoding

Examples of org.tempuri.soapencoding.TestComplexType


    public void testSoapElement15() {

        Array array = new Array();
        array.setArrayTypeQName(new QName("http://tempuri.org/soapencoding", "TestComplexType"));
        TestComplexType testComplexType;
        for (int i = 0; i < 10; i++) {
            testComplexType = new TestComplexType();
            testComplexType.setParam1("Param1");
            testComplexType.setParam2(2);
            array.addObject(testComplexType);
        }
        testSoapElement31(array);
    }
View Full Code Here


    }

    public void testSoapElement16() {

        Array array = new Array();
        TestComplexType testComplexType;
        for (int i = 0; i < 10; i++) {
            testComplexType = new TestComplexType();
            testComplexType.setParam1("Param1");
            testComplexType.setParam2(2);
            array.addObject(testComplexType);
        }
        testSoapElement31(array);
    }
View Full Code Here

            System.out.println("OM String ==>" + omElementString);
            XMLStreamReader xmlReader = StAXUtils.createXMLStreamReader(
                    new ByteArrayInputStream(omElementString.getBytes()));
            TestSoapElement1 result = TestSoapElement1.Factory.parse(xmlReader);
            List resultList = result.getTestSoapElement1().getObjectList();
            TestComplexType testComplexType = null;
            for (int i = 0; i < resultList.size(); i++) {
                testComplexType = (TestComplexType) resultList.get(i);
                assertEquals(testComplexType.getParam1(),"Param1");
                assertEquals(testComplexType.getParam2(),2);
            }
        } catch (ADBException e) {
            fail();
        } catch (XMLStreamException e) {
            fail();
View Full Code Here

TOP

Related Classes of org.tempuri.soapencoding.TestComplexType

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.