}
public void saveService(String authInfo, String serviceXML, String serviceKey, String description) {
try {
// First save the entity
SaveService ss = new SaveService();
ss.setAuthInfo(authInfo);
org.uddi.api_v3.BusinessService bsIn = (org.uddi.api_v3.BusinessService)EntityCreator.buildFromDoc(serviceXML, "org.uddi.api_v3");
if (description!=null) bsIn.getDescription().get(0).setValue("updated description");
ss.getBusinessService().add(bsIn);
publication.saveService(ss);
// Now get the entity and check the values
GetServiceDetail gs = new GetServiceDetail();
gs.getServiceKey().add(serviceKey);