WSDL2Java
The Axis WSDL-to-Java tool can be found in "org.apache.axis.wsdl.WSDL2Java". It will generate only those bindings necessary for the client.
Client for CpgServ:
Client for CpgServ:
package webclient;
public class Client {
/** Creates a new instance of Client */
public Client() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws Exception {
// TODO code application logic here
Cpg serv = new CpgServiceLocator().getCpgServ();
String[] ret = serv.query(new String[] {"abc", "123"});
for (int i=0; i<ret.length; i++) {
System.out.println(ret[i]);
}
}
}

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home