Start of Content Area

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

ABAP

Java

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 allowed 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 Java proxy generation on the SAP Developer Network (SDN) under https://www.sdn.sap.com/irj/sdn. In the navigation area, choose SOA Middleware ® Repository-Based Modeling and Design. On the Repository-Based Modeling and Design page, choose Integration Repository. On the SAP NetWeaver Process Integration Design and Modeling page choose the Supported XML Schema and WSDL document.

 

End of Content Area