QuoteService.xsd Sample
This topic inludes the source code for the QuoteService.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/service/quoteService"
03 xmlns:sv="http://openuri.org/bea/samples/workshop/service/quoteService"
04 xmlns:xs="http://www.w3.org/2001/XMLSchema"
05 elementFormDefault="qualified"
06 attributeFormDefault="unqualified">
07 <xs:element name="getQuote" type="sv:getQuoteType"/>
08 <xs:complexType name="getQuoteType">
09 <xs:sequence>
10 <xs:element name="customerID" type="xs:int"/>
11 <xs:element name="tickerSymbol" type="xs:string"/>
12 </xs:sequence>
13 </xs:complexType>
14 </xs:schema>
|