public ServiceEndpoint(String name,String endpoint,String binding){
  ValidateUtil.validateNotEmpty(endpoint,"endpoint");
  ValidateUtil.validateNotEmpty(binding,"binding");
  if (name == null || name.isEmpty()) {
    name=endpoint;
  }
  this.name=name;
  this.endpoint=endpoint;
  this.binding=binding;
}

public ServiceEndpoint ( String name , String endpoint , String binding ) { ValidateUtil . validateNotEmpty ( endpoint , "endpoint" ) ; ValidateUtil . validateNotEmpty ( binding , "binding" ) ; if ( name == null || name . isEmpty ( ) ) { name = endpoint ; } this . name = name ; this . endpoint = endpoint ; this . binding = binding ; }
creates a serviceendpoint with name , endpoint , and binding .
