Examples of BondInvestment


Examples of test.wsdl.roundtrip.BondInvestment

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
            Byte[] wrapperByteArray = {new Byte((byte) 2), new Byte((byte) 15)};

            BondInvestment sendValue = new BondInvestment();

            sendValue.setMap(map);
            sendValue.setOptions(callOptions);
            sendValue.setOptions2(callOptions);
            sendValue.setOptions3(callOptions[0]);
            sendValue.setWrapperShortArray(wrapperShortArray);
            sendValue.setWrapperByteArray(wrapperByteArray);
            sendValue.setWrapperDouble(new Double(2323.232D));
            sendValue.setWrapperFloat(new Float(23.023F));
            sendValue.setWrapperInteger(new Integer(2093));
            sendValue.setWrapperShort(new Short((short) 203));
            sendValue.setWrapperByte(new Byte((byte) 20));
            sendValue.setWrapperBoolean(new Boolean(true));
            sendValue.setShortArray(shortArray);
            sendValue.setByteArray(byteArray);
            date = Calendar.getInstance();
            date.setTimeZone(gmt);
            date.setTime(new Date(1012937861996L));
            sendValue.setCallableDate(date);
            sendValue.setBondAmount(new BigDecimal("2675.23"));
            sendValue.setPortfolioType(new BigInteger("2093"));
            sendValue.setTradeExchange("NYSE");
            sendValue.setFiftyTwoWeekHigh(45.012D);
            sendValue.setLastTradePrice(87895.32F);
            sendValue.setYield(5475L);
            sendValue.setStockBeta(32);
            sendValue.setDocType((short) 35);
            sendValue.setTaxIndicator((byte) 3);

            BondInvestment actual = binding.methodBondInvestmentInOut(sendValue);
            date.setTime(new Date(1013441507308L));

            assertEquals("Returned map is not correct.",
                         (String) actual.getMap().get("Test"), "Test Works");
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[0].getCallDate());
            date.setTime(new Date(1013441507328L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[1].getCallDate());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 33),
                         actual.getWrapperShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 86),
                         actual.getWrapperShortArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 4),
                         actual.getWrapperByteArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 18),
                         actual.getWrapperByteArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Double(33.232D),
                         actual.getWrapperDouble());
            assertEquals("The expected and actual values did not match.",
                         new Float(2.23F),
                         actual.getWrapperFloat());
            assertEquals("The expected and actual values did not match.",
                         new Integer(3),
                         actual.getWrapperInteger());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 2),
                         actual.getWrapperShort());
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 21),
                         actual.getWrapperByte());
            assertEquals("The expected and actual values did not match.",
                         new Boolean(false),
                         actual.getWrapperBoolean());
            assertEquals("The expected and actual values did not match.",
                         (short) 36,
                         actual.getShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         (byte) 7,
                         actual.getByteArray()[0]);
            date.setTime(new Date(1012937862997L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getCallableDate());
            assertEquals("The expected and actual values did not match.",
                         new BigDecimal("2735.23"),
                         actual.getBondAmount());
            assertEquals("The expected and actual values did not match.",
                         new BigInteger("21093"),
                         actual.getPortfolioType());
            assertEquals("The expected and actual values did not match.",
                         new String("AMEX"),
                         actual.getTradeExchange());
            assertEquals("The expected and actual values did not match.",
                         415.012D,
                         actual.getFiftyTwoWeekHigh(),
                         DOUBLE_DELTA);
            assertEquals("The expected and actual values did not match.",
                         8795.32F,
                         actual.getLastTradePrice(),
                         FLOAT_DELTA);
            assertEquals("The expected and actual values did not match.",
                         575L,
                         actual.getYield());
            assertEquals("The expected and actual values did not match.",
                         3,
                         actual.getStockBeta());
            assertEquals("The expected and actual values did not match.",
                         (short) 45,
                         actual.getDocType());
            assertEquals("The expected and actual values did not match.",
                         (byte) 8,
                         actual.getTaxIndicator());

        } catch (RemoteException re) {
            fail("Remote Exception caught: " + re);
        }
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

     *  by a remote method contains the expected values.
     */
    public void testBondInvestmentOut() {

        try {
            BondInvestment actual = binding.methodBondInvestmentOut();
            Calendar date = Calendar.getInstance();
            TimeZone gmt = TimeZone.getTimeZone("GMT");
            date.setTimeZone(gmt);
            date.setTime(new Date(1013441507308L));
            assertEquals("Returned map is not correct.",
                         (String) actual.getMap().get("Test"), "Test Works");
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[0].getCallDate());
            date.setTime(new Date(1013441507328L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[1].getCallDate());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 33),
                         actual.getWrapperShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 86),
                         actual.getWrapperShortArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 4),
                         actual.getWrapperByteArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 18),
                         actual.getWrapperByteArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Double(33.232D),
                         actual.getWrapperDouble());
            assertEquals("The expected and actual values did not match.",
                         new Float(2.23F),
                         actual.getWrapperFloat());
            assertEquals("The expected and actual values did not match.",
                         new Integer(3),
                         actual.getWrapperInteger());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 2),
                         actual.getWrapperShort());
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 21),
                         actual.getWrapperByte());
            assertEquals("The expected and actual values did not match.",
                         new Boolean(false),
                         actual.getWrapperBoolean());
            assertEquals("The expected and actual values did not match.",
                         (short) 36,
                         actual.getShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         (byte) 7,
                         actual.getByteArray()[0]);
            date.setTime(new Date(1012937862997L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getCallableDate());
            assertEquals("The expected and actual values did not match.",
                         new BigDecimal("2735.23"),
                         actual.getBondAmount());
            assertEquals("The expected and actual values did not match.",
                         new BigInteger("21093"),
                         actual.getPortfolioType());
            assertEquals("The expected and actual values did not match.",
                         new String("AMEX"),
                         actual.getTradeExchange());
            assertEquals("The expected and actual values did not match.",
                         415.012D,
                         actual.getFiftyTwoWeekHigh(),
                         DOUBLE_DELTA);
            assertEquals("The expected and actual values did not match.",
                         8795.32F,
                         actual.getLastTradePrice(),
                         FLOAT_DELTA);
            assertEquals("The expected and actual values did not match.",
                         575L,
                         actual.getYield());
            assertEquals("The expected and actual values did not match.",
                         3,
                         actual.getStockBeta());
            assertEquals("The expected and actual values did not match.",
                         (short) 45,
                         actual.getDocType());
            assertEquals("The expected and actual values did not match.",
                         (byte) 8,
                         actual.getTaxIndicator());
        } catch (RemoteException re) {
            fail("Remote Exception caught: " + re);
        }

    } // testBondInvestmentOut
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
            Byte[] wrapperByteArray = {new Byte((byte) 2), new Byte((byte) 15)};

            BondInvestment sendValue = new BondInvestment();
           
            sendValue.setMap(map);
            sendValue.setOptions(callOptions);
            sendValue.setOptions2(callOptions);
            sendValue.setOptions3(callOptions[0]);
            sendValue.setWrapperShortArray(wrapperShortArray);
            sendValue.setWrapperByteArray(wrapperByteArray);
            sendValue.setWrapperDouble(new Double(2323.232D));
            sendValue.setWrapperFloat(new Float(23.023F));
            sendValue.setWrapperInteger(new Integer(2093));
            sendValue.setWrapperShort(new Short((short) 203));
            sendValue.setWrapperByte(new Byte((byte) 20));
            sendValue.setWrapperBoolean(new Boolean(true));
            sendValue.setShortArray(shortArray);
            sendValue.setByteArray(byteArray);
            date = Calendar.getInstance();
            date.setTimeZone(gmt);
            date.setTime(new Date(1012937861996L));
            sendValue.setCallableDate(date);
            sendValue.setBondAmount(new BigDecimal("2675.23"));
            sendValue.setPortfolioType(new BigInteger("2093"));
            sendValue.setTradeExchange("NYSE");
            sendValue.setFiftyTwoWeekHigh(45.012D);
            sendValue.setLastTradePrice(87895.32F);
            sendValue.setYield(5475L);
            sendValue.setStockBeta(32);
            sendValue.setDocType((short) 35);
            sendValue.setTaxIndicator((byte) 3);

            binding.methodBondInvestmentIn(sendValue);

        } catch (RemoteException re) {
            fail("Remote Exception caught: " + re);
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
            Byte[] wrapperByteArray = {new Byte((byte) 2), new Byte((byte) 15)};

            BondInvestment sendValue = new BondInvestment();
           
            sendValue.setOptions(callOptions);
            sendValue.setOptions2(callOptions);
            sendValue.setOptions3(callOptions[0]);
            sendValue.setWrapperShortArray(wrapperShortArray);
            sendValue.setWrapperByteArray(wrapperByteArray);
            sendValue.setWrapperDouble(new Double(2323.232D));
            sendValue.setWrapperFloat(new Float(23.023F));
            sendValue.setWrapperInteger(new Integer(2093));
            sendValue.setWrapperShort(new Short((short) 203));
            sendValue.setWrapperByte(new Byte((byte) 20));
            sendValue.setWrapperBoolean(new Boolean(true));
            sendValue.setShortArray(shortArray);
            sendValue.setByteArray(byteArray);
            date = Calendar.getInstance();
            date.setTimeZone(gmt);
            date.setTime(new Date(1012937861996L));
            sendValue.setCallableDate(date);
            sendValue.setBondAmount(new BigDecimal("2675.23"));
            sendValue.setPortfolioType(new BigInteger("2093"));
            sendValue.setTradeExchange("NYSE");
            sendValue.setFiftyTwoWeekHigh(45.012D);
            sendValue.setLastTradePrice(87895.32F);
            sendValue.setYield(5475L);
            sendValue.setStockBeta(32);
            sendValue.setDocType((short) 35);
            sendValue.setTaxIndicator((byte) 3);
            sendValue.setId(-123);

            int id = binding.getId(sendValue);
            assertEquals("The wrong id was sent back", -123, id);

        } catch (RemoteException re) {
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

     * Make sure holder inout parameters can be round tripped.
     */
    public void testHolderTest() {
        try {
            StringHolder sh = new StringHolder("hi there");
            BondInvestment bi = new BondInvestment();
            BondInvestmentHolder bih = new BondInvestmentHolder(bi);
            binding.holderTest(sh, bih);
        }
        catch (RemoteException re) {
            fail("Remote Exception caught:  " + re);
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

        map.put("Test", "Test Works");

        Short[] wrapperShortArray = {new Short((short) 33), new Short((short) 86)};
        Byte[] wrapperByteArray = {new Byte((byte) 4), new Byte((byte) 18)};

        BondInvestment sendValue = new BondInvestment();

        sendValue.setMap(map);
        sendValue.setOptions(callOptions);
        sendValue.setOptions2(callOptions);
        sendValue.setOptions3(callOptions[0]);
        sendValue.setWrapperShortArray(wrapperShortArray);
        sendValue.setWrapperByteArray(wrapperByteArray);
        sendValue.setWrapperDouble(new Double(33.232D));
        sendValue.setWrapperFloat(new Float(2.23F));
        sendValue.setWrapperInteger(new Integer(3));
        sendValue.setWrapperShort(new Short((short) 2));
        sendValue.setWrapperByte(new Byte((byte) 21));
        sendValue.setWrapperBoolean(new Boolean(false));
        sendValue.setShortArray(shortArray);
        sendValue.setByteArray(byteArray);
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1012937862997L));
        sendValue.setCallableDate(date);
        sendValue.setBondAmount(new BigDecimal("2735.23"));
        sendValue.setPortfolioType(new BigInteger("21093"));
        sendValue.setTradeExchange("AMEX");
        sendValue.setFiftyTwoWeekHigh(415.012D);
        sendValue.setLastTradePrice(8795.32F);
        sendValue.setYield(575L);
        sendValue.setStockBeta(3);
        sendValue.setDocType((short) 45);
        sendValue.setTaxIndicator((byte) 8);
       
        if ((in0.getStockBeta() == 32) &&
            (in0.getDocType() == (short) 35) &&
            (in0.getTaxIndicator() == (byte) 3))
            ;
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

        Byte[] wrapperByteArray = {new Byte((byte) 4), new Byte((byte) 18)};
        HashMap map = new HashMap();
        map.put("Test", "Test Works");


        BondInvestment sendValue = new BondInvestment();
       
        sendValue.setMap(map);
        sendValue.setOptions(callOptions);
        sendValue.setOptions2(callOptions);
        sendValue.setOptions3(callOptions[0]);
        sendValue.setWrapperShortArray(wrapperShortArray);
        sendValue.setWrapperByteArray(wrapperByteArray);
        sendValue.setWrapperDouble(new Double(33.232D));
        sendValue.setWrapperFloat(new Float(2.23F));
        sendValue.setWrapperInteger(new Integer(3));
        sendValue.setWrapperShort(new Short((short) 2));
        sendValue.setWrapperByte(new Byte((byte) 21));
        sendValue.setWrapperBoolean(new Boolean(false));
        sendValue.setShortArray(shortArray);
        sendValue.setByteArray(byteArray);
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1012937862997L));
        sendValue.setCallableDate(date);
        sendValue.setBondAmount(new BigDecimal("2735.23"));
        sendValue.setPortfolioType(new BigInteger("21093"));
        sendValue.setTradeExchange("AMEX");
        sendValue.setFiftyTwoWeekHigh(415.012D);
        sendValue.setLastTradePrice(8795.32F);
        sendValue.setYield(575L);
        sendValue.setStockBeta(3);
        sendValue.setDocType((short) 45);
        sendValue.setTaxIndicator((byte) 8);

        return sendValue;

    } // methodBondInvestmentOut
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
            Byte[] wrapperByteArray = {new Byte((byte) 2), new Byte((byte) 15)};

            BondInvestment sendValue = new BondInvestment();

            sendValue.setOptions(callOptions);
            sendValue.setOptions2(callOptions);
            sendValue.setOptions3(callOptions[0]);
            sendValue.setWrapperShortArray(wrapperShortArray);
            sendValue.setWrapperByteArray(wrapperByteArray);
            sendValue.setWrapperDouble(new Double(2323.232D));
            sendValue.setWrapperFloat(new Float(23.023F));
            sendValue.setWrapperInteger(new Integer(2093));
            sendValue.setWrapperShort(new Short((short) 203));
            sendValue.setWrapperByte(new Byte((byte) 20));
            sendValue.setWrapperBoolean(new Boolean(true));
            sendValue.setShortArray(shortArray);
            sendValue.setByteArray(byteArray);
            date = Calendar.getInstance();
            date.setTimeZone(gmt);
            date.setTime(new Date(1012937861996L));
            sendValue.setCallableDate(date);
            sendValue.setBondAmount(new BigDecimal("2675.23"));
            sendValue.setPortfolioType(new BigInteger("2093"));
            sendValue.setTradeExchange("NYSE");
            sendValue.setFiftyTwoWeekHigh(45.012D);
            sendValue.setLastTradePrice(87895.32F);
            sendValue.setYield(5475L);
            sendValue.setStockBeta(32);
            sendValue.setDocType((short) 35);
            sendValue.setTaxIndicator((byte) 3);

            BondInvestment actual = binding.methodBondInvestmentInOut(sendValue);
            date.setTime(new Date(1013441507308L));

            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[0].getCallDate());
            date.setTime(new Date(1013441507328L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[1].getCallDate());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 33),
                         actual.getWrapperShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 86),
                         actual.getWrapperShortArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 4),
                         actual.getWrapperByteArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 18),
                         actual.getWrapperByteArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Double(33.232D),
                         actual.getWrapperDouble());
            assertEquals("The expected and actual values did not match.",
                         new Float(2.23F),
                         actual.getWrapperFloat());
            assertEquals("The expected and actual values did not match.",
                         new Integer(3),
                         actual.getWrapperInteger());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 2),
                         actual.getWrapperShort());
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 21),
                         actual.getWrapperByte());
            assertEquals("The expected and actual values did not match.",
                         new Boolean(false),
                         actual.getWrapperBoolean());
            assertEquals("The expected and actual values did not match.",
                         (short) 36,
                         actual.getShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         (byte) 7,
                         actual.getByteArray()[0]);
            date.setTime(new Date(1012937862997L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getCallableDate());
            assertEquals("The expected and actual values did not match.",
                         new BigDecimal("2735.23"),
                         actual.getBondAmount());
            assertEquals("The expected and actual values did not match.",
                         new BigInteger("21093"),
                         actual.getPortfolioType());
            assertEquals("The expected and actual values did not match.",
                         new String("AMEX"),
                         actual.getTradeExchange());
            assertEquals("The expected and actual values did not match.",
                         415.012D,
                         actual.getFiftyTwoWeekHigh(),
                         DOUBLE_DELTA);
            assertEquals("The expected and actual values did not match.",
                         8795.32F,
                         actual.getLastTradePrice(),
                         FLOAT_DELTA);
            assertEquals("The expected and actual values did not match.",
                         575L,
                         actual.getYield());
            assertEquals("The expected and actual values did not match.",
                         3,
                         actual.getStockBeta());
            assertEquals("The expected and actual values did not match.",
                         (short) 45,
                         actual.getDocType());
            assertEquals("The expected and actual values did not match.",
                         (byte) 8,
                         actual.getTaxIndicator());

        } catch (RemoteException re) {
            fail("Remote Exception caught: " + re);
        }
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

     *  by a remote method contains the expected values.
     */
    public void testBondInvestmentOut() {

        try {
            BondInvestment actual = binding.methodBondInvestmentOut();
            Calendar date = Calendar.getInstance();
            TimeZone gmt = TimeZone.getTimeZone("GMT");
            date.setTimeZone(gmt);
            date.setTime(new Date(1013441507308L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[0].getCallDate());
            date.setTime(new Date(1013441507328L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getOptions()[1].getCallDate());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 33),
                         actual.getWrapperShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 86),
                         actual.getWrapperShortArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 4),
                         actual.getWrapperByteArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 18),
                         actual.getWrapperByteArray()[1]);
            assertEquals("The expected and actual values did not match.",
                         new Double(33.232D),
                         actual.getWrapperDouble());
            assertEquals("The expected and actual values did not match.",
                         new Float(2.23F),
                         actual.getWrapperFloat());
            assertEquals("The expected and actual values did not match.",
                         new Integer(3),
                         actual.getWrapperInteger());
            assertEquals("The expected and actual values did not match.",
                         new Short((short) 2),
                         actual.getWrapperShort());
            assertEquals("The expected and actual values did not match.",
                         new Byte((byte) 21),
                         actual.getWrapperByte());
            assertEquals("The expected and actual values did not match.",
                         new Boolean(false),
                         actual.getWrapperBoolean());
            assertEquals("The expected and actual values did not match.",
                         (short) 36,
                         actual.getShortArray()[0]);
            assertEquals("The expected and actual values did not match.",
                         (byte) 7,
                         actual.getByteArray()[0]);
            date.setTime(new Date(1012937862997L));
            assertEquals("The expected and actual values did not match.",
                         date,
                         actual.getCallableDate());
            assertEquals("The expected and actual values did not match.",
                         new BigDecimal("2735.23"),
                         actual.getBondAmount());
            assertEquals("The expected and actual values did not match.",
                         new BigInteger("21093"),
                         actual.getPortfolioType());
            assertEquals("The expected and actual values did not match.",
                         new String("AMEX"),
                         actual.getTradeExchange());
            assertEquals("The expected and actual values did not match.",
                         415.012D,
                         actual.getFiftyTwoWeekHigh(),
                         DOUBLE_DELTA);
            assertEquals("The expected and actual values did not match.",
                         8795.32F,
                         actual.getLastTradePrice(),
                         FLOAT_DELTA);
            assertEquals("The expected and actual values did not match.",
                         575L,
                         actual.getYield());
            assertEquals("The expected and actual values did not match.",
                         3,
                         actual.getStockBeta());
            assertEquals("The expected and actual values did not match.",
                         (short) 45,
                         actual.getDocType());
            assertEquals("The expected and actual values did not match.",
                         (byte) 8,
                         actual.getTaxIndicator());
        } catch (RemoteException re) {
            fail("Remote Exception caught: " + re);
        }

    } // testBondInvestmentOut
View Full Code Here

Examples of test.wsdl.roundtrip.BondInvestment

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
            Byte[] wrapperByteArray = {new Byte((byte) 2), new Byte((byte) 15)};

            BondInvestment sendValue = new BondInvestment();
           
            sendValue.setOptions(callOptions);
            sendValue.setOptions2(callOptions);
            sendValue.setOptions3(callOptions[0]);
            sendValue.setWrapperShortArray(wrapperShortArray);
            sendValue.setWrapperByteArray(wrapperByteArray);
            sendValue.setWrapperDouble(new Double(2323.232D));
            sendValue.setWrapperFloat(new Float(23.023F));
            sendValue.setWrapperInteger(new Integer(2093));
            sendValue.setWrapperShort(new Short((short) 203));
            sendValue.setWrapperByte(new Byte((byte) 20));
            sendValue.setWrapperBoolean(new Boolean(true));
            sendValue.setShortArray(shortArray);
            sendValue.setByteArray(byteArray);
            date = Calendar.getInstance();
            date.setTimeZone(gmt);
            date.setTime(new Date(1012937861996L));
            sendValue.setCallableDate(date);
            sendValue.setBondAmount(new BigDecimal("2675.23"));
            sendValue.setPortfolioType(new BigInteger("2093"));
            sendValue.setTradeExchange("NYSE");
            sendValue.setFiftyTwoWeekHigh(45.012D);
            sendValue.setLastTradePrice(87895.32F);
            sendValue.setYield(5475L);
            sendValue.setStockBeta(32);
            sendValue.setDocType((short) 35);
            sendValue.setTaxIndicator((byte) 3);

            binding.methodBondInvestmentIn(sendValue);

        } catch (RemoteException re) {
            fail("Remote Exception caught: " + re);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.