Package railo.runtime.net.rpc.client

Examples of railo.runtime.net.rpc.client.RPCClient.callWithNamedValues()


  @Override
  public final Object execute(Config config) throws PageException {
    try {
      RPCClient rpc = getRPCClient(client);
      return rpc.callWithNamedValues(config, getMethodName(), getArguments());
    }
    catch (Throwable t) {
      throw Caster.toPageException(t);
    }
  }
View Full Code Here


        if(username!=null)   {
            if(password==null)password = "";
        }
        ProxyData pd=StringUtil.isEmpty(proxy.getServer())?null:proxy;
        RPCClient ws = username!=null?new RPCClient(webservice,username,password,pd):new RPCClient(webservice,pd);
        Object rtn = ws.callWithNamedValues(pageContext,method,data);
       
        // return
        if(!StringUtil.isEmpty(returnvariable)) pageContext.setVariable(returnvariable,rtn);
       
        //throw new ApplicationException("type webservice is not yet implemented for tag invoke");
View Full Code Here

   
   
   
    try {
      RPCClient rpc = RemoteClientTask.getRPCClient(this);
      Object result = rpc.callWithNamedValues(config, "invoke", args);
      return id=ConfigImpl.getId(securityKey, Caster.toString(result,null),false, null);
     
    }
    catch (Throwable t) {t.printStackTrace();
      return null;
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.