Name name = new Name();
name.setLang("en");
name.setValue(serviceName);
//Description of the service in English.
Description description = new Description();
description.setLang("en");
description.setValue(data.getText(1, false));
//Access Point details.
AccessPoint accessPoint = new AccessPoint();
accessPoint.setUseType("endPoint");
accessPoint.setValue("http://www." + StringUtils.deleteWhitespace(businessName) + ".com:8080/uddi/services/" + StringUtils.deleteWhitespace(serviceName) + "?wsdl");
//Description of the Access Point, in English.
Description accessPointDescription = new Description();
accessPointDescription.setLang("en");
accessPointDescription
.setValue(data.getText(1, 3, false));
//Pass binging info to binding template.
BindingTemplate bindingTemplate = new BindingTemplate();
bindingTemplate.setAccessPoint(accessPoint);