def METHOD_NAME(request, response):
    """Handler method - this method obtains request object and response
    object and creates the buffer
    """
    from osgeo import ogr
    # obtaining input with identifier 'vector' as file name
    input_file = request.inputs['vector'][0].file
    # obtaining input with identifier 'size' as data directly
    size = request.inputs['size'][0].data
    # open file the "gdal way"
    input_source = ogr.Open(input_file)
    input_layer = input_source.GetLayer()
    layer_name = input_layer.GetName()
    # create output file
    driver = ogr.GetDriverByName('GML')
    output_source = driver.CreateDataSource(
        layer_name,
        ["XSISCHEMAURI=http://schemas.opengis.net/gml/2.1.2/feature.xsd"])
    output_layer = output_source.CreateLayer(layer_name, None, ogr.wkbUnknown)
    # get feature count
    count = input_layer.GetFeatureCount()
    index = 0
    # make buffer for each feature
    while index < count:
        response._update_status(WPS_STATUS.STARTED, 'Buffering feature {}'.format(index), float(index) / count)
        # get the geometry
        input_feature = input_layer.GetNextFeature()
        input_geometry = input_feature.GetGeometryRef()
        # make the buffer
        buffer_geometry = input_geometry.Buffer(float(size))
        # create output feature to the file
        output_feature = ogr.Feature(feature_def=output_layer.GetLayerDefn())
        output_feature.SetGeometryDirectly(buffer_geometry)
        output_layer.CreateFeature(output_feature)
        output_feature.Destroy()
        index += 1
    # set output format
    response.outputs['output'].data_format = FORMATS.GML
    # set output data as file name
    response.outputs['output'].file = layer_name
    return response