This is a working code example for how to get a vendor in Dynamics GP 2010 Web Services. We use the getVendorByKey method to return a vendor object.