Bo's blog

Friday, April 02, 2010

Binding WSDL to Java with JAXB - NetBeans IDE 6.7/6.8 Tutorial

Binding WSDL to Java with JAXB - NetBeans IDE 6.7/6.8 Tutorial: "Binding WSDL to Java with JAXB

The Java Architecture for XML Binding API (JAXB) makes it easy to access XML documents from applications written in the Java programming language. This document shows you how NetBeans IDE provides tooling support for JAXB, principally by means of a wizard that turns various types of XML documents into Java classes. Starting with a given WSDL file, we will generate Java classes and then do something with them.
In this tutorial, you will learn two specific things:
How to use a wizard in the IDE to bind the schema for an XML document into a set of Java classes that represents the schema.
How to use a variety of tools provided by the IDE to quickly and efficiently make use of the generated Java classes.
For detailed information on the JAXB architecture, as well as on JAXB as a whole, see Chapter 2: Binding between XML Schema and Java Classes and Chapter 3: Using JAXB in The Java Web Services Tutorial.
Contents

Generating Java Objects from XML Documents
Examining the JAXB Wizard Output
Using the Java Objects"

0 Comments:

Post a Comment

<< Home