Package javax.xml.rpc

Examples of javax.xml.rpc.Call.invoke()


      call.setOperationName(new QName(TARGET_NAMESPACE, "doubleMultiArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types/arrays/", "doubleArrayArray");
      call.addParameter("arrayOfarrayOfdouble_1", xmlType, primParams.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, primParams.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      primParams = (double[][])call.invoke(new Object[] { primParams });
      return primParams;
   }

   public Double doubleWrapperTest(Double param) throws Exception
   {
View Full Code Here


      Call call = service.createCall();
      call.setOperationName(new QName(TARGET_NAMESPACE, "doubleWrapperTest"));
      call.addParameter("Double_1", Constants.TYPE_LITERAL_DOUBLE, param.getClass(), ParameterMode.IN);
      call.setReturnType(Constants.TYPE_LITERAL_DOUBLE, param.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      return (Double)call.invoke(new Object[] { param });
   }

   public Double[] doubleWrapperArrayTest(Double[] params) throws Exception
   {
      Call call = service.createCall();
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "doubleWrapperArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types", "DoubleArray");
      call.addParameter("arrayOfDouble_1", xmlType, params.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, params.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      return (Double[])call.invoke(new Object[] { params });
   }

   public Double[][] doubleWrapperMultiArrayTest(Double[][] params) throws Exception
   {
      Call call = service.createCall();
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "doubleWrapperMultiArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types", "DoubleArrayArray");
      call.addParameter("arrayOfarrayOfDouble_1", xmlType, params.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, params.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      return (Double[][])call.invoke(new Object[] { params });
   }

   public float floatTest(float primParam) throws Exception
   {
      Call call = service.createCall();
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "floatTest"));
      call.addParameter("float_1", Constants.TYPE_LITERAL_FLOAT, float.class, ParameterMode.IN);
      call.setReturnType(Constants.TYPE_LITERAL_FLOAT, float.class);
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      Float param = new Float (primParam);
      param = (Float)call.invoke(new Object[] { param });
      primParam = param.floatValue();
      return primParam;
   }

   public float[] floatArrayTest(float[] primParams) throws Exception
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "floatArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types", "floatArray");
      call.addParameter("arrayOffloat_1", xmlType, primParams.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, primParams.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      primParams = (float[])call.invoke(new Object[] { primParams });
      return primParams;
   }

   public float[][] floatMultiArrayTest(float[][] primParams) throws Exception
   {
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "floatMultiArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types", "floatArrayArray");
      call.addParameter("arrayOfarrayOffloat_1", xmlType, primParams.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, primParams.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      primParams = (float[][])call.invoke(new Object[] { primParams });
      return primParams;
   }

   public Float floatWrapperTest(Float param) throws Exception
   {
View Full Code Here

      Call call = service.createCall();
      call.setOperationName(new QName(TARGET_NAMESPACE, "floatWrapperTest"));
      call.addParameter("Float_1", Constants.TYPE_LITERAL_FLOAT, param.getClass(), ParameterMode.IN);
      call.setReturnType(Constants.TYPE_LITERAL_FLOAT, param.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      return (Float)call.invoke(new Object[] { param });
   }

   public Float[] floatWrapperArrayTest(Float[] params) throws Exception
   {
      Call call = service.createCall();
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "bigDecimalArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types/arrays/java/math", "BigDecimalArray");
      call.addParameter("arrayOfBigDecimal_1", xmlType, params.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, params.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      return (BigDecimal[])call.invoke(new Object[] { params });
   }

   public BigDecimal[][] bigDecimalMultiArrayTest(BigDecimal[][] params) throws Exception
   {
      Call call = service.createCall();
View Full Code Here

      call.setOperationName(new QName(TARGET_NAMESPACE, "bigDecimalMultiArrayTest"));
      QName xmlType = new QName("http://org.jboss.ws/marshall/rpclit/types/arrays/java/math", "BigDecimalArrayArray");
      call.addParameter("arrayOfarrayOfBigDecimal_1", xmlType, params.getClass(), ParameterMode.IN);
      call.setReturnType(xmlType, params.getClass());
      call.setTargetEndpointAddress(TARGET_ADDRESS);
      return (BigDecimal[][])call.invoke(new Object[] { params });
   }

   public BigInteger bigIntegerTest(BigInteger param) throws Exception
   {
      Call call = service.createCall();
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.