CreditReport.xsd Sample

This topic inludes the source code for the CreditReport.xsd Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/Schemas/

Sample Source Code


01 <?xml version="1.0" encoding="UTF-8"?>
02 <xs:schema targetNamespace="http://openuri.org/bea/samples/workshop/creditReport" 
03     xmlns:cr="http://openuri.org/bea/samples/workshop/creditReport" 
04     xmlns:xs="http://www.w3.org/2001/XMLSchema" 
05     elementFormDefault="qualified" 
06     attributeFormDefault="unqualified">
07     <xs:complexType name="creditReportType">
08         <xs:sequence>
09             <xs:element name="bankReport" type="xs:string"/>
10             <xs:element name="taxReport" type="xs:string"/>
11         </xs:sequence>
12     </xs:complexType>
13     <xs:element name="creditReport" type="cr:creditReportType"/>
14     <xs:element name="creditReportReturn" type="cr:creditReportType"/>
15 </xs:schema>