Ruby
From Rackspace Email & Apps API
Running the following command:
wsdl2ruby.rb --wsdl https://admin.mailtrust.com/mailaccounts/mailaccounts.wsdl --type client
This will generate the following list of files.
mailaccounts.rb
mailaccountsClient.rb
mailaccountsDriver.rb
mailaccountsMappingRegistry.rb
Here is the sample code for CheckUserAvailable:
require 'rubygems'
gem 'soap4r'
require 'mailaccountsDriver.rb'
driver = UtilsSoapPort.new
driver.wiredump_dev = STDOUT
res = driver.CheckUserAvailable('ADMIN_NAME', 'ADMIN_PASSWORD', 'DOMAIN', 'USER')