Examples of CallOptions


Examples of test.wsdl.roundtrip.CallOptions

        Calendar dateTime = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        dateTime.setTimeZone(gmt);
        dateTime.setTime(new Date(1013459984577L));
        if (in0[0].getCallDate().equals(dateTime)) {
            in0[0] = new CallOptions();
            dateTime.setTime(new Date(1013459984507L));
            in0[0].setCallDate(dateTime);
            return in0;
        } else {
            throw new RemoteException("Actual value did not match expected value.");
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

    public BondInvestment methodBondInvestmentInOut(BondInvestment in0) throws RemoteException {

        short[] shortArray = {(short) 36};
        byte[] byteArray = {(byte) 7};
        CallOptions[] callOptions = new CallOptions[2];
        callOptions[0] = new CallOptions();
        Calendar date = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507308L));
        callOptions[0].setCallDate(date);
        callOptions[1] = new CallOptions();
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507328L));
        callOptions[1].setCallDate(date);
        HashMap map = new HashMap();
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

    public BondInvestment methodBondInvestmentOut() throws RemoteException {

        short[] shortArray = {(short) 36};
        byte[] byteArray = {(byte) 7};
        CallOptions[] callOptions = new CallOptions[2];
        callOptions[0] = new CallOptions();
        Calendar date = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507308L));
        callOptions[0].setCallDate(date);
        callOptions[1] = new CallOptions();
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507328L));
        callOptions[1].setCallDate(date);
        Short[] wrapperShortArray = {new Short((short) 33), new Short((short) 86)};
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

        Calendar dateTime = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        dateTime.setTimeZone(gmt);
        dateTime.setTime(new Date(1013459984577L));
        if (in0[0].getCallDate().equals(dateTime)) {
            in0[0] = new CallOptions();
            dateTime.setTime(new Date(1013459984507L));
            in0[0].setCallDate(dateTime);
            return in0;
        } else {
            throw new RemoteException("Actual value did not match expected value.");
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

     *  classes.  This test insures that the data is transmitted across
     *  the wire correctly.
     */
    public void testRoundtripBondInvestment() throws RemoteException {
        CallOptions[] callOptions = new CallOptions[2];
        callOptions[0] = new CallOptions();
        Calendar date = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507388L));
        callOptions[0].setCallDate(date);
        callOptions[1] = new CallOptions();
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507390L));
        callOptions[1].setCallDate(date);
        HashMap map = new HashMap();
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

     *  classes.  This test insures that a remote method can recieve the
     *  BondInvestment class and that its values match the expected values.
     */
    public void testBondInvestmentIn() throws RemoteException {
        CallOptions[] callOptions = new CallOptions[2];
        callOptions[0] = new CallOptions();
        Calendar date = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507388L));
        callOptions[0].setCallDate(date);
        callOptions[1] = new CallOptions();
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507390L));
        callOptions[1].setCallDate(date);
        HashMap map = new HashMap();
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

    /**
     *  Test the overloaded method getId with a BondInvestment.
     */
    public void testBondInvestmentGetId() throws RemoteException {
        CallOptions[] callOptions = new CallOptions[2];
        callOptions[0] = new CallOptions();
        Calendar date = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507388L));
        callOptions[0].setCallDate(date);
        callOptions[1] = new CallOptions();
        date = Calendar.getInstance();
        date.setTimeZone(gmt);
        date.setTime(new Date(1013441507390L));
        callOptions[1].setCallDate(date);

View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

     *  Test to insure that an array of a  user defined class matches
     *  the expected values on both the client and server.
     */
    public void testMethodCallOptions() throws RemoteException {
        CallOptions[] callOptions = new CallOptions[1];
        callOptions[0] = new CallOptions();
        Calendar cal = Calendar.getInstance();
        TimeZone gmt = TimeZone.getTimeZone("GMT");
        cal.setTimeZone(gmt);
        cal.setTime(new Date(1013459984577L));
        callOptions[0].setCallDate(cal);
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

    public void testRoundtripBondInvestment() {
       
        try {

            CallOptions[] callOptions = new CallOptions[2];
            callOptions[0] = new CallOptions();
            callOptions[0].setCallDate(new Date(1013441507388L));
            callOptions[1] = new CallOptions();
            callOptions[1].setCallDate(new Date(1013441507390L));

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
View Full Code Here

Examples of test.wsdl.roundtrip.CallOptions

    public void testBondInvestmentIn() {

        try {

            CallOptions[] callOptions = new CallOptions[2];
            callOptions[0] = new CallOptions();
            callOptions[0].setCallDate(new Date(1013441507388L));
            callOptions[1] = new CallOptions();
            callOptions[1].setCallDate(new Date(1013441507390L));

            short[] shortArray = {(short) 30};
            byte[] byteArray = {(byte) 1};
            Short[] wrapperShortArray = {new Short((short) 23), new Short((short) 56)};
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.