<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  xmlns:s="http://www.w3.org/2001/XMLSchema" 
  xmlns:capi="http://www.wellformedweb.org/CommentAPI" 
  targetNamespace="http://www.wellformedweb.org/CommentAPI" 
  xmlns="http://schemas.xmlsoap.org/wsdl/">

  <types>
    <schema elementFormDefault="qualified" 
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://www.wellformedweb.org/CommentAPI">

      <element name="item">
        <complexType>
          <sequence>
            <element minOccurs="0" maxOccurs="1" name="title" type="string" />
            <element minOccurs="0" maxOccurs="1" name="description" type="string" />
            <element minOccurs="0" maxOccurs="1" name="link" type="anyURI" />
            <any namespace="##other" processContents="lax" 
              minOccurs="0" maxOccurs="unbounded" />
          </sequence>
        </complexType>
      </element>

    </schema>
  </types>

  <message name="createCommentSoapMessage">
    <part name="body" element="capi:item" />
  </message>

  <portType name="CommentAPISoap">
    <operation name="createComment">
      <input message="capi:createCommentSoapMessage" />
      <output message="capi:createCommentSoapMessage" />
    </operation>
  </portType>

  <binding name="CommentAPISoap" type="capi:CommentAPISoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="createComment">
      <soap:operation soapAction="" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
  </binding>

  <service name="CommentAPI">
    <port name="CommentAPISoap" binding="capi:CommentAPISoap">
      <soap:address location="http://localhost/CommentAPI.asmx" />
    </port>
  </service>

</definitions>


