# ServiceFactoryClient.xsd Sample

This topic inludes the source code for the ServiceFactoryClient.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/controlFactory" 03 xmlns:cf="http://openuri.org/bea/samples/workshop/controlFactory" 04 xmlns:xs="http://www.w3.org/2001/XMLSchema" 05 elementFormDefault="qualified" 06 attributeFormDefault="unqualified"> 07 <xs:element name="completeServices" type="cf:resultType"/> 08 <xs:complexType name="resultType"> 09 <xs:sequence> 10 <xs:element name="service" type="cf:serviceType" maxOccurs="unbounded"/> 11 </xs:sequence> 12 </xs:complexType> 13 <xs:complexType name="serviceType"> 14 <xs:sequence> 15 <xs:element name="name" type="xs:string"/> 16 <xs:element name="time" type="xs:long"/> 17 </xs:sequence> 18 </xs:complexType> 19 </xs:schema>`