2002/ws/desc/test-suite/documents/good/Chameleon-3G accountInfo.xsd,NONE,1.1 getBalance.wsdl,NONE,1.1 customerInfo.xsd,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/good/Chameleon-3G
In directory hutz:/tmp/cvs-serv6170/test-suite/documents/good/Chameleon-3G

Added Files:
	accountInfo.xsd getBalance.wsdl customerInfo.xsd 
Log Message:
Added Chameleon tests from Faryaaz Kassam.

--- NEW FILE: accountInfo.xsd ---
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
	<xsd:complexType name="accinfct">
		<xsd:sequence maxOccurs="unbounded" minOccurs="0">
			<xsd:element name="accName">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:enumeration value="Cheque" />
						<xsd:enumeration value="Credit" />
						<xsd:enumeration value="Savings" />
						<xsd:enumeration value="Loan" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="accNumber">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:pattern value="[0-9]{12}" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="accBalance">
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:fractionDigits value="2" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="accInfo" type="accinfct" />
</xsd:schema>

--- NEW FILE: getBalance.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description xmlns:tns="http://tempuri.org/getBalance/"
	xmlns:wsdl="http://www.w3.org/2005/05/wsdl"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://tempuri.org/getBalance/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/2005/05/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">

	<wsdl:documentation>
		This test shows how to use elements from two no-target namespace
		xsds (both included in one inline schema)
	</wsdl:documentation>

	<wsdl:types>
		<xsd:schema
			targetNamespace="http://tempuri.org/getBalance/">
			<xsd:include schemaLocation="customerInfo.xsd" />
			<xsd:include schemaLocation="accountInfo.xsd" />
		</xsd:schema>
	</wsdl:types>

	<wsdl:interface name="getBalanceInf">
		<wsdl:operation name="getBalance"
			pattern="http://www.w3.org/2005/05/wsdl/in-out">
			<wsdl:input element="tns:custInfo" />
			<wsdl:output element="tns:accInfo" />
		</wsdl:operation>
	</wsdl:interface>
</wsdl:description>

--- NEW FILE: customerInfo.xsd ---
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
	<xsd:complexType name="cinfoct">
		<xsd:sequence>
			<xsd:element name="customerSurname" type="xsd:string" />
			<xsd:element name="customerForname" type="xsd:string" />
			<xsd:element name="branchCode">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:pattern
							value="[0-9]{2}[\-][0-9]{2}[\-][0-9]{2}" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="custInfo" type="cinfoct" />
</xsd:schema>

Received on Friday, 27 May 2005 18:04:45 UTC