Show TOC

Supported Web Service Structures and FacetsLocate this document in the navigation structure

Supported Structures

Composite Application Framework (CAF) supports the consumption of flat and complex structures when calling Web services. You can see these supported structures with sample Web service responses in the table below.

Type Example Web Service Response

Plain (or Flat)

  • String: Name
  • Integer: Age

Plain (or Flat) with Structure

  • String: Name
  • Integer: Age
  • Structure: Home Phone
    • String: Area Code
    • String: Number

Nested Structure

  • Person
    • String: Name
    • Integer: Age
    • Structure: Communication
  • Structure: Home Phone
    • String: Area Code
    • String: Number
  • Structure: Mobile Phone
    • String: Area Code
    • String: Number

Table with Nested Structure

  • Table Persons (1..n)
    • String: Name
    • Integer: Age
    • Structure: Communication
      • Structure: Home Phone
        • String: Area Code
        • String: Number
      • Structure: Mobile Phone
        • String: Area Code
        • String: Number

Plain (or Flat) with Table

  • String: Name
  • Integer: Age
  • Telephones: (1..n):
    • Type
    • Area Code
    • Number

Root with Plain and Table

  • Person
    • String: Name
    • Integer: Age
    • Phones: (1..n):
      • Type
      • Area Code
      • Number

Nested with Table

  • Table: Persons (1..n):
    • String: Name
    • Integer: Age
    • Phones: (1..n):
      • Type
      • Area Code
      • Number
        Note

        CAF can consume all types of Web service structures; however, currently, Web services can only be exposed with structures that are plain (flat) or plain with structure.

Supported Facets

CAF supports all facets defined in the XML schema 1.1 specification. For more information, see:

http://www.w3.org/TR/xmlschema11-2