| 1 |
# SOAP4R - Base type mapping definition |
|---|
| 2 |
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>. |
|---|
| 3 |
|
|---|
| 4 |
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can |
|---|
| 5 |
# redistribute it and/or modify it under the same terms of Ruby's license; |
|---|
| 6 |
# either the dual license version in 2003, or any later version. |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
module SOAP |
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
TypeMap = { |
|---|
| 13 |
XSD::XSDAnySimpleType::Type => SOAPAnySimpleType, |
|---|
| 14 |
|
|---|
| 15 |
XSD::XSDString::Type => SOAPString, |
|---|
| 16 |
XSD::XSDNormalizedString::Type => SOAPNormalizedString, |
|---|
| 17 |
XSD::XSDToken::Type => SOAPToken, |
|---|
| 18 |
XSD::XSDLanguage::Type => SOAPLanguage, |
|---|
| 19 |
XSD::XSDNMTOKEN::Type => SOAPNMTOKEN, |
|---|
| 20 |
XSD::XSDNMTOKENS::Type => SOAPNMTOKENS, |
|---|
| 21 |
XSD::XSDName::Type => SOAPName, |
|---|
| 22 |
XSD::XSDNCName::Type => SOAPNCName, |
|---|
| 23 |
XSD::XSDID::Type => SOAPID, |
|---|
| 24 |
XSD::XSDIDREF::Type => SOAPIDREF, |
|---|
| 25 |
XSD::XSDIDREFS::Type => SOAPIDREFS, |
|---|
| 26 |
XSD::XSDENTITY::Type => SOAPENTITY, |
|---|
| 27 |
XSD::XSDENTITIES::Type => SOAPENTITIES, |
|---|
| 28 |
XSD::XSDBoolean::Type => SOAPBoolean, |
|---|
| 29 |
XSD::XSDDecimal::Type => SOAPDecimal, |
|---|
| 30 |
XSD::XSDFloat::Type => SOAPFloat, |
|---|
| 31 |
XSD::XSDDouble::Type => SOAPDouble, |
|---|
| 32 |
XSD::XSDDuration::Type => SOAPDuration, |
|---|
| 33 |
XSD::XSDDateTime::Type => SOAPDateTime, |
|---|
| 34 |
XSD::XSDTime::Type => SOAPTime, |
|---|
| 35 |
XSD::XSDDate::Type => SOAPDate, |
|---|
| 36 |
XSD::XSDGYearMonth::Type => SOAPGYearMonth, |
|---|
| 37 |
XSD::XSDGYear::Type => SOAPGYear, |
|---|
| 38 |
XSD::XSDGMonthDay::Type => SOAPGMonthDay, |
|---|
| 39 |
XSD::XSDGDay::Type => SOAPGDay, |
|---|
| 40 |
XSD::XSDGMonth::Type => SOAPGMonth, |
|---|
| 41 |
XSD::XSDHexBinary::Type => SOAPHexBinary, |
|---|
| 42 |
XSD::XSDBase64Binary::Type => SOAPBase64, |
|---|
| 43 |
XSD::XSDAnyURI::Type => SOAPAnyURI, |
|---|
| 44 |
XSD::XSDQName::Type => SOAPQName, |
|---|
| 45 |
XSD::XSDInteger::Type => SOAPInteger, |
|---|
| 46 |
XSD::XSDNonPositiveInteger::Type => SOAPNonPositiveInteger, |
|---|
| 47 |
XSD::XSDNegativeInteger::Type => SOAPNegativeInteger, |
|---|
| 48 |
XSD::XSDLong::Type => SOAPLong, |
|---|
| 49 |
XSD::XSDInt::Type => SOAPInt, |
|---|
| 50 |
XSD::XSDShort::Type => SOAPShort, |
|---|
| 51 |
XSD::XSDByte::Type => SOAPByte, |
|---|
| 52 |
XSD::XSDNonNegativeInteger::Type => SOAPNonNegativeInteger, |
|---|
| 53 |
XSD::XSDUnsignedLong::Type => SOAPUnsignedLong, |
|---|
| 54 |
XSD::XSDUnsignedInt::Type => SOAPUnsignedInt, |
|---|
| 55 |
XSD::XSDUnsignedShort::Type => SOAPUnsignedShort, |
|---|
| 56 |
XSD::XSDUnsignedByte::Type => SOAPUnsignedByte, |
|---|
| 57 |
XSD::XSDPositiveInteger::Type => SOAPPositiveInteger, |
|---|
| 58 |
|
|---|
| 59 |
# soap4r does not use soapenc types actively but it should be accepted. |
|---|
| 60 |
SOAP::SOAPString::SOAPENCType => SOAPString, |
|---|
| 61 |
SOAP::SOAPNormalizedString::Type => SOAPNormalizedString, |
|---|
| 62 |
SOAP::SOAPToken::Type => SOAPToken, |
|---|
| 63 |
SOAP::SOAPLanguage::Type => SOAPLanguage, |
|---|
| 64 |
SOAP::SOAPNMTOKEN::Type => SOAPNMTOKEN, |
|---|
| 65 |
SOAP::SOAPNMTOKENS::Type => SOAPNMTOKENS, |
|---|
| 66 |
SOAP::SOAPName::Type => SOAPName, |
|---|
| 67 |
SOAP::SOAPNCName::Type => SOAPNCName, |
|---|
| 68 |
SOAP::SOAPID::Type => SOAPID, |
|---|
| 69 |
SOAP::SOAPIDREF::Type => SOAPIDREF, |
|---|
| 70 |
SOAP::SOAPIDREFS::Type => SOAPIDREFS, |
|---|
| 71 |
SOAP::SOAPENTITY::Type => SOAPENTITY, |
|---|
| 72 |
SOAP::SOAPENTITIES::Type => SOAPENTITIES, |
|---|
| 73 |
SOAP::SOAPBoolean::SOAPENCType => SOAPBoolean, |
|---|
| 74 |
SOAP::SOAPDecimal::SOAPENCType => SOAPDecimal, |
|---|
| 75 |
SOAP::SOAPFloat::SOAPENCType => SOAPFloat, |
|---|
| 76 |
SOAP::SOAPDouble::SOAPENCType => SOAPDouble, |
|---|
| 77 |
SOAP::SOAPDuration::SOAPENCType => SOAPDuration, |
|---|
| 78 |
SOAP::SOAPDateTime::SOAPENCType => SOAPDateTime, |
|---|
| 79 |
SOAP::SOAPTime::SOAPENCType => SOAPTime, |
|---|
| 80 |
SOAP::SOAPDate::SOAPENCType => SOAPDate, |
|---|
| 81 |
SOAP::SOAPGYearMonth::SOAPENCType => SOAPGYearMonth, |
|---|
| 82 |
SOAP::SOAPGYear::SOAPENCType => SOAPGYear, |
|---|
| 83 |
SOAP::SOAPGMonthDay::SOAPENCType => SOAPGMonthDay, |
|---|
| 84 |
SOAP::SOAPGDay::SOAPENCType => SOAPGDay, |
|---|
| 85 |
SOAP::SOAPGMonth::SOAPENCType => SOAPGMonth, |
|---|
| 86 |
SOAP::SOAPHexBinary::SOAPENCType => SOAPHexBinary, |
|---|
| 87 |
SOAP::SOAPBase64::SOAPENCType => SOAPBase64, |
|---|
| 88 |
SOAP::SOAPAnyURI::SOAPENCType => SOAPAnyURI, |
|---|
| 89 |
SOAP::SOAPQName::SOAPENCType => SOAPQName, |
|---|
| 90 |
SOAP::SOAPInteger::SOAPENCType => SOAPInteger, |
|---|
| 91 |
SOAP::SOAPNonPositiveInteger::SOAPENCType => SOAPNonPositiveInteger, |
|---|
| 92 |
SOAP::SOAPNegativeInteger::SOAPENCType => SOAPNegativeInteger, |
|---|
| 93 |
SOAP::SOAPLong::SOAPENCType => SOAPLong, |
|---|
| 94 |
SOAP::SOAPInt::SOAPENCType => SOAPInt, |
|---|
| 95 |
SOAP::SOAPShort::SOAPENCType => SOAPShort, |
|---|
| 96 |
SOAP::SOAPByte::SOAPENCType => SOAPByte, |
|---|
| 97 |
SOAP::SOAPNonNegativeInteger::SOAPENCType => SOAPNonNegativeInteger, |
|---|
| 98 |
SOAP::SOAPUnsignedLong::SOAPENCType => SOAPUnsignedLong, |
|---|
| 99 |
SOAP::SOAPUnsignedInt::SOAPENCType => SOAPUnsignedInt, |
|---|
| 100 |
SOAP::SOAPUnsignedShort::SOAPENCType => SOAPUnsignedShort, |
|---|
| 101 |
SOAP::SOAPUnsignedByte::SOAPENCType => SOAPUnsignedByte, |
|---|
| 102 |
SOAP::SOAPPositiveInteger::SOAPENCType => SOAPPositiveInteger, |
|---|
| 103 |
} |
|---|
| 104 |
|
|---|
| 105 |
|
|---|
| 106 |
end |
|---|