Thursday, March 5, 2009

Calling Webservices with Groovy

import groovyx.net.ws.WSClient

def proxy = new WSClient("http://host/aService",this.class.classLoader)
def service = proxy.create("package.aService")
service.aMethod()

No comments: