1 7 8 package test.wsdl.date; 9 10 import java.util.*; 11 12 public class TestdateSoapBindingImpl implements test.wsdl.date.MyService{ 13 public test.wsdl.date.MyBean getInfo() throws java.rmi.RemoteException { 14 MyBean b = new MyBean(); 15 Calendar xmas = new GregorianCalendar(1998, Calendar.DECEMBER, 25); 16 Date date = xmas.getTime(); 17 b.setDate(new Date()); 18 return b; 19 } 20 21 } 22 | Popular Tags |