test.wsdl.date.TestdateSoapBindingStub binding;
try {
binding = (test.wsdl.date.TestdateSoapBindingStub)
new test.wsdl.date.MyServiceServiceLocator().gettestdate();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// Test operation
test.wsdl.date.MyBean value = null;
value = binding.getInfo();
// TBD - validate results
System.out.println(value.getDate());