Package org.apache.axis.types

Examples of org.apache.axis.types.UnsignedByte


                    new UnsignedShort(102),true);
    }

    public void testUnsignedByte() throws Exception {
        deserialize("<result xsi:type=\"xsd:unsignedByte\">103</result>",
                    new UnsignedByte(103),true);
    }
View Full Code Here


        // setup unsigned
        UnsignedLong ulong = null;
        UnsignedInt uint = null;
        UnsignedShort ushort = null;
        UnsignedByte ubyte = null;
        NonNegativeInteger nnint = null;
        PositiveInteger pint = null;
        NonPositiveInteger npint = null;
        NegativeInteger nint = null;
        URI uri = null;
        Year year = null;
        Month month = null;
        Day day = null;
        YearMonth yearmonth = null;
        MonthDay monthday = null;

        try {
            ulong = new UnsignedLong(7777);
            uint = new UnsignedInt(777);
            ushort = new UnsignedShort(77);
            ubyte = new UnsignedByte(7);
            nnint = new NonNegativeInteger("7");
            pint = new PositiveInteger("7");
            npint = new NonPositiveInteger("-7");
            nint = new NegativeInteger("-7");
            uri = new URI("urn:this-is-a-test");
            year =  new Year(1995);
            month = new Month(7);
            day = new Day(13);
            yearmonth = new YearMonth(2002, 8);
            monthday = new MonthDay(8, 26);
        } catch (Exception e) {
            // possibly thrown from constructors
            // wont happen since we know the values are good!
        }

        try {
            binding.allPrimitivesIn(
                    "hi",
                    new java.math.BigInteger("5"),
                    0,
                    (long) 0,
                    (short) 0,
                    new java.math.BigDecimal(6),
                    (float) 0,
                    (double) 0,
                    true,
                    (byte) 0,
                    new QName("hi", "ho"),
                    Calendar.getInstance(),
                    new byte[]{(byte) 5},
                    new byte[]{(byte) 6},
                    "hi ho",
                    new Boolean(true),
                    new Float(0),
                    new Double(0),
                    new java.math.BigDecimal(7),
                    new Integer(0),
                    new Short((short) 0),
                    new byte[]{(byte) 7},
                    new org.apache.axis.types.Time("12:01:30.150Z"),
                    ulong,
                    uint,
                    ushort,
                    ubyte,
                    nnint,
                    pint,
                    npint,
                    nint,
                    uri,
                    year,
                    month,
                    day,
                    yearmonth,
                    monthday
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitives: " + re );
        }
        try {
            binding.allPrimitivesInout(
                    new StringHolder("hi"),
                    new BigIntegerHolder(new java.math.BigInteger("0")),
                    new IntHolder(1),
                    new LongHolder(2),
                    new ShortHolder((short) 3),
                    new BigDecimalHolder(new java.math.BigDecimal(4)),
                    new FloatHolder(5),
                    new DoubleHolder(6),
                    new BooleanHolder(true),
                    new ByteHolder((byte) 7),
                    new QNameHolder(new QName("ho", "hi")),
                    new CalendarHolder(Calendar.getInstance()),
                    new ByteArrayHolder(new byte[]{(byte) 8}),
                    new ByteArrayHolder(new byte[]{(byte) 9}),
                    new StringHolder("ho hi"),
                    new BooleanWrapperHolder(new Boolean(true)),
                    new FloatWrapperHolder(new Float(10)),
                    new DoubleWrapperHolder(new Double(11)),
                    new BigDecimalHolder(new java.math.BigDecimal(12)),
                    new IntegerWrapperHolder(new Integer(13)),
                    new ShortWrapperHolder(new Short((short) 14)),
                    new ByteArrayHolder(new byte[]{(byte) 15}),
                    new TimeHolder(new org.apache.axis.types.Time("12:01:30.150Z")),
                    new UnsignedLongHolder(ulong),
                    new UnsignedIntHolder(uint),
                    new UnsignedShortHolder(ushort),
                    new UnsignedByteHolder(ubyte),
                    new NonNegativeIntegerHolder(nnint),
                    new PositiveIntegerHolder(pint),
                    new NonPositiveIntegerHolder(npint),
                    new NegativeIntegerHolder(nint),
                    new URIHolder(uri),
                    new YearHolder(year),
                    new MonthHolder(month),
                    new DayHolder(day),
                    new YearMonthHolder(yearmonth),
                    new MonthDayHolder(monthday)
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesInout Exception caught: " + re );
        }
        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(),
                    new ShortWrapperHolder(),
                    new ByteArrayHolder(),
                    new TimeHolder(),
                    new UnsignedLongHolder(),
                    new UnsignedIntHolder(),
                    new UnsignedShortHolder(),
                    new UnsignedByteHolder(),
                    new NonNegativeIntegerHolder(),
                    new PositiveIntegerHolder(),
                    new NonPositiveIntegerHolder(),
                    new NegativeIntegerHolder(),
                    new URIHolder(),
                    new YearHolder(),
                    new MonthHolder(),
                    new DayHolder(),
                    new YearMonthHolder(),
                    new MonthDayHolder()
                   
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesOut Exception caught: " + re );
        }
        try {
            binding.enumIn(Enum.one);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumIn Exception caught: " + re );
        }
        try {
            binding.enumInout(new EnumHolder(Enum.two));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumInout Exception caught: " + re );
        }
        try {
            EnumHolder value = new EnumHolder();
            binding.enumOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumOut Exception caught: " + re );
        }
        try {
            Enum value = null;
            value = binding.enumReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumReturn Exception caught: " + re );
        }
        try {
            binding.arrayIn(new String[] {"hi", "ho"});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayIn Exception caught: " + re);
        }
        try {
            binding.arrayInout(new ArrayHolder(new String[] {"hee", "hee"}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayInout Exception caught: " + re);
        }
        try {
            ArrayHolder value = new ArrayHolder();
            binding.arrayOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayOut Exception caught: " + re);
        }
        try {
            String[] value = binding.arrayReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayReturn Exception caught: " + re);
        }
        try {
            binding.arrayMIn(new int[][][] {new int[][] {new int[] {2}}});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMIn Exception caught: " + re);
        }
        try {
            binding.arrayMInout(new ArrayMHolder(new int[][][] {new int[][] {new int[] {2}}}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMInout Exception caught: " + re);
        }
        try {
            ArrayMHolder value = new ArrayMHolder();
            binding.arrayMOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMOut Exception caught: " + re);
        }
        try {
            int[][][] value = binding.arrayMReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMReturn Exception caught: " + re);
        }
        ComplexAll complexAll = new ComplexAll();
        complexAll.setAreaCode(512);
        complexAll.setExchange("838");
        complexAll.setNumber("4544");
        try {
            binding.complexAllIn(complexAll);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllIn Exception caught: " + re);
        }
        try {
            binding.complexAllInout(new ComplexAllHolder(complexAll));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllInout Exception caught: " + re );
        }
        try {
            ComplexAllHolder value = new ComplexAllHolder();
            binding.complexAllOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllOut Exception caught: " + re );
        }
        try {
            ComplexAll value = null;
            value = binding.complexAllReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllReturn Exception caught: " + re );
        }
        ComplexSequence complexSequence = new ComplexSequence();
        complexSequence.setAreaCode(512);
        complexSequence.setExchange("838");
        complexSequence.setNumber("4544");

        try {
            binding.complexSequenceIn(complexSequence);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceIn Exception caught: " + re );
        }
        try {
            binding.complexSequenceInout(new ComplexSequenceHolder(complexSequence));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceInout Exception caught: " + re );
        }
        try {
            ComplexSequenceHolder value = new ComplexSequenceHolder();
            binding.complexSequenceOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceOut Exception caught: " + re );
        }
        try {
            ComplexSequence value = null;
            value = binding.complexSequenceReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceReturn Exception caught: " + re );
        }
        String[] optArray = new String[] {"abc", "def"};
        byte[][] byteArray = new byte[][] { new byte[] {'a', 'b', 'c'}, new byte[] {'x', 'y', 'z'} };
        B b = new B();
        A a = new A();
        a.setC(3);
        b.setD(a);
        ComplexWComplexStock_quote stockQuote = new ComplexWComplexStock_quote();
        Time time = new Time();
        time.setDST(false);
        stockQuote.setTime(time);
        stockQuote.setChange("5");
        stockQuote.setPctchange("100%");
        stockQuote.setBid("9");
        stockQuote.setAsk("11");
        stockQuote.setSymbol("AXS");
        stockQuote.setLast("5");
        ComplexWComplex complexWComplex = new ComplexWComplex();
        complexWComplex.setStock_quote(stockQuote);
        complexWComplex.setOutside(22);
       
        binding.complexWComplexIn(complexWComplex);

        try {
            binding.complexWComplexInout(new ComplexWComplexHolder(complexWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexInout Exception caught: " + re );
        }
        try {
            ComplexWComplexHolder value = new ComplexWComplexHolder();
            binding.complexWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexOut Exception caught: " + re );
        }
        try {
            ComplexWComplex value = null;
            value = binding.complexWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexReturn Exception caught: " + re );
        }
        try {
            EmptyComplexType value = new EmptyComplexType();
            binding.emptyComplexTypeIn(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeIn Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder( new EmptyComplexType());
            binding.emptyComplexTypeInout(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeInout Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder();
            binding.emptyComplexTypeOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeOut Exception caught: " + re );
        }
        try {
            EmptyComplexType value = null;
            value = binding.emptyComplexTypeReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeReturn Exception caught: " + re );
        }
        try {
            binding.anyIn(new java.lang.String("hi ho"));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyIn Exception caught: " + re );
        }
        try {
            binding.anyInout(new ObjectHolder(new java.lang.String("yo ho ho")));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyInout Exception caught: " + re );
        }
        try {
            ObjectHolder value = new ObjectHolder();
            binding.anyOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyOut Exception caught: " + re );
        }
        try {
            java.lang.Object value = binding.anyReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
        }
        Cat cat = new Cat();
        cat.setPurr("meow");
        PersionCat persion = new PersionCat();
        Yarn yarn = new Yarn();
        yarn.setColor("green");
        persion.setPurr("meow meow");
        persion.setColor("blue");
        persion.setToy(yarn);
        try {
            binding.animalIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalIn Exception caught: " + re );
        }
        try {
            binding.animalInout(new AnimalHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalInout Exception caught: " + re );
        }
        try {
            AnimalHolder value = new AnimalHolder();
            binding.animalOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalOut Exception caught: " + re );
        }
        try {
            Animal value = null;
            value = binding.animalReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalReturn Exception caught: " + re );
        }
        try {
            binding.catIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }
        try {
            CatHolder value = new CatHolder();
            binding.catOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catOut Exception caught: " + re );
        }
        try {
            Cat value = null;
            value = binding.catReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catReturn Exception caught: " + re );
        }
        try {
            binding.catIn(persion);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(persion));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }

        try {
            BooleanHolder bh = new BooleanHolder(true);
            boolean actual = binding.methodBoolean(true, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodBoolean Exception caught: " + re );
        }
        try {
            ByteHolder bh = new ByteHolder((byte)5);
            byte actual = binding.methodByte((byte)5, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodByte Exception caught: " + re );
        }
        try {
            ShortHolder sh = new ShortHolder((short)127);
            short actual = binding.methodShort((short)127, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodShort Exception caught: " + re );
        }
        try {
            IntHolder ih = new IntHolder(2002);
            int actual = binding.methodInt(2002, ih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInt Exception caught: " + re );
        }
        try {
            LongHolder lh = new LongHolder(14003L);
            long actual = binding.methodLong(14003L, lh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodLong Exception caught: " + re );
        }
        try {
            FloatHolder fh = new FloatHolder(2.342F);
            float delta = 0.0F;
            float actual = binding.methodFloat(2.342F, fh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodFloat Exception caught: " + re );
        }
        try {
            DoubleHolder dh = new DoubleHolder(5006.345D);
            double value = 110312.2325D;
            double delta = 0.0D;
            double actual = binding.methodDouble(5006.345D, dh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDouble Exception caught: " + re );
        }
        try {
            String sendValue = "Sent String";
            StringHolder sh = new StringHolder(sendValue);
            String actual = binding.methodString(sendValue, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodString Exception caught: " + re );
        }
        try {
            java.math.BigInteger sendValue = new java.math.BigInteger("3048");
            BigIntegerHolder bih = new BigIntegerHolder(sendValue);
            java.math.BigInteger actual = binding.methodInteger(sendValue, bih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInteger Exception caught: " + re );
        }
        try {
            java.math.BigDecimal sendValue = new java.math.BigDecimal("1205.258");
            BigDecimalHolder bdh = new BigDecimalHolder(sendValue);
            java.math.BigDecimal actual = binding.methodDecimal(sendValue, bdh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDecimal Exception caught: " + re );
        }
        try {
            Calendar sendValue = Calendar.getInstance();
            sendValue.setTime(new Date(1012182070626L));
            CalendarHolder ch = new CalendarHolder(sendValue);
            Calendar actual = binding.methodDateTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDateTime Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodBase64Binary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            QName sendValue = new QName("test1", "test2");
            QNameHolder qh = new QNameHolder(sendValue);
            QName actual = binding.methodQName(sendValue, qh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodQName Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodHexBinary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            org.apache.axis.types.Time sendValue = new org.apache.axis.types.Time("15:30:45.245Z");
            TimeHolder ch = new TimeHolder(sendValue);
            org.apache.axis.types.Time actual = binding.methodTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodTime Exception caught: " + re );
        }
        try {
            UnsignedLong sendValue = null;
            try {
                sendValue = new UnsignedLong(18446744073709551600D);
            } catch (Exception e) {
            }
            UnsignedLongHolder ch = new UnsignedLongHolder(sendValue);
            UnsignedLong actual = binding.methodUnsignedLong(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedLong Exception caught: " + re );
        }
        try {
            UnsignedInt sendValue = null;
            try {
                sendValue = new UnsignedInt(4294967200L);
            } catch (Exception e) {
            }
            UnsignedIntHolder ch = new UnsignedIntHolder(sendValue);
            UnsignedInt actual = binding.methodUnsignedInt(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedInt Exception caught: " + re );
        }
        try {
            UnsignedShort sendValue = null;
            try {
                sendValue = new UnsignedShort(65530);
            } catch (Exception e) {
            }
            UnsignedShortHolder ch = new UnsignedShortHolder(sendValue);
            UnsignedShort actual = binding.methodUnsignedShort(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedShort Exception caught: " + re );
        }
        try {
            UnsignedByte sendValue = null;
            try {
                sendValue = new UnsignedByte(250);
            } catch (Exception e) {
            }
            UnsignedByteHolder ch = new UnsignedByteHolder(sendValue);
            UnsignedByte actual = binding.methodUnsignedByte(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedByte Exception caught: " + re );
        }
        try {
            NonNegativeInteger sendValue = new NonNegativeInteger("246802468024680");
View Full Code Here

                throw e;
            }
        }

        // Test xsd:unsignedByte
        UnsignedByte ubInput = new UnsignedByte(103);
        try {
            output = binding.echoUnsignedByte(ubInput);
            verify("echoUnsignedByte", ubInput, output);
        } catch (Exception e) {
            if (!testMode) {
View Full Code Here

                    new UnsignedShort(102),true);
    }

    public void testUnsignedByte() throws Exception {
        deserialize("<result xsi:type=\"xsd:unsignedByte\">103</result>",
                    new UnsignedByte(103),true);
    }
View Full Code Here

                throw e;
            }
        }

        // Test xsd:unsignedByte
        UnsignedByte ubInput = new UnsignedByte(103);
        try {
            output = binding.echoUnsignedByte(ubInput);
            verify("echoUnsignedByte", ubInput, output);
        } catch (Exception e) {
            if (!testMode) {
View Full Code Here

        // setup unsigned
        UnsignedLong ulong = null;
        UnsignedInt uint = null;
        UnsignedShort ushort = null;
        UnsignedByte ubyte = null;
        NonNegativeInteger nnint = null;
        PositiveInteger pint = null;
        NonPositiveInteger npint = null;
        NegativeInteger nint = null;
        URI uri = null;
        Year year = null;
        Month month = null;
        Day day = null;
        YearMonth yearmonth = null;
        MonthDay monthday = null;

        try {
            ulong = new UnsignedLong(7777);
            uint = new UnsignedInt(777);
            ushort = new UnsignedShort(77);
            ubyte = new UnsignedByte(7);
            nnint = new NonNegativeInteger("7");
            pint = new PositiveInteger("7");
            npint = new NonPositiveInteger("-7");
            nint = new NegativeInteger("-7");
            uri = new URI("urn:this-is-a-test");
            year =  new Year(1995);
            month = new Month(7);
            day = new Day(13);
            yearmonth = new YearMonth(2002, 8);
            monthday = new MonthDay(8, 26);
        } catch (Exception e) {
            // possibly thrown from constructors
            // wont happen since we know the values are good!
        }

        try {
            binding.allPrimitivesIn(
                    "hi",
                    new java.math.BigInteger("5"),
                    0,
                    (long) 0,
                    (short) 0,
                    new java.math.BigDecimal(6),
                    (float) 0,
                    (double) 0,
                    true,
                    (byte) 0,
                    new QName("hi", "ho"),
                    Calendar.getInstance(),
                    new byte[]{(byte) 5},
                    new byte[]{(byte) 6},
                    "hi ho",
                    new Boolean(true),
                    new Float(0),
                    new Double(0),
                    new java.math.BigDecimal(7),
                    new Integer(0),
                    new Short((short) 0),
                    new byte[]{(byte) 7},
                    new org.apache.axis.types.Time("12:01:30.150Z"),
                    ulong,
                    uint,
                    ushort,
                    ubyte,
                    nnint,
                    pint,
                    npint,
                    nint,
                    uri,
                    year,
                    month,
                    day,
                    yearmonth,
                    monthday
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitives: " + re );
        }
        try {
            binding.allPrimitivesInout(
                    new StringHolder("hi"),
                    new BigIntegerHolder(new java.math.BigInteger("0")),
                    new IntHolder(1),
                    new LongHolder(2),
                    new ShortHolder((short) 3),
                    new BigDecimalHolder(new java.math.BigDecimal(4)),
                    new FloatHolder(5),
                    new DoubleHolder(6),
                    new BooleanHolder(true),
                    new ByteHolder((byte) 7),
                    new QNameHolder(new QName("ho", "hi")),
                    new CalendarHolder(Calendar.getInstance()),
                    new ByteArrayHolder(new byte[]{(byte) 8}),
                    new ByteArrayHolder(new byte[]{(byte) 9}),
                    new StringHolder("ho hi"),
                    new BooleanWrapperHolder(new Boolean(true)),
                    new FloatWrapperHolder(new Float(10)),
                    new DoubleWrapperHolder(new Double(11)),
                    new BigDecimalHolder(new java.math.BigDecimal(12)),
                    new IntegerWrapperHolder(new Integer(13)),
                    new ShortWrapperHolder(new Short((short) 14)),
                    new ByteArrayHolder(new byte[]{(byte) 15}),
                    new TimeHolder(new org.apache.axis.types.Time("12:01:30.150Z")),
                    new UnsignedLongHolder(ulong),
                    new UnsignedIntHolder(uint),
                    new UnsignedShortHolder(ushort),
                    new UnsignedByteHolder(ubyte),
                    new NonNegativeIntegerHolder(nnint),
                    new PositiveIntegerHolder(pint),
                    new NonPositiveIntegerHolder(npint),
                    new NegativeIntegerHolder(nint),
                    new URIHolder(uri),
                    new YearHolder(year),
                    new MonthHolder(month),
                    new DayHolder(day),
                    new YearMonthHolder(yearmonth),
                    new MonthDayHolder(monthday)
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesInout Exception caught: " + re );
        }
        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(),
                    new ShortWrapperHolder(),
                    new ByteArrayHolder(),
                    new TimeHolder(),
                    new UnsignedLongHolder(),
                    new UnsignedIntHolder(),
                    new UnsignedShortHolder(),
                    new UnsignedByteHolder(),
                    new NonNegativeIntegerHolder(),
                    new PositiveIntegerHolder(),
                    new NonPositiveIntegerHolder(),
                    new NegativeIntegerHolder(),
                    new URIHolder(),
                    new YearHolder(),
                    new MonthHolder(),
                    new DayHolder(),
                    new YearMonthHolder(),
                    new MonthDayHolder()
                   
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesOut Exception caught: " + re );
        }
        try {
            binding.enumIn(Enum.one);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumIn Exception caught: " + re );
        }
        try {
            binding.enumInout(new EnumHolder(Enum.two));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumInout Exception caught: " + re );
        }
        try {
            EnumHolder value = new EnumHolder();
            binding.enumOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumOut Exception caught: " + re );
        }
        try {
            Enum value = null;
            value = binding.enumReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumReturn Exception caught: " + re );
        }
        try {
            binding.arrayIn(new String[] {"hi", "ho"});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayIn Exception caught: " + re);
        }
        try {
            binding.arrayInout(new ArrayHolder(new String[] {"hee", "hee"}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayInout Exception caught: " + re);
        }
        try {
            ArrayHolder value = new ArrayHolder();
            binding.arrayOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayOut Exception caught: " + re);
        }
        try {
            String[] value = binding.arrayReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayReturn Exception caught: " + re);
        }
        try {
            binding.arrayMIn(new int[][][] {new int[][] {new int[] {2}}});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMIn Exception caught: " + re);
        }
        try {
            binding.arrayMInout(new ArrayMHolder(new int[][][] {new int[][] {new int[] {2}}}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMInout Exception caught: " + re);
        }
        try {
            ArrayMHolder value = new ArrayMHolder();
            binding.arrayMOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMOut Exception caught: " + re);
        }
        try {
            int[][][] value = binding.arrayMReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMReturn Exception caught: " + re);
        }
        ComplexAll complexAll = new ComplexAll();
        complexAll.setAreaCode(512);
        complexAll.setExchange("838");
        complexAll.setNumber("4544");
        try {
            binding.complexAllIn(complexAll);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllIn Exception caught: " + re);
        }
        try {
            binding.complexAllInout(new ComplexAllHolder(complexAll));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllInout Exception caught: " + re );
        }
        try {
            ComplexAllHolder value = new ComplexAllHolder();
            binding.complexAllOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllOut Exception caught: " + re );
        }
        try {
            ComplexAll value = null;
            value = binding.complexAllReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllReturn Exception caught: " + re );
        }
        ComplexSequence complexSequence = new ComplexSequence();
        complexSequence.setAreaCode(512);
        complexSequence.setExchange("838");
        complexSequence.setNumber("4544");

        try {
            binding.complexSequenceIn(complexSequence);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceIn Exception caught: " + re );
        }
        try {
            binding.complexSequenceInout(new ComplexSequenceHolder(complexSequence));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceInout Exception caught: " + re );
        }
        try {
            ComplexSequenceHolder value = new ComplexSequenceHolder();
            binding.complexSequenceOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceOut Exception caught: " + re );
        }
        try {
            ComplexSequence value = null;
            value = binding.complexSequenceReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceReturn Exception caught: " + re );
        }
        String[] optArray = new String[] {"abc", "def"};
        byte[][] byteArray = new byte[][] { new byte[] {'a', 'b', 'c'}, new byte[] {'x', 'y', 'z'} };
        B b = new B();
        A a = new A();
        a.setC(3);
        b.setD(a);
        _elemWComplex elemWComplex = new _elemWComplex();
        StringParameter sp = new StringParameter("sweet!");
        sp.setDescription("Pass this as an element and an attribute...wow!");

        elemWComplex.setOne( new Simple("one"));
        elemWComplex.setTwo( new QName[] {new QName("two")});
        elemWComplex.setThree( new Enum[] {Enum.three});
        elemWComplex.setEnum1( EnumString.value1);
        elemWComplex.setEnum2( EnumInt.value1);
        elemWComplex.setEnum3( EnumLong.value2);
        elemWComplex.setEnum4( EnumFloat.value3);
        elemWComplex.setEnum5( EnumDouble.value3);
        elemWComplex.setEnum6( EnumShort.value2);
        elemWComplex.setEnum7( EnumByte.value1);
        elemWComplex.setNested( b);
        elemWComplex.setOptArray( optArray );
        elemWComplex.setByteArray( byteArray );
        elemWComplex.setAttr(Enum.two);
        elemWComplex.setParm(sp);
        elemWComplex.setParmAttr(sp);

        try {
            binding.elemWComplexIn(elemWComplex);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexIn Exception caught: " + re );
        }
        try {
            binding.elemWComplexInout(new _elemWComplexHolder(elemWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexInout Exception caught: " + re );
        }
        try {
            _elemWComplexHolder value = new _elemWComplexHolder();
            binding.elemWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexOut Exception caught: " + re );
        }
        try {
            _elemWComplex value = null;
            value = binding.elemWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexReturn Exception caught: " + re );
        }
        ComplexWComplex_stock_quote stockQuote = new ComplexWComplex_stock_quote();
        Time time = new Time();
        time.setDST(false);
        stockQuote.setTime(time);
        stockQuote.setChange(new SimpleFwd("5"));
        stockQuote.setPctchange("100%");
        stockQuote.setBid("9");
        stockQuote.setAsk("11");
        stockQuote.setSymbol("AXS");
        stockQuote.setLast("5");
        ComplexWComplex complexWComplex = new ComplexWComplex();
        complexWComplex.setStock_quote(stockQuote);
        complexWComplex.setOutside(22);
        try {
            binding.complexWComplexIn(complexWComplex);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexIn Exception caught: " + re );
        }
        try {
            binding.complexWComplexInout(new ComplexWComplexHolder(complexWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexInout Exception caught: " + re );
        }
        try {
            ComplexWComplexHolder value = new ComplexWComplexHolder();
            binding.complexWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexOut Exception caught: " + re );
        }
        try {
            ComplexWComplex value = null;
            value = binding.complexWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexReturn Exception caught: " + re );
        }
        try {
            EmptyComplexType value = new EmptyComplexType();
            binding.emptyComplexTypeIn(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeIn Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder( new EmptyComplexType());
            binding.emptyComplexTypeInout(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeInout Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder();
            binding.emptyComplexTypeOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeOut Exception caught: " + re );
        }
        try {
            EmptyComplexType value = null;
            value = binding.emptyComplexTypeReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeReturn Exception caught: " + re );
        }
        try {
            binding.anyIn(new java.lang.String("hi ho"));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyIn Exception caught: " + re );
        }
        try {
            binding.anyInout(new ObjectHolder(new java.lang.String("yo ho ho")));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyInout Exception caught: " + re );
        }
        try {
            ObjectHolder value = new ObjectHolder();
            binding.anyOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyOut Exception caught: " + re );
        }
        try {
            java.lang.Object value = binding.anyReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
        }
        Cat cat = new Cat();
        cat.setPurr("meow");
        PersionCat persion = new PersionCat();
        Yarn yarn = new Yarn();
        yarn.setColor("green");
        persion.setPurr("meow meow");
        persion.setColor("blue");
        persion.setToy(yarn);
        try {
            binding.animalIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalIn Exception caught: " + re );
        }
        try {
            binding.animalInout(new AnimalHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalInout Exception caught: " + re );
        }
        try {
            AnimalHolder value = new AnimalHolder();
            binding.animalOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalOut Exception caught: " + re );
        }
        try {
            Animal value = null;
            value = binding.animalReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalReturn Exception caught: " + re );
        }
        try {
            binding.catIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }
        try {
            CatHolder value = new CatHolder();
            binding.catOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catOut Exception caught: " + re );
        }
        try {
            Cat value = null;
            value = binding.catReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catReturn Exception caught: " + re );
        }
        try {
            binding.catIn(persion);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(persion));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }

        try {
            BooleanHolder bh = new BooleanHolder(true);
            boolean actual = binding.methodBoolean(true, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodBoolean Exception caught: " + re );
        }
        try {
            ByteHolder bh = new ByteHolder((byte)5);
            byte actual = binding.methodByte((byte)5, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodByte Exception caught: " + re );
        }
        try {
            ShortHolder sh = new ShortHolder((short)127);
            short actual = binding.methodShort((short)127, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodShort Exception caught: " + re );
        }
        try {
            IntHolder ih = new IntHolder(2002);
            int actual = binding.methodInt(2002, ih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInt Exception caught: " + re );
        }
        try {
            LongHolder lh = new LongHolder(14003L);
            long actual = binding.methodLong(14003L, lh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodLong Exception caught: " + re );
        }
        try {
            FloatHolder fh = new FloatHolder(2.342F);
            float delta = 0.0F;
            float actual = binding.methodFloat(2.342F, fh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodFloat Exception caught: " + re );
        }
        try {
            DoubleHolder dh = new DoubleHolder(5006.345D);
            double value = 110312.2325D;
            double delta = 0.0D;
            double actual = binding.methodDouble(5006.345D, dh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDouble Exception caught: " + re );
        }
        try {
            String sendValue = "Sent String";
            StringHolder sh = new StringHolder(sendValue);
            String actual = binding.methodString(sendValue, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodString Exception caught: " + re );
        }
        try {
            java.math.BigInteger sendValue = new java.math.BigInteger("3048");
            BigIntegerHolder bih = new BigIntegerHolder(sendValue);
            java.math.BigInteger actual = binding.methodInteger(sendValue, bih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInteger Exception caught: " + re );
        }
        try {
            java.math.BigDecimal sendValue = new java.math.BigDecimal("1205.258");
            BigDecimalHolder bdh = new BigDecimalHolder(sendValue);
            java.math.BigDecimal actual = binding.methodDecimal(sendValue, bdh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDecimal Exception caught: " + re );
        }
        try {
            Calendar sendValue = Calendar.getInstance();
            sendValue.setTime(new Date(1012182070626L));
            CalendarHolder ch = new CalendarHolder(sendValue);
            Calendar actual = binding.methodDateTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDateTime Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodBase64Binary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            QName sendValue = new QName("test1", "test2");
            QNameHolder qh = new QNameHolder(sendValue);
            QName actual = binding.methodQName(sendValue, qh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodQName Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodHexBinary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            org.apache.axis.types.Time sendValue = new org.apache.axis.types.Time("15:30:45.245Z");
            TimeHolder ch = new TimeHolder(sendValue);
            org.apache.axis.types.Time actual = binding.methodTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodTime Exception caught: " + re );
        }
        try {
            UnsignedLong sendValue = null;
            try {
                sendValue = new UnsignedLong(18446744073709551600D);
            } catch (Exception e) {
            }
            UnsignedLongHolder ch = new UnsignedLongHolder(sendValue);
            UnsignedLong actual = binding.methodUnsignedLong(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedLong Exception caught: " + re );
        }
        try {
            UnsignedInt sendValue = null;
            try {
                sendValue = new UnsignedInt(4294967200L);
            } catch (Exception e) {
            }
            UnsignedIntHolder ch = new UnsignedIntHolder(sendValue);
            UnsignedInt actual = binding.methodUnsignedInt(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedInt Exception caught: " + re );
        }
        try {
            UnsignedShort sendValue = null;
            try {
                sendValue = new UnsignedShort(65530);
            } catch (Exception e) {
            }
            UnsignedShortHolder ch = new UnsignedShortHolder(sendValue);
            UnsignedShort actual = binding.methodUnsignedShort(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedShort Exception caught: " + re );
        }
        try {
            UnsignedByte sendValue = null;
            try {
                sendValue = new UnsignedByte(250);
            } catch (Exception e) {
            }
            UnsignedByteHolder ch = new UnsignedByteHolder(sendValue);
            UnsignedByte actual = binding.methodUnsignedByte(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedByte Exception caught: " + re );
        }
        try {
            NonNegativeInteger sendValue = new NonNegativeInteger("246802468024680");
View Full Code Here

        // setup unsigned
        UnsignedLong ulong = null;
        UnsignedInt uint = null;
        UnsignedShort ushort = null;
        UnsignedByte ubyte = null;
        NonNegativeInteger nnint = null;
        PositiveInteger pint = null;
        NonPositiveInteger npint = null;
        NegativeInteger nint = null;
        URI uri = null;
        Year year = null;
        Month month = null;
        Day day = null;
        YearMonth yearmonth = null;
        MonthDay monthday = null;

        try {
            ulong = new UnsignedLong(7777);
            uint = new UnsignedInt(777);
            ushort = new UnsignedShort(77);
            ubyte = new UnsignedByte(7);
            nnint = new NonNegativeInteger("7");
            pint = new PositiveInteger("7");
            npint = new NonPositiveInteger("-7");
            nint = new NegativeInteger("-7");
            uri = new URI("urn:this-is-a-test");
            year =  new Year(1995);
            month = new Month(7);
            day = new Day(13);
            yearmonth = new YearMonth(2002, 8);
            monthday = new MonthDay(8, 26);
        } catch (Exception e) {
            // possibly thrown from constructors
            // wont happen since we know the values are good!
        }

        try {
            binding.allPrimitivesIn(
                    "hi",
                    new java.math.BigInteger("5"),
                    0,
                    (long) 0,
                    (short) 0,
                    new java.math.BigDecimal(6),
                    (float) 0,
                    (double) 0,
                    true,
                    (byte) 0,
                    new QName("hi", "ho"),
                    Calendar.getInstance(),
                    new byte[]{(byte) 5},
                    new byte[]{(byte) 6},
                    "hi ho",
                    new Boolean(true),
                    new Float(0),
                    new Double(0),
                    new java.math.BigDecimal(7),
                    new Integer(0),
                    new Short((short) 0),
                    new byte[]{(byte) 7},
                    new org.apache.axis.types.Time("12:01:30.150Z"),
                    ulong,
                    uint,
                    ushort,
                    ubyte,
                    nnint,
                    pint,
                    npint,
                    nint,
                    uri,
                    year,
                    month,
                    day,
                    yearmonth,
                    monthday
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitives: " + re );
        }
        try {
            binding.allPrimitivesInout(
                    new StringHolder("hi"),
                    new BigIntegerHolder(new java.math.BigInteger("0")),
                    new IntHolder(1),
                    new LongHolder(2),
                    new ShortHolder((short) 3),
                    new BigDecimalHolder(new java.math.BigDecimal(4)),
                    new FloatHolder(5),
                    new DoubleHolder(6),
                    new BooleanHolder(true),
                    new ByteHolder((byte) 7),
                    new QNameHolder(new QName("ho", "hi")),
                    new CalendarHolder(Calendar.getInstance()),
                    new ByteArrayHolder(new byte[]{(byte) 8}),
                    new ByteArrayHolder(new byte[]{(byte) 9}),
                    new StringHolder("ho hi"),
                    new BooleanWrapperHolder(new Boolean(true)),
                    new FloatWrapperHolder(new Float(10)),
                    new DoubleWrapperHolder(new Double(11)),
                    new BigDecimalHolder(new java.math.BigDecimal(12)),
                    new IntegerWrapperHolder(new Integer(13)),
                    new ShortWrapperHolder(new Short((short) 14)),
                    new ByteArrayHolder(new byte[]{(byte) 15}),
                    new TimeHolder(new org.apache.axis.types.Time("12:01:30.150Z")),
                    new UnsignedLongHolder(ulong),
                    new UnsignedIntHolder(uint),
                    new UnsignedShortHolder(ushort),
                    new UnsignedByteHolder(ubyte),
                    new NonNegativeIntegerHolder(nnint),
                    new PositiveIntegerHolder(pint),
                    new NonPositiveIntegerHolder(npint),
                    new NegativeIntegerHolder(nint),
                    new URIHolder(uri),
                    new YearHolder(year),
                    new MonthHolder(month),
                    new DayHolder(day),
                    new YearMonthHolder(yearmonth),
                    new MonthDayHolder(monthday)
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesInout Exception caught: " + re );
        }
        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(),
                    new ShortWrapperHolder(),
                    new ByteArrayHolder(),
                    new TimeHolder(),
                    new UnsignedLongHolder(),
                    new UnsignedIntHolder(),
                    new UnsignedShortHolder(),
                    new UnsignedByteHolder(),
                    new NonNegativeIntegerHolder(),
                    new PositiveIntegerHolder(),
                    new NonPositiveIntegerHolder(),
                    new NegativeIntegerHolder(),
                    new URIHolder(),
                    new YearHolder(),
                    new MonthHolder(),
                    new DayHolder(),
                    new YearMonthHolder(),
                    new MonthDayHolder()
                   
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesOut Exception caught: " + re );
        }
        try {
            binding.enumIn(Enum.one);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumIn Exception caught: " + re );
        }
        try {
            binding.enumInout(new EnumHolder(Enum.two));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumInout Exception caught: " + re );
        }
        try {
            EnumHolder value = new EnumHolder();
            binding.enumOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumOut Exception caught: " + re );
        }
        try {
            Enum value = null;
            value = binding.enumReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumReturn Exception caught: " + re );
        }
        try {
            binding.arrayIn(new String[] {"hi", "ho"});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayIn Exception caught: " + re);
        }
        try {
            binding.arrayInout(new ArrayHolder(new String[] {"hee", "hee"}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayInout Exception caught: " + re);
        }
        try {
            ArrayHolder value = new ArrayHolder();
            binding.arrayOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayOut Exception caught: " + re);
        }
        try {
            String[] value = binding.arrayReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayReturn Exception caught: " + re);
        }
        try {
            binding.arrayMIn(new int[][][] {new int[][] {new int[] {2}}});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMIn Exception caught: " + re);
        }
        try {
            binding.arrayMInout(new ArrayMHolder(new int[][][] {new int[][] {new int[] {2}}}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMInout Exception caught: " + re);
        }
        try {
            ArrayMHolder value = new ArrayMHolder();
            binding.arrayMOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMOut Exception caught: " + re);
        }
        try {
            int[][][] value = binding.arrayMReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMReturn Exception caught: " + re);
        }
        ComplexAll complexAll = new ComplexAll();
        complexAll.setAreaCode(512);
        complexAll.setExchange("838");
        complexAll.setNumber("4544");
        try {
            binding.complexAllIn(complexAll);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllIn Exception caught: " + re);
        }
        try {
            binding.complexAllInout(new ComplexAllHolder(complexAll));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllInout Exception caught: " + re );
        }
        try {
            ComplexAllHolder value = new ComplexAllHolder();
            binding.complexAllOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllOut Exception caught: " + re );
        }
        try {
            ComplexAll value = null;
            value = binding.complexAllReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllReturn Exception caught: " + re );
        }
        ComplexSequence complexSequence = new ComplexSequence();
        complexSequence.setAreaCode(512);
        complexSequence.setExchange("838");
        complexSequence.setNumber("4544");

        try {
            binding.complexSequenceIn(complexSequence);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceIn Exception caught: " + re );
        }
        try {
            binding.complexSequenceInout(new ComplexSequenceHolder(complexSequence));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceInout Exception caught: " + re );
        }
        try {
            ComplexSequenceHolder value = new ComplexSequenceHolder();
            binding.complexSequenceOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceOut Exception caught: " + re );
        }
        try {
            ComplexSequence value = null;
            value = binding.complexSequenceReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceReturn Exception caught: " + re );
        }
        String[] optArray = new String[] {"abc", "def"};
        byte[][] byteArray = new byte[][] { new byte[] {'a', 'b', 'c'}, new byte[] {'x', 'y', 'z'} };
        B b = new B();
        A a = new A();
        a.setC(3);
        b.setD(a);
        _elemWComplex elemWComplex = new _elemWComplex();
        StringParameter sp = new StringParameter("sweet!");
        sp.setDescription("Pass this as an element and an attribute...wow!");

        elemWComplex.setOne( new Simple("one"));
        elemWComplex.setTwo( new QName[] {new QName("two")});
        elemWComplex.setThree( new Enum[] {Enum.three});
        elemWComplex.setEnum1( EnumString.value1);
        elemWComplex.setEnum2( EnumInt.value1);
        elemWComplex.setEnum3( EnumLong.value2);
        elemWComplex.setEnum4( EnumFloat.value3);
        elemWComplex.setEnum5( EnumDouble.value3);
        elemWComplex.setEnum6( EnumShort.value2);
        elemWComplex.setEnum7( EnumByte.value1);
        elemWComplex.setNested( b);
        elemWComplex.setOptArray( optArray );
        elemWComplex.setByteArray( byteArray );
        elemWComplex.setAttr(Enum.two);
        elemWComplex.setParm(sp);
        elemWComplex.setParmAttr(sp);

        try {
            binding.elemWComplexIn(elemWComplex);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexIn Exception caught: " + re );
        }
        try {
            binding.elemWComplexInout(new _elemWComplexHolder(elemWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexInout Exception caught: " + re );
        }
        try {
            _elemWComplexHolder value = new _elemWComplexHolder();
            binding.elemWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexOut Exception caught: " + re );
        }
        try {
            _elemWComplex value = null;
            value = binding.elemWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexReturn Exception caught: " + re );
        }
        _complexWComplex_stock_quote stockQuote = new _complexWComplex_stock_quote();
        Time time = new Time();
        time.setDST(false);
        stockQuote.setTime(time);
        stockQuote.setChange(new SimpleFwd("5"));
        stockQuote.setPctchange("100%");
        stockQuote.setBid("9");
        stockQuote.setAsk("11");
        stockQuote.setSymbol("AXS");
        stockQuote.setLast("5");
        ComplexWComplex complexWComplex = new ComplexWComplex();
        complexWComplex.setStock_quote(stockQuote);
        complexWComplex.setOutside(22);
        try {
            binding.complexWComplexIn(complexWComplex);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexIn Exception caught: " + re );
        }
        try {
            binding.complexWComplexInout(new ComplexWComplexHolder(complexWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexInout Exception caught: " + re );
        }
        try {
            ComplexWComplexHolder value = new ComplexWComplexHolder();
            binding.complexWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexOut Exception caught: " + re );
        }
        try {
            ComplexWComplex value = null;
            value = binding.complexWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexReturn Exception caught: " + re );
        }
        try {
            EmptyComplexType value = new EmptyComplexType();
            binding.emptyComplexTypeIn(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeIn Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder( new EmptyComplexType());
            binding.emptyComplexTypeInout(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeInout Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder();
            binding.emptyComplexTypeOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeOut Exception caught: " + re );
        }
        try {
            EmptyComplexType value = null;
            value = binding.emptyComplexTypeReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeReturn Exception caught: " + re );
        }
        try {
            binding.anyIn(new java.lang.String("hi ho"));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyIn Exception caught: " + re );
        }
        try {
            binding.anyInout(new ObjectHolder(new java.lang.String("yo ho ho")));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyInout Exception caught: " + re );
        }
        try {
            ObjectHolder value = new ObjectHolder();
            binding.anyOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyOut Exception caught: " + re );
        }
        try {
            java.lang.Object value = binding.anyReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
        }
        Cat cat = new Cat();
        cat.setPurr("meow");
        PersionCat persion = new PersionCat();
        Yarn yarn = new Yarn();
        yarn.setColor("green");
        persion.setPurr("meow meow");
        persion.setColor("blue");
        persion.setToy(yarn);
        try {
            binding.animalIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalIn Exception caught: " + re );
        }
        try {
            binding.animalInout(new AnimalHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalInout Exception caught: " + re );
        }
        try {
            AnimalHolder value = new AnimalHolder();
            binding.animalOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalOut Exception caught: " + re );
        }
        try {
            Animal value = null;
            value = binding.animalReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalReturn Exception caught: " + re );
        }
        try {
            binding.catIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }
        try {
            CatHolder value = new CatHolder();
            binding.catOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catOut Exception caught: " + re );
        }
        try {
            Cat value = null;
            value = binding.catReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catReturn Exception caught: " + re );
        }
        try {
            binding.catIn(persion);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(persion));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }

        try {
            BooleanHolder bh = new BooleanHolder(true);
            boolean actual = binding.methodBoolean(true, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodBoolean Exception caught: " + re );
        }
        try {
            ByteHolder bh = new ByteHolder((byte)5);
            byte actual = binding.methodByte((byte)5, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodByte Exception caught: " + re );
        }
        try {
            ShortHolder sh = new ShortHolder((short)127);
            short actual = binding.methodShort((short)127, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodShort Exception caught: " + re );
        }
        try {
            IntHolder ih = new IntHolder(2002);
            int actual = binding.methodInt(2002, ih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInt Exception caught: " + re );
        }
        try {
            LongHolder lh = new LongHolder(14003L);
            long actual = binding.methodLong(14003L, lh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodLong Exception caught: " + re );
        }
        try {
            FloatHolder fh = new FloatHolder(2.342F);
            float delta = 0.0F;
            float actual = binding.methodFloat(2.342F, fh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodFloat Exception caught: " + re );
        }
        try {
            DoubleHolder dh = new DoubleHolder(5006.345D);
            double value = 110312.2325D;
            double delta = 0.0D;
            double actual = binding.methodDouble(5006.345D, dh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDouble Exception caught: " + re );
        }
        try {
            String sendValue = "Sent String";
            StringHolder sh = new StringHolder(sendValue);
            String actual = binding.methodString(sendValue, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodString Exception caught: " + re );
        }
        try {
            java.math.BigInteger sendValue = new java.math.BigInteger("3048");
            BigIntegerHolder bih = new BigIntegerHolder(sendValue);
            java.math.BigInteger actual = binding.methodInteger(sendValue, bih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInteger Exception caught: " + re );
        }
        try {
            java.math.BigDecimal sendValue = new java.math.BigDecimal("1205.258");
            BigDecimalHolder bdh = new BigDecimalHolder(sendValue);
            java.math.BigDecimal actual = binding.methodDecimal(sendValue, bdh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDecimal Exception caught: " + re );
        }
        try {
            Calendar sendValue = Calendar.getInstance();
            sendValue.setTime(new Date(1012182070626L));
            CalendarHolder ch = new CalendarHolder(sendValue);
            Calendar actual = binding.methodDateTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDateTime Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodBase64Binary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            QName sendValue = new QName("test1", "test2");
            QNameHolder qh = new QNameHolder(sendValue);
            QName actual = binding.methodQName(sendValue, qh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodQName Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodHexBinary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            org.apache.axis.types.Time sendValue = new org.apache.axis.types.Time("15:30:45.245Z");
            TimeHolder ch = new TimeHolder(sendValue);
            org.apache.axis.types.Time actual = binding.methodTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodTime Exception caught: " + re );
        }
        try {
            UnsignedLong sendValue = null;
            try {
                sendValue = new UnsignedLong(18446744073709551600D);
            } catch (Exception e) {
            }
            UnsignedLongHolder ch = new UnsignedLongHolder(sendValue);
            UnsignedLong actual = binding.methodUnsignedLong(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedLong Exception caught: " + re );
        }
        try {
            UnsignedInt sendValue = null;
            try {
                sendValue = new UnsignedInt(4294967200L);
            } catch (Exception e) {
            }
            UnsignedIntHolder ch = new UnsignedIntHolder(sendValue);
            UnsignedInt actual = binding.methodUnsignedInt(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedInt Exception caught: " + re );
        }
        try {
            UnsignedShort sendValue = null;
            try {
                sendValue = new UnsignedShort(65530);
            } catch (Exception e) {
            }
            UnsignedShortHolder ch = new UnsignedShortHolder(sendValue);
            UnsignedShort actual = binding.methodUnsignedShort(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedShort Exception caught: " + re );
        }
        try {
            UnsignedByte sendValue = null;
            try {
                sendValue = new UnsignedByte(250);
            } catch (Exception e) {
            }
            UnsignedByteHolder ch = new UnsignedByteHolder(sendValue);
            UnsignedByte actual = binding.methodUnsignedByte(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedByte Exception caught: " + re );
        }
        try {
            NonNegativeInteger sendValue = new NonNegativeInteger("246802468024680");
View Full Code Here

                    new UnsignedShort(102),true);
    }

    public void testUnsignedByte() throws Exception {
        deserialize("<result xsi:type=\"xsd:unsignedByte\">103</result>",
                    new UnsignedByte(103),true);
    }
View Full Code Here

        // setup unsigned
        UnsignedLong ulong = null;
        UnsignedInt uint = null;
        UnsignedShort ushort = null;
        UnsignedByte ubyte = null;
        NonNegativeInteger nnint = null;
        PositiveInteger pint = null;
        NonPositiveInteger npint = null;
        NegativeInteger nint = null;
        URI uri = null;
        Year year = null;
        Month month = null;
        Day day = null;
        YearMonth yearmonth = null;
        MonthDay monthday = null;

        try {
            ulong = new UnsignedLong(7777);
            uint = new UnsignedInt(777);
            ushort = new UnsignedShort(77);
            ubyte = new UnsignedByte(7);
            nnint = new NonNegativeInteger("7");
            pint = new PositiveInteger("7");
            npint = new NonPositiveInteger("-7");
            nint = new NegativeInteger("-7");
            uri = new URI("urn:this-is-a-test");
            year =  new Year(1995);
            month = new Month(7);
            day = new Day(13);
            yearmonth = new YearMonth(2002, 8);
            monthday = new MonthDay(8, 26);
        } catch (Exception e) {
            // possibly thrown from constructors
            // wont happen since we know the values are good!
        }

        try {
            binding.allPrimitivesIn(
                    "hi",
                    new java.math.BigInteger("5"),
                    0,
                    (long) 0,
                    (short) 0,
                    new java.math.BigDecimal(6),
                    (float) 0,
                    (double) 0,
                    true,
                    (byte) 0,
                    new QName("hi", "ho"),
                    Calendar.getInstance(),
                    new byte[]{(byte) 5},
                    new byte[]{(byte) 6},
                    "hi ho",
                    new Boolean(true),
                    new Float(0),
                    new Double(0),
                    new java.math.BigDecimal(7),
                    new Integer(0),
                    new Short((short) 0),
                    new byte[]{(byte) 7},
                    new org.apache.axis.types.Time("12:01:30.150Z"),
                    ulong,
                    uint,
                    ushort,
                    ubyte,
                    nnint,
                    pint,
                    npint,
                    nint,
                    uri,
                    year,
                    month,
                    day,
                    yearmonth,
                    monthday
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitives: " + re );
        }
        try {
            binding.allPrimitivesInout(
                    new StringHolder("hi"),
                    new BigIntegerHolder(new java.math.BigInteger("0")),
                    new IntHolder(1),
                    new LongHolder(2),
                    new ShortHolder((short) 3),
                    new BigDecimalHolder(new java.math.BigDecimal(4)),
                    new FloatHolder(5),
                    new DoubleHolder(6),
                    new BooleanHolder(true),
                    new ByteHolder((byte) 7),
                    new QNameHolder(new QName("ho", "hi")),
                    new CalendarHolder(Calendar.getInstance()),
                    new ByteArrayHolder(new byte[]{(byte) 8}),
                    new ByteArrayHolder(new byte[]{(byte) 9}),
                    new StringHolder("ho hi"),
                    new BooleanWrapperHolder(new Boolean(true)),
                    new FloatWrapperHolder(new Float(10)),
                    new DoubleWrapperHolder(new Double(11)),
                    new BigDecimalHolder(new java.math.BigDecimal(12)),
                    new IntegerWrapperHolder(new Integer(13)),
                    new ShortWrapperHolder(new Short((short) 14)),
                    new ByteArrayHolder(new byte[]{(byte) 15}),
                    new TimeHolder(new org.apache.axis.types.Time("12:01:30.150Z")),
                    new UnsignedLongHolder(ulong),
                    new UnsignedIntHolder(uint),
                    new UnsignedShortHolder(ushort),
                    new UnsignedByteHolder(ubyte),
                    new NonNegativeIntegerHolder(nnint),
                    new PositiveIntegerHolder(pint),
                    new NonPositiveIntegerHolder(npint),
                    new NegativeIntegerHolder(nint),
                    new URIHolder(uri),
                    new YearHolder(year),
                    new MonthHolder(month),
                    new DayHolder(day),
                    new YearMonthHolder(yearmonth),
                    new MonthDayHolder(monthday)
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesInout Exception caught: " + re );
        }
        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(),
                    new ShortWrapperHolder(),
                    new ByteArrayHolder(),
                    new TimeHolder(),
                    new UnsignedLongHolder(),
                    new UnsignedIntHolder(),
                    new UnsignedShortHolder(),
                    new UnsignedByteHolder(),
                    new NonNegativeIntegerHolder(),
                    new PositiveIntegerHolder(),
                    new NonPositiveIntegerHolder(),
                    new NegativeIntegerHolder(),
                    new URIHolder(),
                    new YearHolder(),
                    new MonthHolder(),
                    new DayHolder(),
                    new YearMonthHolder(),
                    new MonthDayHolder()
                   
            );
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("allPrimitivesOut Exception caught: " + re );
        }
        try {
            binding.enumIn(Enum.one);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumIn Exception caught: " + re );
        }
        try {
            binding.enumInout(new EnumHolder(Enum.two));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumInout Exception caught: " + re );
        }
        try {
            EnumHolder value = new EnumHolder();
            binding.enumOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumOut Exception caught: " + re );
        }
        try {
            Enum value = null;
            value = binding.enumReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("enumReturn Exception caught: " + re );
        }
        try {
            binding.arrayIn(new String[] {"hi", "ho"});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayIn Exception caught: " + re);
        }
        try {
            binding.arrayInout(new ArrayHolder(new String[] {"hee", "hee"}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayInout Exception caught: " + re);
        }
        try {
            ArrayHolder value = new ArrayHolder();
            binding.arrayOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayOut Exception caught: " + re);
        }
        try {
            String[] value = binding.arrayReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayReturn Exception caught: " + re);
        }
        try {
            binding.arrayMIn(new int[][][] {new int[][] {new int[] {2}}});
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMIn Exception caught: " + re);
        }
        try {
            binding.arrayMInout(new ArrayMHolder(new int[][][] {new int[][] {new int[] {2}}}));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMInout Exception caught: " + re);
        }
        try {
            ArrayMHolder value = new ArrayMHolder();
            binding.arrayMOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMOut Exception caught: " + re);
        }
        try {
            int[][][] value = binding.arrayMReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("arrayMReturn Exception caught: " + re);
        }
        ComplexAll complexAll = new ComplexAll();
        complexAll.setAreaCode(512);
        complexAll.setExchange("838");
        complexAll.setNumber("4544");
        try {
            binding.complexAllIn(complexAll);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllIn Exception caught: " + re);
        }
        try {
            binding.complexAllInout(new ComplexAllHolder(complexAll));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllInout Exception caught: " + re );
        }
        try {
            ComplexAllHolder value = new ComplexAllHolder();
            binding.complexAllOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllOut Exception caught: " + re );
        }
        try {
            ComplexAll value = null;
            value = binding.complexAllReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexAllReturn Exception caught: " + re );
        }
        ComplexSequence complexSequence = new ComplexSequence();
        complexSequence.setAreaCode(512);
        complexSequence.setExchange("838");
        complexSequence.setNumber("4544");

        try {
            binding.complexSequenceIn(complexSequence);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceIn Exception caught: " + re );
        }
        try {
            binding.complexSequenceInout(new ComplexSequenceHolder(complexSequence));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceInout Exception caught: " + re );
        }
        try {
            ComplexSequenceHolder value = new ComplexSequenceHolder();
            binding.complexSequenceOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceOut Exception caught: " + re );
        }
        try {
            ComplexSequence value = null;
            value = binding.complexSequenceReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexSequenceReturn Exception caught: " + re );
        }
        String[] optArray = new String[] {"abc", "def"};
        byte[][] byteArray = new byte[][] { new byte[] {'a', 'b', 'c'}, new byte[] {'x', 'y', 'z'} };
        B b = new B();
        A a = new A();
        a.setC(3);
        b.setD(a);
        ElemWComplex elemWComplex = new ElemWComplex();
        StringParameter sp = new StringParameter("sweet!");
        sp.setDescription("Pass this as an element and an attribute...wow!");

        elemWComplex.setOne( new Simple("one"));
        elemWComplex.setTwo( new QName[] {new QName("two")});
        elemWComplex.setThree( new Enum[] {Enum.three});
        elemWComplex.setEnum1( EnumString.value1);
        elemWComplex.setEnum2( EnumInt.value1);
        elemWComplex.setEnum3( EnumLong.value2);
        elemWComplex.setEnum4( EnumFloat.value3);
        elemWComplex.setEnum5( EnumDouble.value3);
        elemWComplex.setEnum6( EnumShort.value2);
        elemWComplex.setEnum7( EnumByte.value1);
        elemWComplex.setNested( b);
        elemWComplex.setOptArray( optArray );
        elemWComplex.setByteArray( byteArray );
        elemWComplex.setAttr(Enum.two);
        elemWComplex.setParm(sp);
        elemWComplex.setParmAttr(sp);

        try {
            binding.elemWComplexIn(elemWComplex);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexIn Exception caught: " + re );
        }
        try {
            binding.elemWComplexInout(new ElemWComplexHolder(elemWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexInout Exception caught: " + re );
        }
        try {
            ElemWComplexHolder value = new ElemWComplexHolder();
            binding.elemWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexOut Exception caught: " + re );
        }
        try {
            ElemWComplex value = null;
            value = binding.elemWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("elemWComplexReturn Exception caught: " + re );
        }
        Stock_Quote stockQuote = new Stock_Quote();
        Time time = new Time();
        time.setDST(false);
        stockQuote.setTime(time);
        stockQuote.setChange(new SimpleFwd("5"));
        stockQuote.setPctchange("100%");
        stockQuote.setBid("9");
        stockQuote.setAsk("11");
        stockQuote.setSymbol("AXS");
        stockQuote.setLast("5");
        ComplexWComplex complexWComplex = new ComplexWComplex();
        complexWComplex.setStock_Quote(stockQuote);
        complexWComplex.setOutside(22);
        try {
            binding.complexWComplexIn(complexWComplex);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexIn Exception caught: " + re );
        }
        try {
            binding.complexWComplexInout(new ComplexWComplexHolder(complexWComplex));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexInout Exception caught: " + re );
        }
        try {
            ComplexWComplexHolder value = new ComplexWComplexHolder();
            binding.complexWComplexOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexOut Exception caught: " + re );
        }
        try {
            ComplexWComplex value = null;
            value = binding.complexWComplexReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("complexWComplexReturn Exception caught: " + re );
        }
        try {
            EmptyComplexType value = new EmptyComplexType();
            binding.emptyComplexTypeIn(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeIn Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder( new EmptyComplexType());
            binding.emptyComplexTypeInout(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeInout Exception caught: " + re );
        }
        try {
            EmptyComplexTypeHolder value = new EmptyComplexTypeHolder();
            binding.emptyComplexTypeOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeOut Exception caught: " + re );
        }
        try {
            EmptyComplexType value = null;
            value = binding.emptyComplexTypeReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("emptyComplexTypeReturn Exception caught: " + re );
        }
        try {
            binding.anyIn(new java.lang.String("hi ho"));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyIn Exception caught: " + re );
        }
        try {
            binding.anyInout(new ObjectHolder(new java.lang.String("yo ho ho")));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyInout Exception caught: " + re );
        }
        try {
            ObjectHolder value = new ObjectHolder();
            binding.anyOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("anyOut Exception caught: " + re );
        }
        try {
            java.lang.Object value = binding.anyReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
        }
        Cat cat = new Cat();
        cat.setPurr("meow");
        PersionCat persion = new PersionCat();
        Yarn yarn = new Yarn();
        yarn.setColor("green");
        persion.setPurr("meow meow");
        persion.setColor("blue");
        persion.setToy(yarn);
        try {
            binding.animalIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalIn Exception caught: " + re );
        }
        try {
            binding.animalInout(new AnimalHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalInout Exception caught: " + re );
        }
        try {
            AnimalHolder value = new AnimalHolder();
            binding.animalOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalOut Exception caught: " + re );
        }
        try {
            Animal value = null;
            value = binding.animalReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalReturn Exception caught: " + re );
        }
        try {
            binding.catIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }
        try {
            CatHolder value = new CatHolder();
            binding.catOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catOut Exception caught: " + re );
        }
        try {
            Cat value = null;
            value = binding.catReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catReturn Exception caught: " + re );
        }
        try {
            binding.catIn(persion);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(persion));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }

        try {
            BooleanHolder bh = new BooleanHolder(true);
            boolean actual = binding.methodBoolean(true, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodBoolean Exception caught: " + re );
        }
        try {
            ByteHolder bh = new ByteHolder((byte)5);
            byte actual = binding.methodByte((byte)5, bh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodByte Exception caught: " + re );
        }
        try {
            ShortHolder sh = new ShortHolder((short)127);
            short actual = binding.methodShort((short)127, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodShort Exception caught: " + re );
        }
        try {
            IntHolder ih = new IntHolder(2002);
            int actual = binding.methodInt(2002, ih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInt Exception caught: " + re );
        }
        try {
            LongHolder lh = new LongHolder(14003L);
            long actual = binding.methodLong(14003L, lh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodLong Exception caught: " + re );
        }
        try {
            FloatHolder fh = new FloatHolder(2.342F);
            float delta = 0.0F;
            float actual = binding.methodFloat(2.342F, fh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodFloat Exception caught: " + re );
        }
        try {
            DoubleHolder dh = new DoubleHolder(5006.345D);
            double value = 110312.2325D;
            double delta = 0.0D;
            double actual = binding.methodDouble(5006.345D, dh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDouble Exception caught: " + re );
        }
        try {
            String sendValue = "Sent String";
            StringHolder sh = new StringHolder(sendValue);
            String actual = binding.methodString(sendValue, sh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodString Exception caught: " + re );
        }
        try {
            java.math.BigInteger sendValue = new java.math.BigInteger("3048");
            BigIntegerHolder bih = new BigIntegerHolder(sendValue);
            java.math.BigInteger actual = binding.methodInteger(sendValue, bih);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodInteger Exception caught: " + re );
        }
        try {
            java.math.BigDecimal sendValue = new java.math.BigDecimal("1205.258");
            BigDecimalHolder bdh = new BigDecimalHolder(sendValue);
            java.math.BigDecimal actual = binding.methodDecimal(sendValue, bdh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDecimal Exception caught: " + re );
        }
        try {
            Calendar sendValue = Calendar.getInstance();
            sendValue.setTime(new Date(1012182070626L));
            CalendarHolder ch = new CalendarHolder(sendValue);
            Calendar actual = binding.methodDateTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodDateTime Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodBase64Binary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            QName sendValue = new QName("test1", "test2");
            QNameHolder qh = new QNameHolder(sendValue);
            QName actual = binding.methodQName(sendValue, qh);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodQName Exception caught: " + re );
        }
// Comment out for now because causes compile errors
//        try {
//            byte[] sendValue = {(byte) 10, (byte) 9};
//            ByteArrayHolder bah = new ByteArrayHolder(sendValue);
//            byte[] actual = binding.methodHexBinary(sendValue, bah);
//        } catch (java.rmi.RemoteException re) {
//            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
//        }
        try {
            org.apache.axis.types.Time sendValue = new org.apache.axis.types.Time("15:30:45.245Z");
            TimeHolder ch = new TimeHolder(sendValue);
            org.apache.axis.types.Time actual = binding.methodTime(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodTime Exception caught: " + re );
        }
        try {
            UnsignedLong sendValue = null;
            try {
                sendValue = new UnsignedLong(18446744073709551600D);
            } catch (Exception e) {
            }
            UnsignedLongHolder ch = new UnsignedLongHolder(sendValue);
            UnsignedLong actual = binding.methodUnsignedLong(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedLong Exception caught: " + re );
        }
        try {
            UnsignedInt sendValue = null;
            try {
                sendValue = new UnsignedInt(4294967200L);
            } catch (Exception e) {
            }
            UnsignedIntHolder ch = new UnsignedIntHolder(sendValue);
            UnsignedInt actual = binding.methodUnsignedInt(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedInt Exception caught: " + re );
        }
        try {
            UnsignedShort sendValue = null;
            try {
                sendValue = new UnsignedShort(65530);
            } catch (Exception e) {
            }
            UnsignedShortHolder ch = new UnsignedShortHolder(sendValue);
            UnsignedShort actual = binding.methodUnsignedShort(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedShort Exception caught: " + re );
        }
        try {
            UnsignedByte sendValue = null;
            try {
                sendValue = new UnsignedByte(250);
            } catch (Exception e) {
            }
            UnsignedByteHolder ch = new UnsignedByteHolder(sendValue);
            UnsignedByte actual = binding.methodUnsignedByte(sendValue, ch);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("methodUnsignedByte Exception caught: " + re );
        }
        try {
            NonNegativeInteger sendValue = new NonNegativeInteger("246802468024680");
View Full Code Here

    /**
     * Run a failure test.  value should be invalid.
     */
    private void runFailTest(long value) throws Exception {
        UnsignedByte oUnsignedByte = null;
        try {
            oUnsignedByte = new UnsignedByte(value);
        }
        catch (Exception e) { // catch the validation exception
        }
        // object is not iNstantiated on bad data value
        assertNull("validation restriction failed [" +
View Full Code Here

TOP

Related Classes of org.apache.axis.types.UnsignedByte

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.