Several TeV gamma-ray sources have been found towards star forming HII regions, opening up the possibility that such star formation regions may accelerate particles to very high energies. We have analysed an 80ks Chandra observation of the G5.89-0.39 HII complex, comprising of a conventional HII region and an ultra compact (UC) HII region, and surrounding area towards the W28 SNR. The results of the analysis identify 159 X-ray sources in the Chandra observation with 17 X-ray sources identified within the HII region (G5.89-0.39A) and 17 X-ray sources identified within the UC HII region (G5.89-0.39B). The luminosities of the sources identified within the HII complex are consistent with B-type stars. Spectral analysis of the X-ray sources in the HII complex is consistent with known values of the area and indicates a match to a thermal APEC spectral fit. Possible localised soft diffuse X-ray emission has been identified in some areas of the Chandra observation. An analysis of the K-α iron line shows the potential for colliding winds associated with the conventional HII region. We also calculate an unabsorbed X-ray luminosity for the suspected ionising source of the UC HII region, J18003084-2404046 (Feldt et al. 2003).