<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_wms(cls, filename, vector, resolution, destination_file=None):
 """Create georaster from the web service definition file."""

        doc = wms_vrt(filename,
                      bounds=vector,
                      resolution=resolution).tostring()
        filename = cls._save_to_destination_file(doc, destination_file)
        return GeoRaster2.open(filename)