File:  [mozdev] / books / www / xml / snake.wsdl
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Jun 7 20:18:43 2002 UTC (17 years, 4 months ago) by eric
Branches: MAIN
CVS tags: HEAD
no message

<?xml version='1.0' encoding='UTF-8'?>

<definitions
   name='SnakeSoap' 
   targetNamespace='http://books.mozilla.org/xml/snake.wsdl'
   xmlns:tns='http://books.mozilla.org/xml/snake.wsdl' 
   xmlns:xsd='http://www.w3.org/2001/XMLSchema' 
   xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
   xmlns='http://schemas.xmlsoap.org/wsdl/'>

  <types>
    <schema targetNamespace='urn:SnakeScore'
      xmlns='http://www.w3.org/2001/XMLSchema'>
    </schema>
  </types>

  <message name='SaveScore'>
    <part name='PlayerName' type='xsd:string'/>
    <part name='Score' type='xsd:string'/>
  </message>

  <message name='SaveScoreResponse'>
    <part name='PlayerName' type='xsd:string'/>
    <part name='Acknowledgement' type='xsd:string'/>
  </message>

  <message name='GetScore'>
    <part name='PlayerName' type='xsd:string'/>
  </message>

  <message name='GetScoreResponse'>
    <part name='PlayerName' type='xsd:string'/>
    <part name='Score' type='xsd:string'/>
  </message>

  <portType name='SnakeSoapPortType'>
    <operation name='SaveScore' parameterOrder='PlayerName Score'>
      <input message='tns:SaveScore'/>
      <output message='tns:SaveScoreResponse'/>
    </operation>

    <operation name='GetScore' parameterOrder='PlayerName'>
      <input message='tns:GetScore'/>
      <output message='tns:GetScoreResponse'/>
    </operation>
  </portType>

  <binding name='SnakeSoapBinding' type='tns:SnakeSoapPortType'>
    <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>

    <operation name='SaveScore'>
      <soap:operation soapAction='http://books.mozdev.org/SnakeSRL'/>
      <input>
        <soap:body
           use='encoded' 
           namespace='urn:SnakeScore'
           encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
      </input>
      <output>
        <soap:body 
           use='encoded' 
           namespace='urn:SnakeScore' 
           encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
      </output>
    </operation>

    <operation name='GetScore'>
      <soap:operation soapAction='http://books.mozdev.org/SnakeSRL'/>
      <input>
        <soap:body
           use='encoded' 
           namespace='urn:SnakeScore'
           encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
      </input>
      <output>
        <soap:body 
           use='encoded' 
           namespace='urn:SnakeScore' 
           encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
      </output>
    </operation>
  </binding>

  <service name='SnakeSoap' >
    <port name='SnakeSoapPortType' binding='tns:SnakeSoapBinding'>
      <soap:address location='http://books.mozilla.org/xml/snake.wsdl'/>
    </port>
  </service>

</definitions>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>