|
Apache CXF example source code file (anyschema.xsd)
The Apache CXF anyschema.xsd source code
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://cxf.apache.org/xmlbeans">
<!--
Yes, this is a very obtuse type, the point is to have inner types
without names - this caused NPE's on WSDL generation at one point
-->
<xsd:element name="trouble">
<xsd:complexType>
<xsd:all>
<xsd:element name="inner">
<xsd:complexType>
<xsd:all>
<xsd:element name="wombat">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="joe"/>
<xsd:enumeration value="bob"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="request">
<xsd:complexType>
<xsd:all>
<xsd:element maxOccurs="1" minOccurs="1"
name="sessionId" type="xsd:string" />
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="response">
<xsd:complexType>
<xsd:all>
<xsd:element maxOccurs="1" minOccurs="1" name="form"
type="xsd:anyType" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF anyschema.xsd source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.