MetaboliteSearchRequest searchParams = new MetaboliteSearchRequest(
token, searchMass, adduct, searchTolerance, "Da");
LineInfo resultsData[][];
try {
resultsData = serv.metaboliteSearch(searchParams);
} catch (AxisFault e) {
// For some reason, the METLIN SOAP gateway throws AxisFault caused
// by ArrayStoreException if no result is found. I suspect their
// SOAP response is malformed and Axis does not like it.
resultsData = new LineInfo[1][0];