W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > February 2005

2002/ws/desc/test-suite/documents/good/Import-1G XSDImport.wsdl,NONE,1.1 name.xsd,NONE,1.1

From: Arthur Ryman <aryman@dev.w3.org>
Date: Mon, 07 Feb 2005 16:31:59 +0000
To: public-ws-desc-eds@w3.org
Message-ID: <E1CyBnr-0004zw-Ar@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite/documents/good/Import-1G
In directory hutz:/tmp/cvs-serv19039/documents/good/Import-1G

Added Files:
	XSDImport.wsdl name.xsd 
Log Message:
Applied patch from Lawrence Mandel to add test cases. See http://lists.w3.org/Archives/Public/www-ws-desc/2005Feb/0017.html

--- NEW FILE: XSDImport.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description 
    targetNamespace="http://example.org/XSDImport" 
    xmlns:name="http://example.org/name" 
    xmlns:wsdl="http://www.w3.org/2004/08/wsdl" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.w3.org/2004/08/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
  
    <wsdl:documentation>
      This test shows a valid use of an XML schema import.
    </wsdl:documentation>

    <wsdl:types>
        <xs:import schemaLocation="name.xsd" 
                   namespace="http://example.org/name" />
    </wsdl:types>
        
    <wsdl:interface name="Names">
        <wsdl:operation name="getNameFromSIN" pattern="http://www.w3.org/2004/08/wsdl/in-out">
            <wsdl:input element="name:SIN"/>
            <wsdl:output element="name:Name"/>
        </wsdl:operation>
    </wsdl:interface>
</wsdl:description>

--- NEW FILE: name.xsd ---
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/name" xmlns:tns="http://example.org/name"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
  <!-- This document is used as a sample XML schema document. -->
  <element name="Name">
  	<complexType>
  		<sequence>
  			<element name="FirstName" type="string"></element>
  			<element name="LastName" type="string"></element>
  		</sequence>
  	</complexType>
  </element>
  <element name="SIN" type="string"/>

</schema>
Received on Monday, 7 February 2005 16:32:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:31:29 UTC