Wrapping Scientific Applications as Web Services