We have investigated the photoionization and photofragmentation yields of gas-phase multiply protonated melittin cations for photon energies at the K-shell absorption edges of carbon, nitrogen and oxygen. Two similar experimental approaches were employed. In both experiments, mass selected [melittin+qH]q+ (q=2-4) ions were accumulated in radiofrequency ion traps. The trap content was exposed to intense beams of monochromatic soft X-ray photons from synchrotron beamlines and photoproducts were analyzed by means of time-of-flight mass spectrometry. Mass spectra were recorded for fixed photon energies, and partial ion yield spectra were recorded as a function of photon energy. The combination of mass spectrometry and soft-X-ray spectroscopy al...