I’m working on building a SOAP client with AWS, i.e:
class PersonAPI < ActionWebService::API::Base
api_method :find_all, :returns => [[Person]]
end
soap_client = ActionWebService::Client::Soap.new(PersonAPI,
“http://…”)
persons = soap_client.find_all
This works well but I think it breaks down quickly when you try to do
real world work. Lets take a moderately complex WSDL file from a bank
with some thirty operations and about fifty different parameter object
types.
Obviously I don’t want to code everyone of these object types. Is there
a better way? What would be nice is something like:
./script/generate web_service_client http://the.bank.com/service.wsdl
that would generate all the ActionWebService::API::Base classes.
Another thought is to just leave the whole AWS idea behind and use
SOAP4R.
Your thoughts?
Matt Bauer