Package railo.runtime.net.rpc.client

Examples of railo.runtime.net.rpc.client.RPCClient


  }

  @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


   
    return sct;
  }
 
  public static RPCClient getRPCClient(RemoteClient client) throws PageException {
    return new RPCClient(client.getUrl(),client.getServerUsername(),client.getServerPassword(),client.getProxyData());
  }
View Full Code Here

  private void doWebService(String webservice) throws PageException {
        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

      return pc.loadComponent(className);
    }
   
    public static Object doWebService(PageContext pc,String wsdlUrl) throws PageException {
      // TODO CF8 impl. all new attributes for wsdl
      return new RPCClient(wsdlUrl);
    }
View Full Code Here

      return new RPCClient(wsdlUrl);
    }

    public static Object doWebService(PageContext pc,String wsdlUrl,String username,String password, ProxyData proxy) throws PageException {
      // TODO CF8 impl. all new attributes for wsdl
      return new RPCClient(wsdlUrl,username,password,proxy);
    }
View Full Code Here

    args.setEL(RemoteClientTask.ATTRIBUTE_COLLECTION, attrColl);
   
   
   
    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

Related Classes of railo.runtime.net.rpc.client.RPCClient

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.