Package javax.xml.rpc.holders

Examples of javax.xml.rpc.holders.StringHolder


        }
    }

    public void testOutManyInoutManyInMany ()
    {
        StringHolder shinout = new StringHolder ("outManyInoutManyInMany");
        AddressHolder ah = new AddressHolder (expectedAddress);
        IntHolder ihout = new IntHolder();
        StringHolder shout = new StringHolder ();
        try
        {
            io.outManyInoutManyInMany (shinout, ah, expectedPhone, expectedNumber, ihout, shout);
            assertEquals("outManyInoutManyInMany yo ho ho!", shinout.value);
            assertTrue(equals (ah.value, returnAddress));
View Full Code Here


    private void allPrimitivesInout(TypeTest binding) {
        assertTrue("binding is null", binding != null);
        try {

            binding.allPrimitivesInout(
                    new StringHolder(new String()),
                    new BigIntegerHolder(new BigInteger("0")),
                    new IntHolder(0),
                    new LongHolder(0),
                    new ShortHolder((short)0),
                    new BigDecimalHolder(new BigDecimal(0)),
                    new FloatHolder(0),
                    new DoubleHolder(0),
                    new BooleanHolder(true),
                    new ByteHolder((byte)0),
                    new QNameHolder(new QName("http://double-double",
                            "toil-and-trouble")),
                    new CalendarHolder(Calendar.getInstance()),
                    new ByteArrayHolder(new byte[0]),
                    new ByteArrayHolder(new byte[0]),
                    new StringHolder(new String()),
                    new BooleanWrapperHolder(new Boolean(false)),
                    new FloatWrapperHolder(new Float(0)),
                    new DoubleWrapperHolder(new Double(0)),
                    new BigDecimalHolder(new BigDecimal(0)),
                    new IntegerWrapperHolder(new Integer(0)),
View Full Code Here

    private void allPrimitivesOut(TypeTest binding) {
        assertTrue("binding is null", binding != null);
        try {
            binding.allPrimitivesOut(
                    new StringHolder(),
                    new BigIntegerHolder(),
                    new IntHolder(),
                    new LongHolder(),
                    new ShortHolder(),
                    new BigDecimalHolder(),
                    new FloatHolder(),
                    new DoubleHolder(),
                    new BooleanHolder(),
                    new ByteHolder(),
                    new QNameHolder(),
                    new CalendarHolder(),
                    new ByteArrayHolder(),
                    new ByteArrayHolder(),
                    new StringHolder(),
                    new BooleanWrapperHolder(),
                    new FloatWrapperHolder(),
                    new DoubleWrapperHolder(),
                    new BigDecimalHolder(),
                    new IntegerWrapperHolder(),
View Full Code Here

    }

    public void testOutManyInout0In1 ()
    {
        IntHolder ih = new IntHolder();
        StringHolder sh = new StringHolder ();
        try
        {
            io.outManyInout0In1 ("outManyInout0In1", ih, sh);
            assertEquals(returnNumber, ih.value);
            assertEquals(" yo ho ho!", sh.value);
View Full Code Here

    }

    public void testOutManyInout0InMany ()
    {
        IntHolder ih = new IntHolder();
        StringHolder sh = new StringHolder ();
        try
        {
            io.outManyInout0InMany ("outManyInout0InMany", expectedAddress, ih, sh);
            assertEquals(returnNumber, ih.value);
            assertEquals(" yo ho ho!", sh.value);
View Full Code Here

        }
    }

    public void testOutManyInout1In0 ()
    {
        StringHolder shinout = new StringHolder ("outManyInout1In0");
        IntHolder ihout = new IntHolder();
        StringHolder shout = new StringHolder ();
        try
        {
            io.outManyInout1In0 (shinout, ihout, shout);
            assertEquals("outManyInout1In0 yo ho ho!", shinout.value);
            assertEquals(returnNumber, ihout.value);
View Full Code Here

        }
    }

    public void testOutManyInout1In1 ()
    {
        StringHolder shinout = new StringHolder ("outManyInout1In1");
        IntHolder ihout = new IntHolder();
        StringHolder shout = new StringHolder ();
        try
        {
            io.outManyInout1In1 (shinout, expectedAddress, ihout, shout);
            assertEquals("outManyInout1In1 yo ho ho!", shinout.value);
            assertEquals(returnNumber, ihout.value);
View Full Code Here

    public void testOutManyInout1InMany ()
    {
        PhoneHolder ph = new PhoneHolder (expectedPhone);
        IntHolder ih = new IntHolder();
        StringHolder sh = new StringHolder ();
        try
        {
            io.outManyInout1InMany ("outManyInout1InMany", expectedAddress, ph, ih, sh);
            assertTrue(equals (ph.value, returnPhone));
            assertEquals(returnNumber, ih.value);
View Full Code Here

        }
    }

    public void testOutManyInoutManyIn0 ()
    {
        StringHolder shinout = new StringHolder ("outManyInoutManyIn0");
        AddressHolder ah = new AddressHolder (expectedAddress);
        IntHolder ihout = new IntHolder();
        StringHolder shout = new StringHolder ();
        try
        {
            io.outManyInoutManyIn0 (shinout, ah, ihout, shout);
            assertEquals("outManyInoutManyIn0 yo ho ho!", shinout.value);
            assertTrue(equals (ah.value, returnAddress));
View Full Code Here

        }
    }

    public void testOutManyInoutManyIn1 ()
    {
        StringHolder shinout = new StringHolder ("outManyInoutManyIn1");
        AddressHolder ah = new AddressHolder (expectedAddress);
        IntHolder ihout = new IntHolder();
        StringHolder shout = new StringHolder ();
        try
        {
            io.outManyInoutManyIn1 (shinout, ah, expectedPhone, ihout, shout);
            assertEquals("outManyInoutManyIn1 yo ho ho!", shinout.value);
            assertTrue(equals (ah.value, returnAddress));
View Full Code Here

TOP

Related Classes of javax.xml.rpc.holders.StringHolder

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.