org.uddi.api_v3.BusinessService bsIn = (org.uddi.api_v3.BusinessService)EntityCreator.buildFromDoc(serviceXML, "org.uddi.api_v3");
ss.getBusinessService().add(bsIn);
publication.saveService(ss);
// Now get the entity and check the values
GetServiceDetail gs = new GetServiceDetail();
gs.getServiceKey().add(serviceKey);
ServiceDetail sd = inquiry.getServiceDetail(gs);
List<BusinessService> bsOutList = sd.getBusinessService();
BusinessService bsOut = bsOutList.get(0);
assertEquals(bsIn.getServiceKey(), bsOut.getServiceKey());