System.out.println("fetching business list");
ServiceList before = getServiceList(uddi);
if (before.getServiceInfos() == null) {
System.out.println("before no service returned!");
before.setServiceInfos(new ServiceInfos());
} else {
System.out.println(before.getServiceInfos().getServiceInfo().size() + " service returned before");
}
System.out.println("saving mary");
SaveMary(uddi);
ServiceList after = getServiceList(uddi);
if (after.getServiceInfos().getServiceInfo() == null) {
System.out.println("after no service returned!");
after.setServiceInfos(new ServiceInfos());
return;
} else {
System.out.println(after.getServiceInfos().getServiceInfo().size() + " service returned after");
}
PrintUDDI<ServiceList> p = new PrintUDDI<ServiceList>();