...
Each CXF service implements Map<String, Object> to allow you to specify additional configuration information. Aegis looks for the following keys:
- OVERRIDES_TYPES_KEY: a list List<Class> of additional classes to map in the schema. This is most useful for allowing derived classes of declared Exceptions to be marshalled to the client.
- READ_XSI_TYPES_KEY: A string (false or true). When not "false", Aegis will respect xsi:type attributes. What is this good for?
- WRITE_XSI_TYPES_KEY: Whether to write xsi:type attributes.
Default Mapping Details
To begin with, the DefaultTypeMappingRegistry establishes a set of mapping for basic types. It maps them twice: once for use with SOAP encoding, and once for use with XML Schema.
Type | SOAP Mapping |
---|---|
boolean | Soap-encoded boolean |
Boolean | Soap-encoded boolean |
int | Soap-encoded int |
Integer | Soap-encoded int |
short | Soap-encoded int |
Short | Soap-encoded int |
double | Soap-encoded double |
Double | Soap-encoded double |
float | Soap-Encoded float |
Float | Soap-Encoded float |
long | Soap-encoded long |
Long | Soap-encoded long |
char | Soap-encoded char |
Character | Soap-encoded char |
String | Soap-encoded String |
java.sql.Date | Soap-encoded date-time |
java.util.Calendar | Soap-encoded date-time |
byte[] | soap-encoded Base64 |
BigDecimal | Soap-encoded Decimal |
BigInteger | Soap-encoded BigInteger |
Type | XSD Mapping |
---|---|
boolean | XSD boolean |
Boolean | XSD boolean |
int | XSD int |
Integer | XSD int |
short | XSD int |
Short | XSD int |
double | XSD double |
Double | XSD double |
float | XSD float |
Float | XSD float |
long | XSD long |
Long | XSD long |
char | XSD char |
Character | XSD char |
String | XSD String |
java.sql.Date | XSD date-time |
java.sql.Time | XSD time |
java.util.Calendar | XSD date-time |
byte[] | XSD Base64 |
BigDecimal | XSD Decimal |
BigInteger | XSD Integer |