Start of Content Area

Syntax documentation Attachment: Mapping XSD to Java  Locate the document in its SAP Library structure

Built-In XSD Data Types and Their Exact Equivalent in ABAP

XSD

Java

string

java.lang.String

boolean

boolean

float

float

double

double

int

int

short

short

long

long

byte

byte

date

java.util.Calendar

time

java.util.Calendar

Note

No global types are generated for simple data types (tag <simpleType>), because they only reference built-in data types.

Tags Supported for Complex Data Types (in Alphabetical Order)

XSD

Java

<attribute> (local)

Attributes of a class (including access methods)

<complexType> (global)

Class

<complexType> (local)

Inner class

<element maxOccurs="unbounded">

      Attributes of an (inner) class (including access methods)

      Inner table class

<element> (local)

Attribute of an (inner) class (including access methods)

Note

Only those tags permitted by the XSD editor are listed.

Limitations for XSD Elements

XSD Element

Comments

<extension> and abstract types

These elements cannot be converted.

substitutionGroup
and
<element abstract="true">

<redefine>

Limitation of value range
(
<pattern>, <enumeration>, <maxInclusive>, <maxExclusive>, and so on)

These tags are not taken into consideration by the proxy runtime; checking these properties is part of the task for validating the schema.

Key relationships, uniqueness (<key>, <keyref>, <unique>, etc.)

Link to external website

Find more information about XML schema language elements supported by ABAP proxy generation on the SAP Developer Network (SDN) under https://www.sdn.sap.com/irj/sdn SOA Middleware Repository-Based Modeling and Design. In the Knowledge Center on the Repository-Based Modeling and Design page, choose Enterprise Services Repository & Registryand then Supported XML Schema and WSDL on the next page of the document.

 

End of Content Area