Service References Schema (Version 1.1)

From Business Process Execution Language for Web Services  [BPEL4WS]
Version 1.1. 31 March 2003.
Copyright (c) 2002, 2003 BEA Systems, International Business Machines
Corporation, Microsoft Corporation, SAP AG, Siebel Systems
Appendix D - XSD Schemas
http://ifr.sap.com/bpel4ws/BPEL%20V1-1%20March%2031%202003.doc
See: http://xml.coverpages.org/ni2003-04-16-a.html
<?xml version='1.0' encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
        xmlns:sref="http://schemas.xmlsoap.org/ws/2003/03/service-reference/"
	  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
   targetNamespace="http://schemas.xmlsoap.org/ws/2003/03/service-reference/"
 	  elementFormDefault="qualified">

   <import namespace="http://schemas.xmlsoap.org/wsdl/"
                      schemaLocation="http://schemas.xmlsoap.org/wsdl/"/> 

   <element name="serviceReference" type="sref:serviceReferenceType"/>

   <complexType name="serviceReferenceType">
      <sequence>
         <element ref="wsdl:definitions" minOccurs="0"/>
         <element name="service">
            <complexType>
               <attribute name="name" type="QName" use="required"/>
            </complexType>
         </element>
         <element name="referenceProperties" minOccurs="0">
            <complexType>
               <sequence>
                  <element name="property" type="sref:referencePropertyType" 
                           maxOccurs="unbounded"/>
               </sequence>
            </complexType>
         </element>
      </sequence>
   </complexType>

   <complexType name="referencePropertyType">
      <sequence>
         <any namespace="##other" minOccurs="0"/>
      </sequence>
      <attribute name="name" type="QName" use="required"/>
   </complexType>
</schema>