Package org.apache.axis.client

Examples of org.apache.axis.client.Call.addParameter()


      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "removeNotificationListeners"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("ids", XMLType.SOAP_ARRAY, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);

      call.invoke(new Object[]{observed, ids, delegate});
   }
View Full Code Here


   public NotificationResult fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout) throws IOException
   {
      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "fetchNotifications"));
      call.addParameter("sequence", XMLType.XSD_LONG, ParameterMode.IN);
      call.addParameter("maxNumber", XMLType.XSD_INT, ParameterMode.IN);
      call.addParameter("timeout", XMLType.XSD_LONG, ParameterMode.IN);
      call.setReturnType(new QName(SOAPConstants.NAMESPACE_URI, "NotificationResult"));

      NotificationResult result = (NotificationResult)call.invoke(new Object[]{new Long(clientSequenceNumber), new Integer(maxNotifications), new Long(timeout)});
View Full Code Here

   {
      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "fetchNotifications"));
      call.addParameter("sequence", XMLType.XSD_LONG, ParameterMode.IN);
      call.addParameter("maxNumber", XMLType.XSD_INT, ParameterMode.IN);
      call.addParameter("timeout", XMLType.XSD_LONG, ParameterMode.IN);
      call.setReturnType(new QName(SOAPConstants.NAMESPACE_URI, "NotificationResult"));

      NotificationResult result = (NotificationResult)call.invoke(new Object[]{new Long(clientSequenceNumber), new Integer(maxNotifications), new Long(timeout)});
      return result;
View Full Code Here

      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "fetchNotifications"));
      call.addParameter("sequence", XMLType.XSD_LONG, ParameterMode.IN);
      call.addParameter("maxNumber", XMLType.XSD_INT, ParameterMode.IN);
      call.addParameter("timeout", XMLType.XSD_LONG, ParameterMode.IN);
      call.setReturnType(new QName(SOAPConstants.NAMESPACE_URI, "NotificationResult"));

      NotificationResult result = (NotificationResult)call.invoke(new Object[]{new Long(clientSequenceNumber), new Integer(maxNotifications), new Long(timeout)});
      return result;
   }
View Full Code Here

           throws InstanceNotFoundException, IOException
   {
      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "addNotificationListener"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("listener", qObjectName, ParameterMode.IN);
      call.addParameter("filter", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("handback", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);
View Full Code Here

   {
      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "addNotificationListener"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("listener", qObjectName, ParameterMode.IN);
      call.addParameter("filter", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("handback", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);
View Full Code Here

      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "addNotificationListener"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("listener", qObjectName, ParameterMode.IN);
      call.addParameter("filter", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("handback", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);

      call.invoke(new Object[]{name, listener, filter, handback, delegate});
View Full Code Here

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "addNotificationListener"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("listener", qObjectName, ParameterMode.IN);
      call.addParameter("filter", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("handback", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);

      call.invoke(new Object[]{name, listener, filter, handback, delegate});
   }
View Full Code Here

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "addNotificationListener"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("listener", qObjectName, ParameterMode.IN);
      call.addParameter("filter", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("handback", XMLType.XSD_ANY, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);

      call.invoke(new Object[]{name, listener, filter, handback, delegate});
   }
View Full Code Here

           throws InstanceNotFoundException, ListenerNotFoundException, IOException
   {
      Call call = createCall();

      call.setOperationName(new QName(SOAPConstants.NAMESPACE_URI, "removeNotificationListener"));
      call.addParameter("observed", qObjectName, ParameterMode.IN);
      call.addParameter("listener", qObjectName, ParameterMode.IN);
      call.addParameter("delegate", qSubject, ParameterMode.IN);
      call.setReturnType(XMLType.AXIS_VOID);

      call.invoke(new Object[]{name, listener, delegate});
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.