Examples of ByteArrayHolder


Examples of javax.xml.rpc.holders.ByteArrayHolder

                    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());
        }
        catch (RemoteException re) {
            throw new AssertionFailedError("Remote Exception caught: " + re);
        }
    } // allPrimitivesOut
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

      DoubleWrapperHolder varSoapDouble = new DoubleWrapperHolder();
      BigDecimalHolder varSoapDecimal = new BigDecimalHolder();
      IntegerWrapperHolder varSoapInt = new IntegerWrapperHolder();
      ShortWrapperHolder varSoapShort = new ShortWrapperHolder();
      ByteWrapperHolder varSoapByte = new ByteWrapperHolder();
      ByteArrayHolder varBase64Binary = new ByteArrayHolder();
      ByteArrayHolder varHexBinary = new ByteArrayHolder();
      ByteArrayHolder varSoapBase64 = new ByteArrayHolder();

      port.echoOutSimpleTypes(varString, varInteger, varInt, varLong, varShort, varDecimal, varFloat, varDouble, varBoolean, varByte, varQName, varDateTime,
            varSoapString, varSoapBoolean, varSoapFloat, varSoapDouble, varSoapDecimal, varSoapInt, varSoapShort, varSoapByte, varBase64Binary, varHexBinary,
            varSoapBase64);
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

      DoubleWrapperHolder varSoapDouble = new DoubleWrapperHolder(_varSoapDouble);
      BigDecimalHolder varSoapDecimal = new BigDecimalHolder(_varSoapDecimal);
      IntegerWrapperHolder varSoapInt = new IntegerWrapperHolder(_varSoapInt);
      ShortWrapperHolder varSoapShort = new ShortWrapperHolder(_varSoapShort);
      ByteWrapperHolder varSoapByte = new ByteWrapperHolder(_varSoapByte);
      ByteArrayHolder varBase64Binary = new ByteArrayHolder(_varBase64Binary);
      ByteArrayHolder varHexBinary = new ByteArrayHolder(_varHexBinary);
      ByteArrayHolder varSoapBase64 = new ByteArrayHolder(_varSoapBase64);

      port.echoInOutSimpleTypes(varString, varInteger, varInt, varLong, varShort, varDecimal, varFloat, varDouble, varBoolean, varByte, varQName, varDateTime,
            varSoapString, varSoapBoolean, varSoapFloat, varSoapDouble, varSoapDecimal, varSoapInt, varSoapShort, varSoapByte, varBase64Binary, varHexBinary,
            varSoapBase64);
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

      Call call = service.createCall();
      call.setOperationName(new QName(TARGET_NAMESPACE, "echoByteArray"));
      call.addParameter("arrayOfbyte_1", Constants.TYPE_LITERAL_BASE64BINARY, ParameterMode.INOUT);
      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);

      ByteArrayHolder holder = new ByteArrayHolder(new String("Some base64 msg").getBytes());
      Object retObj = call.invoke(new Object[]{holder});
      assertNull(retObj);
      assertEquals("Some base64 msgResponse", new String(holder.value));
   }
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

                    new BooleanHolder(true),
                    new ByteHolder((byte)0),
                    new QNameHolder(new QName("http://double-double",
                            "toil-and-trouble")),
                    new CalendarHolder(Calendar.getInstance()),
                    new ByteArrayHolder(new byte[0]),
                    new ByteArrayHolder(new byte[0]),
                    new StringHolder(new String()),
                    new BooleanWrapperHolder(new Boolean(false)),
                    new FloatWrapperHolder(new Float(0)),
                    new DoubleWrapperHolder(new Double(0)),
                    new BigDecimalHolder(new BigDecimal(0)),
                    new IntegerWrapperHolder(new Integer(0)),
                    new ShortWrapperHolder(new Short((short)0)),
                    new ByteArrayHolder(new byte[0]),
                    new TimeHolder(new Time("12:01:30.150Z")),
                    new UnsignedLongHolder(new UnsignedLong(0)),
                    new UnsignedIntHolder(new UnsignedInt(0)),
                    new UnsignedShortHolder(new UnsignedShort(0)),
                    new UnsignedByteHolder(new UnsignedByte(0)),
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

                    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(),
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

                    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(),
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

      DoubleWrapperHolder varSoapDouble = new DoubleWrapperHolder();
      BigDecimalHolder varSoapDecimal = new BigDecimalHolder();
      IntegerWrapperHolder varSoapInt = new IntegerWrapperHolder();
      ShortWrapperHolder varSoapShort = new ShortWrapperHolder();
      ByteWrapperHolder varSoapByte = new ByteWrapperHolder();
      ByteArrayHolder varBase64Binary = new ByteArrayHolder();
      ByteArrayHolder varHexBinary = new ByteArrayHolder();
      ByteArrayHolder varSoapBase64 = new ByteArrayHolder();

      port.echoOutSimpleTypes(varString, varInteger, varInt, varLong, varShort, varDecimal, varFloat, varDouble, varBoolean, varByte, varQName, varDateTime,
            varSoapString, varSoapBoolean, varSoapFloat, varSoapDouble, varSoapDecimal, varSoapInt, varSoapShort, varSoapByte, varBase64Binary, varHexBinary,
            varSoapBase64);
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

      DoubleWrapperHolder varSoapDouble = new DoubleWrapperHolder(_varSoapDouble);
      BigDecimalHolder varSoapDecimal = new BigDecimalHolder(_varSoapDecimal);
      IntegerWrapperHolder varSoapInt = new IntegerWrapperHolder(_varSoapInt);
      ShortWrapperHolder varSoapShort = new ShortWrapperHolder(_varSoapShort);
      ByteWrapperHolder varSoapByte = new ByteWrapperHolder(_varSoapByte);
      ByteArrayHolder varBase64Binary = new ByteArrayHolder(_varBase64Binary);
      ByteArrayHolder varHexBinary = new ByteArrayHolder(_varHexBinary);
      ByteArrayHolder varSoapBase64 = new ByteArrayHolder(_varSoapBase64);

      port.echoInOutSimpleTypes(varString, varInteger, varInt, varLong, varShort, varDecimal, varFloat, varDouble, varBoolean, varByte, varQName, varDateTime,
            varSoapString, varSoapBoolean, varSoapFloat, varSoapDouble, varSoapDecimal, varSoapInt, varSoapShort, varSoapByte, varBase64Binary, varHexBinary,
            varSoapBase64);
View Full Code Here

Examples of javax.xml.rpc.holders.ByteArrayHolder

      call.setOperationName(new QName(NAMESPACE_URI, "echoByteArray"));
      call.addParameter("arrayOfbyte_1", Constants.TYPE_LITERAL_BASE64BINARY, ParameterMode.IN);
      call.addParameter("arrayOfbyte_2", Constants.TYPE_LITERAL_BASE64BINARY, ParameterMode.OUT);
      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);

      ByteArrayHolder holder = new ByteArrayHolder();
      String in = new String("Some base64 msg");
      Object retObj = call.invoke(new Object[]{in.getBytes(), holder});
      assertNull(retObj);

      byte[] out = (byte[])call.getOutputParams().get("arrayOfbyte_2");
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.