Package javax.xml.rpc.holders

Examples of javax.xml.rpc.holders.IntHolder


            {
                //is this a SOAPEnc array type 
                QName arrayType =
                    CSchemaUtils.getArrayComponentQName(
                        node,
                        new IntHolder(0),
                        symbolTable);
                if (arrayType != null)
                {
                    typedata.setTypeNameForElementName(
                        new ElementInfo(
View Full Code Here


   public void testEchoOutSimpleTypes() throws Exception
   {
      StringHolder varString = new StringHolder();
      BigIntegerHolder varInteger = new BigIntegerHolder();
      IntHolder varInt = new IntHolder();
      LongHolder varLong = new LongHolder();
      ShortHolder varShort = new ShortHolder();
      BigDecimalHolder varDecimal = new BigDecimalHolder();
      FloatHolder varFloat = new FloatHolder();
      DoubleHolder varDouble = new DoubleHolder();
View Full Code Here

   public void testEchoInOutSimpleTypes() throws Exception
   {
      StringHolder varString = new StringHolder(_varString);
      BigIntegerHolder varInteger = new BigIntegerHolder(_varInteger);
      IntHolder varInt = new IntHolder(_varInt);
      LongHolder varLong = new LongHolder(_varLong);
      ShortHolder varShort = new ShortHolder(_varShort);
      BigDecimalHolder varDecimal = new BigDecimalHolder(_varDecimal);
      FloatHolder varFloat = new FloatHolder(_varFloat);
      DoubleHolder varDouble = new DoubleHolder(_varDouble);
View Full Code Here

      Call call = service.createCall();
      call.setOperationName(new QName(TARGET_NAMESPACE, "echoInt"));
      call.addParameter("int_1", Constants.TYPE_LITERAL_INT, ParameterMode.INOUT);
      call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);

      IntHolder holder = new IntHolder(1);
      Object retObj = call.invoke(new Object[]{holder});
      assertNull(retObj);
      assertEquals(2, holder.value, 0.01);
   }
View Full Code Here

            {
                //is this a SOAPEnc array type 
                QName arrayType =
                    CSchemaUtils.getArrayComponentQName(
                        node,
                        new IntHolder(0),
                        symbolTable);
                if (arrayType != null)
                {
                    typedata.setTypeNameForElementName(
                        new ElementInfo(
View Full Code Here

            throw new AxisFault("Server.NoClassForService",
                Messages.getMessage("noOption00", getServiceClassNameOptionName(), serviceName),
                null, null);
        }

        IntHolder scope   = new IntHolder();
        Object serviceObject = null;

        try {
            serviceObject = getServiceObject(msgContext, service, clsName, scope);
View Full Code Here

                }
            } else {

                // Flow to here indicates no type= or ref= attribute.
                // See if this is an array or simple type definition.
                IntHolder numDims = new IntHolder();

                // If we're supposed to unwrap arrays, supply someplace to put the "inner" QName
                // so we can propagate it into the appropriate metadata container.
                QNameHolder itemQName = wrapArrays ? null : new QNameHolder();
View Full Code Here

            input.setVarInt(5);
            input.setVarString("Hello");
            input.setVarFloat(103F);
            try {
                StringHolder outputString = new StringHolder();
                IntHolder outputInteger = new IntHolder();
                FloatHolder outputFloat = new FloatHolder();
                binding.echoStructAsSimpleTypes(input, outputString,
                                                 outputInteger, outputFloat);
                output = new SOAPStruct();
                ((SOAPStruct)output).setVarInt(outputInteger.value);
View Full Code Here

            throw new AxisFault("Server.NoClassForService",
                Messages.getMessage("noOption00", getServiceClassNameOptionName(), serviceName),
                null, null);
        }

        IntHolder scope   = new IntHolder();
        Object serviceObject = null;

        try {
            serviceObject = getServiceObject(msgContext, service, clsName, scope);
View Full Code Here

            }
            else {
                // Flow to here indicates no type= or ref= attribute.

                // See if this is an array or simple type definition.
                IntHolder numDims = new IntHolder();
                numDims.value = 0;
                QName arrayEQName = SchemaUtils.getArrayComponentQName(node, numDims);

                if (arrayEQName != null) {
                    // Get the TypeEntry for the array element type
View Full Code Here

TOP

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

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.