For services declared to operate with Soap 1.1, Aegis sets up two sets of mappings.

Soap 1.1 SOAP mappings

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

Soap 1.1 XSD mappings

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

org.w3c.Document

XSD Any

org.jdom.Document

XSD Any

org.jdom.Element

XSD Any

javax.xml.transform.source

XSD Any

javax.xml.stream.XMLStreamReader

XSD Any

Object

XSD Any

javax.activation.DataSource

XSD Base64 via MTOM data source type (See org.apache.cxf.argis.type.mtom)

javax.activation.DataHandler

XSD Base64 via MTOM data source type (See org.apache.cxf.argis.type.mtom)

Services that Don't Use Soap 1.1

The type mappings for non-Soap-1.1 services start out with the same XSD types as the Soap-1.1 services

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

org.w3c.Document

XSD Any

org.jdom.Document

XSD Any

org.jdom.Element

XSD Any

javax.xml.transform.source

XSD Any

javax.xml.stream.XMLStreamReader

XSD Any

Object

XSD Any

javax.activation.DataSource

Base64 via MTOM data source type (See org.apache.cxf.argis.type.mtom)

javax.activation.DataHandler

Base54 MTOM data source type (See org.apache.cxf.argis.type.mtom)

These services get some additional mappings, as well:

Type

Mapping

javax.xml.datatype.Duration

XSD Duration

javax.xml.datatype.XMLGregorianCalendar

XSD Date

javax.xml.datatype.XMLGregorianCalendar

XSD Time

javax.xml.datatype.XMLGregorianCalendar

XSD gDay

javax.xml.datatype.XMLGregorianCalendar

XSD gMonth

javax.xml.datatype.XMLGregorianCalendar

XSD gMonthDay

javax.xml.datatype.XMLGregorianCalendar

XSD gYear

javax.xml.datatype.XMLGregorianCalendar

XSD gYearMonth

javax.xml.datatype.XMLGregorianCalendar

XSD Date-Time