2002/ws/desc/test-suite/documents/bad/Import-2B XSDImportInWSDL.wsdl,NONE,1.1 name.xsd,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Import-2B
In directory hutz:/tmp/cvs-serv19039/documents/bad/Import-2B

Added Files:
	XSDImportInWSDL.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: 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>
--- NEW FILE: XSDImportInWSDL.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 an invalid use of a WSDL import importing an XML schema document.
    </wsdl:documentation>

    <wsdl:import namespace="http://example.org/name" location="name.xsd"/>
       
    <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>

Received on Monday, 7 February 2005 16:31:59 UTC