Raining Data Corporation Raining DataCorp. mvEnterprise Guía de instalación Pagina 142

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 232
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 141
Appendix A: FlashCONNECT SOAP Access
132 FlashCONNECT Administrators Guide
Object ret = call.invoke( new Object[] {
username,
password,
rulename,
serverpool,
parameternames,
parametervalues} );
if ( !(ret instance of String)) {
System.out.println("Received problem response from server:
"+ret);
throw new AxisFault("", (String)ret, null, null);
}
return (String)ret;
}
public static void main(String args[]) {
try {
fc fcInstance = new fc();
String val = fcInstance.run(args);
// args array gets side-effected
System.out.println( val);
}
catch( Exception e ) {
e.printStackTrace();
}
}
};
Sample Client Using wsdl
This example program performs the same functions as the previous program, but
several of the setups prior to the call.invoke() statement are no longer needed
(and have been commented out) as a result of using wsdl.
/*
* This software may include or be accompanied by software
* developed by third parties, including the apache software
* foundation (http://www.apache.org/). Software from third
* parties is subject to license restrictions. For additional
* details, please see the Raining Data End User License
* Agreement and the third party license agreements that
* accompany the product. Raining Data may modify some third
* party programs.
*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2001-2003 The Apache Software Foundation. All
Vista de pagina 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 231 232

Comentarios a estos manuales

Sin comentarios