XMLデータ型をOutSystemsデータ型にマッピングする
モジュールでSOAP Webサービスを利用する場合、OutSystemsはXMLデータ型を以下のようにOutSystemsデータ型にマッピングします。
XMLデータ型 | OutSystemsデータ型 |
---|---|
anySimpleType anyType anyURI |
Text Text Text |
bool boolean base64Binary byte bytev |
Boolean Boolean Binary Integer Integer |
char | Integer |
date dateTime decimal double duration |
Date Date Time Decimal Decimal Text |
ENTITY ENTITIES Enumerate values |
Text Text Static Entity Identifier |
float | Decimal |
gDay gMonth gMonthDay gYearMonth gYear |
Text Text Text Text Text |
hexBinary | Binary |
ID IDREF IDREFS int integer |
Text Text Text Integer Text |
language long |
Text Long Integer |
Microsoft Datasets | Text |
Name NCName negativeInteger NMTOKEN NMTOKENS nonNegativeInteger nonPositiveInteger normalizedString NOTATION |
Text Text Text Text Text Text Text Text Text |
Object | Text |
positiveInteger | Text |
QName | Text |
short signed byte string |
Integer Integer Text |
time token |
Time Text |
unsignedByte unsignedInt unsignedLong unsignedShort |
Integer Long Integer Text Integer |
XML Element | Text |
XSD Arrays | List OutSystemsでは、リストは任意のデータ型要素のシーケンスです。そのためXSD配列は、XSD配列の要素を表現する要素を持つレコードリストにマッピングされます。XSD配列がIntegerの場合、Service Studioでのマッピングは、Integer型アトリビュートを1つ持つストラクチャのリストとなります。 |
XSD Complex data types | Record |
(その他の型) | Text |
マッピングの制限
- 他の型に「制限」を適用して派生させた型は、通常、元の型と同じになります。適切なデータ型を派生させるには
maxLength
およびfractionDigits
の制限のみが考えられますが、制限は実行時には強制されません。 - サブ型が
schema
のelement
型(つまり、動的スキーマ)は、単純なText型の項目として解釈されます。 - サブ型に制限のない(スペースで区切られたテキストの連続である
list
などの)simpleType
型は、単純なText型の項目として解釈されます。 - サブ型が
sequence
、all
またはcomplexContent
ではないcomplexType
型は、単純なText型の項目として解釈されます。 - 制限や拡張のないサブ型
complexContent
は、単純なText型の項目として解釈されます。 - SOAP Webサービスの注釈は無視されます。