Created
November 29, 2016 08:34
-
-
Save jagedn/df5b7d962fb4907e14e134e3da029398 to your computer and use it in GitHub Desktop.
consumir un soap con Grails Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def client = new SOAPClient('http://www.holidaywebservice.com/Holidays/US/Dates/USHolidayDates.asmx') | |
def response = client.send(SOAPAction:'http://www.27seconds.com/Holidays/US/Dates/GetMothersDay') { | |
body { | |
GetMothersDay('xmlns':'http://www.27seconds.com/Holidays/US/Dates/') { | |
year(2011) | |
} | |
} | |
} | |
response.GetMothersDayResponse.GetMothersDayResult.text() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment