String processIdenLocal = "gs:InvalidProcessName";
WPSCapabilitiesType capabilities = wps.getCapabilities();
// get the first process and execute it
ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
EList processes = processOfferings.getProcess();
// ProcessBriefType process = (ProcessBriefType) processes.get(0);
// does the server contain the specific process I want
boolean found = false;
Iterator iterator = processes.iterator();