<?xml version="1.0" encoding="utf-8"?>
<definitions
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
  xmlns:rss="http://purl.org/rss/1.0/"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  targetNamespace="http://purl.org/rss/1.0/"
  xmlns="http://schemas.xmlsoap.org/wsdl/">

  <types>
    <schema elementFormDefault="qualified"
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://purl.org/rss/1.0/">

      <import namespace="http://purl.org/rss/1.0/modules/content/"/>
      <import namespace="http://purl.org/dc/elements/1.1/"/>
      <import namespace="http://www.w3.org/1999/xhtml"/>

      <element name="item">
	<complexType>
	  <sequence>
	    <element minOccurs="0" name="title" type="string"/>
	    <element minOccurs="0" name="link" type="anyURI"/>
	    <element minOccurs="0" name="description" type="string"/>
	    <element minOccurs="0" ref="content:encoded"/>
	    <element minOccurs="0" ref="xhtml:body"/>
	    <element minOccurs="0" name="author" type="string"/>
	    <element minOccurs="0" ref="dc:date"/>
	    <element minOccurs="0" ref="dc:creator"/>
	  </sequence>
	</complexType>
      </element>
    </schema>

    <schema elementFormDefault="qualified"
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://purl.org/rss/1.0/modules/content/">
      <element name="encoded" type="string"/>
    </schema>

    <schema elementFormDefault="qualified"
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://www.w3.org/1999/xhtml">
      <element name="body" mixed="true">
	<complexType>
	 <sequence>
	   <any processContents="skip"/>
	 </sequence>
	</complexType>
      </element>
    </schema>

    <schema elementFormDefault="qualified"
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://purl.org/dc/elements/1.1/">
      <element name="date" type="string"/>
      <element name="creator" type="string"/>
    </schema>
  </types>

  <message name="RSSSoapMessage">
    <part name="item" element="rss:item"/>
  </message>

  <portType name="RSSSoap">
    <operation name="POST">
      <input message="rss:RSSSoapMessage"/>
      <output message="rss:RSSSoapMessage"/>
    </operation>
  </portType>

  <binding name="RSSSoap" type="rss:RSSSoap">
    <soap:binding style="document"
      transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="POST">
      <soap:operation soapAction="RSS" style="document"/>
      <input>
	<soap:body use="literal"/>
      </input>
      <output>
	<soap:body use="literal"/>
      </output>
    </operation>
  </binding>

  <service name="RSS">
    <port name="RSSSoap" binding="rss:RSSSoap">
      <soap:address location="http://intertwingly.net/blog/1447.soap"/>
    </port>
  </service>
</definitions>


