require 'ysm4r/v2/LocationService' require 'soap/mapping' module YSM; module LocationService module DefaultMappingRegistry EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new EncodedRegistry.register( :class => YSM::LocationService::ApiFault, :schema_ns => "http://marketing.ews.yahooapis.com/V2", :schema_type => "ApiFault", :schema_element => [ ["code", "SOAP::SOAPString", [0, 1]], ["message", "SOAP::SOAPString", [0, 1]] ] ) EncodedRegistry.register( :class => YSM::LocationService::Security, :schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext", :schema_type => "Security", :schema_element => [ ["usernameToken", ["YSM::LocationService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]] ] ) EncodedRegistry.register( :class => YSM::LocationService::UsernameToken, :schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext", :schema_type => "UsernameToken", :schema_element => [ ["username", ["SOAP::SOAPString", XSD::QName.new(nil, "Username")]], ["password", ["SOAP::SOAPString", XSD::QName.new(nil, "Password")]] ] ) LiteralRegistry.register( :class => YSM::LocationService::ApiFault, :schema_ns => "http://marketing.ews.yahooapis.com/V2", :schema_type => "ApiFault", :schema_qualified => false, :schema_element => [ ["code", "SOAP::SOAPString", [0, 1]], ["message", "SOAP::SOAPString", [0, 1]] ] ) LiteralRegistry.register( :class => YSM::LocationService::Security, :schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext", :schema_type => "Security", :schema_qualified => false, :schema_element => [ ["usernameToken", ["YSM::LocationService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]] ] ) LiteralRegistry.register( :class => YSM::LocationService::UsernameToken, :schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext", :schema_type => "UsernameToken", :schema_qualified => false, :schema_element => [ ["username", ["SOAP::SOAPString", XSD::QName.new(nil, "Username")]], ["password", ["SOAP::SOAPString", XSD::QName.new(nil, "Password")]] ] ) LiteralRegistry.register( :class => YSM::LocationService::GetMasterAccountLocation, :schema_ns => "http://marketing.ews.yahooapis.com/V2", :schema_name => "getMasterAccountLocation", :schema_qualified => true, :schema_element => [] ) LiteralRegistry.register( :class => YSM::LocationService::GetMasterAccountLocationResponse, :schema_ns => "http://marketing.ews.yahooapis.com/V2", :schema_name => "getMasterAccountLocationResponse", :schema_qualified => true, :schema_element => [ ["out", "SOAP::SOAPString"] ] ) LiteralRegistry.register( :class => YSM::LocationService::ApiFault, :schema_ns => "http://marketing.ews.yahooapis.com/V2", :schema_name => "ApiFault", :schema_qualified => true, :schema_element => [ ["code", "SOAP::SOAPString", [0, 1]], ["message", "SOAP::SOAPString", [0, 1]] ] ) LiteralRegistry.register( :class => YSM::LocationService::Security, :schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext", :schema_name => "Security", :schema_qualified => true, :schema_element => [ ["usernameToken", ["YSM::LocationService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]] ] ) end end; end