<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def serviceManifest(self, fileType="json"):
 """ The service manifest resource documents the data and other resources that define the service origins and power the service. This resource will tell you underlying databases and their location along with other supplementary files that make up the service. Inputs: fileType - this can be json or xml. json returns the manifest.json file. xml returns the manifest.xml file. These files are stored at \arcgisserver\directories\arcgissystem\ arcgisinput\%servicename%.%servicetype%\extracted folder. Outputs: Python dictionary if fileType is json and Python object of xml.etree.ElementTree.ElementTree type if fileType is xml. """


        url = self._url + "/iteminfo/manifest/manifest.%s" % fileType
        params = {}
        f = self._get(url=url,
                      param_dict=params,
                      securityHandler=self._securityHandler,
                      proxy_url=self._proxy_url,
                      proxy_port=self._proxy_port,
                      out_folder=tempfile.gettempdir(),
                      file_name=os.path.basename(url))
        if fileType == 'json':
            return f
        if fileType == 'xml':
            return ET.ElementTree(ET.fromstring(f))