}
private TModelDetail _publishWSDL_tModel()
throws TransportException, UDDIException
{
TModel animalWSDL_tModel = new TModel();
/**
* UDDI best practices recommend a specific format for the OverviewDocument
* for this tModel.
*/
OverviewDoc animalWSDL_overviewDoc = new OverviewDoc();
animalWSDL_overviewDoc.setDefaultDescriptionString("WSDL source document");
animalWSDL_overviewDoc.setOverviewURL(ANIMAL_WSDL_URL);
animalWSDL_tModel.setOverviewDoc(animalWSDL_overviewDoc);
KeyedReference kr = new KeyedReference("uuid-org:types","wsdlSpec");
kr.setTModelKey(TModel.TYPES_TMODEL_KEY);
CategoryBag catBag = new CategoryBag();
catBag.add(kr);
animalWSDL_tModel.setCategoryBag(catBag);
animalWSDL_tModel.setName(ANIMAL_SERVICE_NAME);
animalWSDL_tModel.setDefaultDescriptionString("WSDL description of Animal protocol interface");
java.util.Vector tModelVector = new Vector();
tModelVector.add(animalWSDL_tModel);
TModelDetail animal_tModelDetail = proxy.save_tModel(token.getAuthInfoString(), tModelVector);
return animal_tModelDetail;
}