jaxb: create, validate xml message and edit xml schema

Download JAXB: Create, Validate XML Message and Edit XML Schema

Post on 05-Dec-2014

10.037 views

Category:

Technology

6 download

Embed Size (px)

DESCRIPTION

Explain how to generate java xml binding class from xml schema file validation xml message and editing xml schema

TRANSCRIPT

  • 1. JAXB: XML Binding Create, Validate XML Message and Edit XML Schema e-mail: goto.champ@gmail.com
  • 2. Agenda Create: Java binding class and XML message Validate: XML Source (le, stream, etc.) Edit: XML Schema
  • 3. Create JDK 6 JAXB: Java Architecture for XML Binding xjc: generate binding class XML Schema le Editor: NotePad++, TextMate, vi, etc. Apache Ant
  • 4. ...
  • 5. # xjc [-options ...] schema info: http://technology-related.com/javaee/5/docs/tutorial/doc/bnbah.html
  • 6. # xjc -p net.sitdh.schema schema/test.xsd info: http://technology-related.com/javaee/5/docs/tutorial/doc/bnbah.html
  • 7. Validate XML Source (File, Stream, etc.) Java Binding Class XML Schema le
  • 8. XML Schema Binding Class Source 1 3 Content Valid 2 Objects 4 5 XML Source Validator Invalid
  • 9. 1 2 3 4 5
  • 10. Edit XML Schema File XML Schema Syntax

Recommended

View more >