Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST Web Service Consumer Transformation Use Cases
  15. REST and SOAP Web Service Administration
  16. Datatype Compatibility

Web Services Guide

Web Services Guide

Creating a Schema Object

Creating a Schema Object

You can import a hierarchical schema file or sample file to create a schema object in the repository.
  1. Select a project or folder in the
    Object Explorer
    view.
  2. Click
    File
    New
    Schema
    .
    The
    New Schema
    dialog box appears.
  3. To import a schema file, select
    Create from schema
    , and then browse to and select a hierarchical schema file.
    You can enter a URI or a location on the file system to browse. The Developer tool validates the schema you choose. Review validation messages. You can select an Avro, Parquet, JSON, or .xsd schema file.
    If the URI contains non-English characters, the import might fail. Copy the URI to the address bar in any browser. Copy the location back from the browser. The Developer tool accepts the encoded URI from the browser.
  4. To create a schema from a sample file, select
    Create from a sample file
    , and then browse to and select a hierarchical file.
    You can select an Avro, Parquet, JSON, or XML file.
    If you select a file with a different extension that contains Avro, Parquet, JSON, or XML content, the wizard recognizes the file content.
  5. Optionally, change the schema name.
  6. Click
    Next
    to view a list of the elements and types in the schema.
  7. Click
    Finish
    to import the schema.
    The schema appears under Schema Objects in the
    Object Explorer
    view. The Developer tool stores the schema as an .xsd file.
  8. To change the generated prefix for a schema namespace, select the namespace in the
    Object Explorer
    view. Change the
    Generated Prefix
    property in the
    Namespace
    view.

0 COMMENTS

We’d like to hear from you!