require 'default.rb' require 'soap/mapping' module DefaultMappingRegistry EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new NsTempuriOrg = "http://tempuri.org/" EncodedRegistry.register( :class => AccessKeyResponse, :schema_type => XSD::QName.new(NsTempuriOrg, "AccessKeyResponse"), :schema_element => [ ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "AccessKey")], [0, 1]], ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorCode")], [0, 1]], ["errorMessage", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorMessage")], [0, 1]] ] ) EncodedRegistry.register( :class => AccessKeyRequest, :schema_type => XSD::QName.new(NsTempuriOrg, "AccessKeyRequest"), :schema_element => [ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "UserName")], [0, 1]], ["password", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Password")], [0, 1]], ["companyZipCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompanyZipCode")], [0, 1]], ["companyCityName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompanyCityName")], [0, 1]] ] ) EncodedRegistry.register( :class => G4SIAuthentication, :schema_type => XSD::QName.new(NsTempuriOrg, "G4SIAuthentication"), :schema_element => [ ["username", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Username")], [0, 1]], ["password", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Password")], [0, 1]], ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "AccessKey")], [0, 1]] ] ) EncodedRegistry.register( :class => IPSResponse, :schema_type => XSD::QName.new(NsTempuriOrg, "IPSResponse"), :schema_element => [ ["result", ["ArrayOfAnyType", XSD::QName.new(NsTempuriOrg, "Result")], [0, 1]], ["errors", ["IPSErrors", XSD::QName.new(NsTempuriOrg, "Errors")], [0, 1]] ] ) EncodedRegistry.register( :class => ArrayOfAnyType, :schema_type => XSD::QName.new(NsTempuriOrg, "ArrayOfAnyType"), :schema_element => [ ["anyType", "[]", [0, nil]] ] ) EncodedRegistry.register( :class => IPSErrors, :schema_type => XSD::QName.new(NsTempuriOrg, "IPSErrors"), :schema_element => [ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorCode")], [0, 1]], ["errorDescription", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorDescription")], [0, 1]], ["status", ["SOAP::SOAPBoolean", XSD::QName.new(NsTempuriOrg, "Status")]], ["innerException", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "InnerException")], [0, 1]] ] ) EncodedRegistry.register( :class => Countries, :schema_type => XSD::QName.new(NsTempuriOrg, "Countries"), :schema_element => [ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CountryCode")], [0, 1]], ["countryName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CountryName")], [0, 1]] ] ) LiteralRegistry.register( :class => AccessKeyResponse, :schema_type => XSD::QName.new(NsTempuriOrg, "AccessKeyResponse"), :schema_element => [ ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "AccessKey")], [0, 1]], ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorCode")], [0, 1]], ["errorMessage", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorMessage")], [0, 1]] ] ) LiteralRegistry.register( :class => AccessKeyRequest, :schema_type => XSD::QName.new(NsTempuriOrg, "AccessKeyRequest"), :schema_element => [ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "UserName")], [0, 1]], ["password", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Password")], [0, 1]], ["companyZipCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompanyZipCode")], [0, 1]], ["companyCityName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompanyCityName")], [0, 1]] ] ) LiteralRegistry.register( :class => G4SIAuthentication, :schema_type => XSD::QName.new(NsTempuriOrg, "G4SIAuthentication"), :schema_element => [ ["username", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Username")], [0, 1]], ["password", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Password")], [0, 1]], ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "AccessKey")], [0, 1]] ] ) LiteralRegistry.register( :class => IPSResponse, :schema_type => XSD::QName.new(NsTempuriOrg, "IPSResponse"), :schema_element => [ ["result", ["ArrayOfAnyType", XSD::QName.new(NsTempuriOrg, "Result")], [0, 1]], ["errors", ["IPSErrors", XSD::QName.new(NsTempuriOrg, "Errors")], [0, 1]] ] ) LiteralRegistry.register( :class => ArrayOfAnyType, :schema_type => XSD::QName.new(NsTempuriOrg, "ArrayOfAnyType"), :schema_element => [ ["anyType", "[]", [0, nil]] ] ) LiteralRegistry.register( :class => IPSErrors, :schema_type => XSD::QName.new(NsTempuriOrg, "IPSErrors"), :schema_element => [ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorCode")], [0, 1]], ["errorDescription", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "ErrorDescription")], [0, 1]], ["status", ["SOAP::SOAPBoolean", XSD::QName.new(NsTempuriOrg, "Status")]], ["innerException", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "InnerException")], [0, 1]] ] ) LiteralRegistry.register( :class => Countries, :schema_type => XSD::QName.new(NsTempuriOrg, "Countries"), :schema_element => [ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CountryCode")], [0, 1]], ["countryName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CountryName")], [0, 1]] ] ) LiteralRegistry.register( :class => GenerateAccessKey, :schema_name => XSD::QName.new(NsTempuriOrg, "GenerateAccessKey"), :schema_element => [] ) LiteralRegistry.register( :class => GenerateAccessKeyResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GenerateAccessKeyResponse"), :schema_element => [ ["generateAccessKeyResult", ["AccessKeyResponse", XSD::QName.new(NsTempuriOrg, "GenerateAccessKeyResult")], [0, 1]] ] ) LiteralRegistry.register( :class => AccessKeyRequest, :schema_name => XSD::QName.new(NsTempuriOrg, "AccessKeyRequest"), :schema_element => [ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "UserName")], [0, 1]], ["password", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Password")], [0, 1]], ["companyZipCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompanyZipCode")], [0, 1]], ["companyCityName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompanyCityName")], [0, 1]] ] ) LiteralRegistry.register( :class => GetNewManifestNumber, :schema_name => XSD::QName.new(NsTempuriOrg, "GetNewManifestNumber"), :schema_element => [] ) LiteralRegistry.register( :class => GetNewManifestNumberResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetNewManifestNumberResponse"), :schema_element => [ ["getNewManifestNumberResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetNewManifestNumberResult")], [0, 1]] ] ) LiteralRegistry.register( :class => G4SIAuthentication, :schema_name => XSD::QName.new(NsTempuriOrg, "G4SIAuthentication"), :schema_element => [ ["username", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Username")], [0, 1]], ["password", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "Password")], [0, 1]], ["accessKey", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "AccessKey")], [0, 1]] ] ) LiteralRegistry.register( :class => GetReferenceNumber, :schema_name => XSD::QName.new(NsTempuriOrg, "GetReferenceNumber"), :schema_element => [ ["custAcctNumber", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CustAcctNumber")], [0, 1]], ["declaredValue", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "DeclaredValue")], [0, 1]], ["manifestNumber", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "ManifestNumber")], [0, 1]] ] ) LiteralRegistry.register( :class => GetReferenceNumberResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetReferenceNumberResponse"), :schema_element => [ ["getReferenceNumberResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetReferenceNumberResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetG4SIPickupLocationList, :schema_name => XSD::QName.new(NsTempuriOrg, "GetG4SIPickupLocationList"), :schema_element => [] ) LiteralRegistry.register( :class => GetG4SIPickupLocationListResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetG4SIPickupLocationListResponse"), :schema_element => [ ["getG4SIPickupLocationListResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetG4SIPickupLocationListResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetG4SICODCollectTypeList, :schema_name => XSD::QName.new(NsTempuriOrg, "GetG4SICODCollectTypeList"), :schema_element => [] ) LiteralRegistry.register( :class => GetG4SICODCollectTypeListResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetG4SICODCollectTypeListResponse"), :schema_element => [ ["getG4SICODCollectTypeListResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetG4SICODCollectTypeListResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetG4SICurrencies, :schema_name => XSD::QName.new(NsTempuriOrg, "GetG4SICurrencies"), :schema_element => [] ) LiteralRegistry.register( :class => GetG4SICurrenciesResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetG4SICurrenciesResponse"), :schema_element => [ ["getG4SICurrenciesResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetG4SICurrenciesResult")], [0, 1]] ] ) LiteralRegistry.register( :class => CompressedBytesToString, :schema_name => XSD::QName.new(NsTempuriOrg, "CompressedBytesToString"), :schema_element => [ ["compressedBytes", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CompressedBytes")], [0, 1]] ] ) LiteralRegistry.register( :class => CompressedBytesToStringResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "CompressedBytesToStringResponse"), :schema_element => [ ["compressedBytesToStringResult", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CompressedBytesToStringResult")], [0, 1]] ] ) LiteralRegistry.register( :class => StringToCompressedBytes, :schema_name => XSD::QName.new(NsTempuriOrg, "StringToCompressedBytes"), :schema_element => [ ["inputString", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "InputString")], [0, 1]] ] ) LiteralRegistry.register( :class => StringToCompressedBytesResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "StringToCompressedBytesResponse"), :schema_element => [ ["stringToCompressedBytesResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "StringToCompressedBytesResult")], [0, 1]] ] ) LiteralRegistry.register( :class => Login, :schema_name => XSD::QName.new(NsTempuriOrg, "Login"), :schema_element => [] ) LiteralRegistry.register( :class => LoginResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "LoginResponse"), :schema_element => [ ["loginResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "LoginResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetAllCountries, :schema_name => XSD::QName.new(NsTempuriOrg, "GetAllCountries"), :schema_element => [] ) LiteralRegistry.register( :class => GetAllCountriesResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetAllCountriesResponse"), :schema_element => [ ["getAllCountriesResult", ["IPSResponse", XSD::QName.new(NsTempuriOrg, "GetAllCountriesResult")], [0, 1]] ] ) LiteralRegistry.register( :class => Countries, :schema_name => XSD::QName.new(NsTempuriOrg, "Countries"), :schema_element => [ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CountryCode")], [0, 1]], ["countryName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CountryName")], [0, 1]] ] ) LiteralRegistry.register( :class => GetServiceLevelsByZip, :schema_name => XSD::QName.new(NsTempuriOrg, "GetServiceLevelsByZip"), :schema_element => [ ["receiverZipCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "ReceiverZipCode")], [0, 1]], ["receiverCountryCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "ReceiverCountryCode")], [0, 1]], ["currency", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "Currency")], [0, 1]], ["originCountryCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "OriginCountryCode")], [0, 1]] ] ) LiteralRegistry.register( :class => GetServiceLevelsByZipResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetServiceLevelsByZipResponse"), :schema_element => [ ["getServiceLevelsByZipResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetServiceLevelsByZipResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetSrvcLvls, :schema_name => XSD::QName.new(NsTempuriOrg, "GetSrvcLvls"), :schema_element => [] ) LiteralRegistry.register( :class => GetSrvcLvlsResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetSrvcLvlsResponse"), :schema_element => [ ["getSrvcLvlsResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetSrvcLvlsResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetSrvcLvlByShipersCountryAndZip, :schema_name => XSD::QName.new(NsTempuriOrg, "GetSrvcLvlByShipersCountryAndZip"), :schema_element => [ ["countryCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CountryCode")], [0, 1]] ] ) LiteralRegistry.register( :class => GetSrvcLvlByShipersCountryAndZipResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetSrvcLvlByShipersCountryAndZipResponse"), :schema_element => [ ["getSrvcLvlByShipersCountryAndZipResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetSrvcLvlByShipersCountryAndZipResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetCarriersList, :schema_name => XSD::QName.new(NsTempuriOrg, "GetCarriersList"), :schema_element => [] ) LiteralRegistry.register( :class => GetCarriersListResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetCarriersListResponse"), :schema_element => [ ["getCarriersListResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetCarriersListResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetPackageTypes, :schema_name => XSD::QName.new(NsTempuriOrg, "GetPackageTypes"), :schema_element => [] ) LiteralRegistry.register( :class => GetPackageTypesResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetPackageTypesResponse"), :schema_element => [ ["getPackageTypesResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetPackageTypesResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetStatesByCountry, :schema_name => XSD::QName.new(NsTempuriOrg, "GetStatesByCountry"), :schema_element => [ ["countryCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CountryCode")], [0, 1]] ] ) LiteralRegistry.register( :class => GetStatesByCountryResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetStatesByCountryResponse"), :schema_element => [ ["getStatesByCountryResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetStatesByCountryResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetDimensions, :schema_name => XSD::QName.new(NsTempuriOrg, "GetDimensions"), :schema_element => [] ) LiteralRegistry.register( :class => GetDimensionsResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetDimensionsResponse"), :schema_element => [ ["getDimensionsResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetDimensionsResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetHarmonizedCodes_CountryFrom, :schema_name => XSD::QName.new(NsTempuriOrg, "GetHarmonizedCodes_CountryFrom"), :schema_element => [ ["countryCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CountryCode")], [0, 1]] ] ) LiteralRegistry.register( :class => GetHarmonizedCodes_CountryFromResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetHarmonizedCodes_CountryFromResponse"), :schema_element => [ ["getHarmonizedCodes_CountryFromResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetHarmonizedCodes_CountryFromResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetHarmonizedCodes_CountryFrom_CountryTo, :schema_name => XSD::QName.new(NsTempuriOrg, "GetHarmonizedCodes_CountryFrom_CountryTo"), :schema_element => [ ["countryFromCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CountryFromCode")], [0, 1]], ["countryToCode", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CountryToCode")], [0, 1]] ] ) LiteralRegistry.register( :class => GetHarmonizedCodes_CountryFrom_CountryToResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetHarmonizedCodes_CountryFrom_CountryToResponse"), :schema_element => [ ["getHarmonizedCodes_CountryFrom_CountryToResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetHarmonizedCodes_CountryFrom_CountryToResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetCommodityMeasurmentsPerCarrier, :schema_name => XSD::QName.new(NsTempuriOrg, "GetCommodityMeasurmentsPerCarrier"), :schema_element => [ ["carrierName", ["SOAP::SOAPString", XSD::QName.new(NsTempuriOrg, "CarrierName")], [0, 1]] ] ) LiteralRegistry.register( :class => GetCommodityMeasurmentsPerCarrierResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetCommodityMeasurmentsPerCarrierResponse"), :schema_element => [ ["getCommodityMeasurmentsPerCarrierResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetCommodityMeasurmentsPerCarrierResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetCarrierAcctInfo, :schema_name => XSD::QName.new(NsTempuriOrg, "GetCarrierAcctInfo"), :schema_element => [ ["carrierName", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "CarrierName")], [0, 1]], ["userInfoXML", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "UserInfoXML")], [0, 1]], ["billFreightTo", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "BillFreightTo")], [0, 1]] ] ) LiteralRegistry.register( :class => GetCarrierAcctInfoResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetCarrierAcctInfoResponse"), :schema_element => [ ["getCarrierAcctInfoResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetCarrierAcctInfoResult")], [0, 1]] ] ) LiteralRegistry.register( :class => GetUserInfo, :schema_name => XSD::QName.new(NsTempuriOrg, "GetUserInfo"), :schema_element => [] ) LiteralRegistry.register( :class => GetUserInfoResponse, :schema_name => XSD::QName.new(NsTempuriOrg, "GetUserInfoResponse"), :schema_element => [ ["getUserInfoResult", ["SOAP::SOAPBase64", XSD::QName.new(NsTempuriOrg, "GetUserInfoResult")], [0, 1]] ] ) end