code: public void addServiceType(DescriptionType descriptionType)
      {
          String interfacens;
          String interfacename;
          QName qname;
          String name;
          
          ServiceType serviceType = wsdlFactory.createServiceType();
          descriptionType.getImportOrIncludeOrTypes().add(wsdlFactory.createService(serviceType));
          
          name = this.getControlProperty(MessageControl.SERVICE_NAME);
          serviceType.setName(name);
          interfacens = this.getNamespace();;
          interfacename = this.getControlProperty(MessageControl.INTERFACE_NAME);
          qname = new QName(interfacens, interfacename);
          serviceType.setInterface(qname);
          EndpointType endpointType = wsdlFactory.createEndpointType();
          serviceType.getEndpointOrFeatureOrProperty().add(wsdlFactory.createEndpoint(endpointType));
          String address = this.getURIValue(this.getRecord(MessageControl.MESSAGE_CONTROL_FILE).getField(MessageControl.WEB_SERVICES_SERVER).toString());  // Important - This is the web services URL
          endpointType.setAddress(address);
          interfacens = this.getNamespace();;
          interfacename = this.getControlProperty(MessageControl.BINDING_NAME);
          qname = new QName(interfacens, interfacename);
          endpointType.setBinding(qname);
          name = this.getControlProperty(MessageControl.ENDPOINT_NAME);
          endpointType.setName(name);
      }
docs: AddServiceType Method.