Groovy Function for Enhaced 9X adapters

Has anyone made a web service call from a Groovy function?