I'm definitely a noob regarding web services. I'm trying to use groovy as a client to access a simple web service. The web service has basic authentication and uses https. In the browser, I'd use some thing like this:
https://myserver.com/app/services/soap/call?script=MyService&username=me&password=secret
How would I call this from groovy? I tried to figure out how to use groovy-wslite, but I couldn't figure it out (I know how to get to service with a URL...no idea what all this body and header...etc...is or how it related to the url I know works). I also tried using a real simple http sort of call:
'https://myserver.com/app/services/soap/call?script=MyService&username=me&password=secret'.toURL().text
But that didn't work. Is there an easy way to do this?
Thanks!