Raining Data Corporation Raining DataCorp. mvEnterprise Guide d'installation Page 142

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 232
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 231 232

Commentaires sur ces manuels

Pas de commentaire