Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.For services declared to operate with Soap 1.1, it 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

javax.activation.DataHandler

XSD Base64