Examples of ArrayOfstring_literal


Examples of org.soapinterop.xsd.ArrayOfstring_literal

     * test echo string
     * @throws RemoteException
     */
    public void testEchoStringArray() throws RemoteException {

        ArrayOfstring_literal input=(ArrayOfstring_literal)dataFactory.create(ArrayOfstring_literal.class);
        List inStrings = Arrays.asList(new String[] {"petra", "sue"});
        input.set(XsdPackage.ARRAY_OFSTRING_LITERAL__STRING, inStrings);

        ArrayOfstring_literal output = doc.echoStringArray(input);
        
        List outStrings = output.getString();        
        assertNotNull(outStrings);
        assertEquals(2, outStrings.size());
        assertEquals("petra", outStrings.get(0));
        assertEquals("sue", outStrings.get(1));
    }
View Full Code Here

Examples of org.soapinterop.xsd.ArrayOfstring_literal

     *
     * @throws RemoteException
     */
    public void testEchoStringArray() throws RemoteException {

        ArrayOfstring_literal input = (ArrayOfstring_literal) dataFactory.create(ArrayOfstring_literal.class);
        List inStrings = Arrays.asList(new String[] { "petra", "sue" });
        input.set(XsdPackage.ARRAY_OFSTRING_LITERAL__STRING, inStrings);

        ArrayOfstring_literal output = doc.echoStringArray(input);

        List outStrings = output.getString();
        assertNotNull(outStrings);
        assertEquals(2, outStrings.size());
        assertEquals("petra", outStrings.get(0));
        assertEquals("sue", outStrings.get(1));
    }
View Full Code Here

Examples of org.soapinterop.xsd.ArrayOfstring_literal

     *
     * @throws RemoteException
     */
    public void testEchoStringArray() throws RemoteException {

        ArrayOfstring_literal input = (ArrayOfstring_literal) dataFactory.create(ArrayOfstring_literal.class);
        List inStrings = Arrays.asList(new String[] { "petra", "sue" });
        input.set(XsdPackage.ARRAY_OFSTRING_LITERAL__STRING, inStrings);

        ArrayOfstring_literal output = doc.echoStringArray(input);

        List outStrings = output.getString();
        assertNotNull(outStrings);
        assertEquals(2, outStrings.size());
        assertEquals("petra", outStrings.get(0));
        assertEquals("sue", outStrings.get(1));
    }
View Full Code Here

Examples of test.wsdl.interop3.docLit.xsd.ArrayOfstring_Literal

        }
        assertNotNull("binding is null", binding);

        String str = "Hello there!";
        String [] strArray = new String [] { "1", "two", "trois" };
        ArrayOfstring_Literal param = new ArrayOfstring_Literal();
        param.setString(strArray);

        assertEquals("echoString results differ", binding.echoString(str), str);

        String [] resArray = binding.echoStringArray(param).getString();
        assertEquals("String array lengths differ",
View Full Code Here

Examples of test.wsdl.interop3.docLit.xsd.ArrayOfstring_literal

        }
        assertNotNull("binding is null", binding);

        String str = "Hello there!";
        String [] strArray = new String [] { "1", "two", "trois" };
        ArrayOfstring_literal param = new ArrayOfstring_literal();
        param.setString(strArray);

        assertEquals("echoString results differ", binding.echoString(str), str);

        String [] resArray = binding.echoStringArray(param).getString();
        assertEquals("String array lengths differ",
View Full Code Here

Examples of test.wsdl.interop3.docLitParam.xsd.ArrayOfstring_Literal

        }
        assertNotNull("binding is null", binding);

        String str = "Hello there!";
        String [] strArray = new String [] { "1", "two", "trois" };
        ArrayOfstring_Literal param = new ArrayOfstring_Literal();
        param.setString(strArray);

        assertEquals("echoString results differ", binding.echoString(str), str);

        String [] resArray = binding.echoStringArray(param).getString();
        assertEquals("String array lengths differ",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.