How to create a WSDL 1.1 Definitions

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
To create a WSDL 1.1 definitions, you must write the code below:

{code:borderStyle=solid}
// create factory: can be static
XmlContextFactory xmlContextFactory = new XmlContextFactory();

// create context: can be static
XmlContext xmlContext = xmlContextFactory.newContext();

// create object factory
XmlObjectFactory xmlObjectFactory = xmlContext.getXmlObjectFactory();

// create definitions
Definitions definitions = xmlObjectFactory create(Definitions.class);

{code}
{easybox-create:standard=WSDL 1.1|classname=Definitions|objectname=definitions}