1 package soapclient; 2 3 import electric.registry.Registry; 4 import transactions.ICustomerInfo; 5 import dinamica.Recordset; 6 7 17 public class SOAPTest 18 { 19 20 public static void main(String [] args) throws Throwable  21 { 22 String url = "http://localhost/soap/services/customer.wsdl"; 23 ICustomerInfo cust = (ICustomerInfo)Registry.bind( url, ICustomerInfo.class ); 24 Recordset rs = cust.getCustomer("BERGS"); 25 System.out.println(rs); 26 } 27 28 } 29 | Popular Tags |