<?xml version="1.0" ?>
<g:definitions targetNamespace="http://xmlme.com/WebServices" xmlns:1="http://schemas.xmlsoap.org/wsdl/" xmlns:_="http://schemas.xmlsoap.org/wsdl/" xmlns:e="http://schemas.xmlsoap.org/wsdl/" xmlns:g="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:n="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://xmlme.com/WebServices" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/">
  <g:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://xmlme.com/WebServices">
      <s:element name="GetSpeech">
        <s:complexType>
          <s:sequence>
            <s:element maxOccurs="1" minOccurs="0" name="Request" type="s:string"/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetSpeechResponse">
        <s:complexType>
          <s:sequence>
            <s:element maxOccurs="1" minOccurs="0" name="GetSpeechResult" type="s:string"/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="string" nillable="true" type="s:string"/>
    </s:schema>
  </g:types>
  <g:message name="GetSpeechSoapIn">
    <g:part element="s0:GetSpeech" name="parameters"/>
  </g:message>
  <g:message name="GetSpeechSoapOut">
    <g:part element="s0:GetSpeechResponse" name="parameters"/>
  </g:message>
  <g:message name="GetSpeechHttpGetIn">
    <g:part name="Request" type="s:string"/>
  </g:message>
  <g:message name="GetSpeechHttpGetOut">
    <g:part element="s0:string" name="Body"/>
  </g:message>
  <g:message name="GetSpeechHttpPostIn">
    <g:part name="Request" type="s:string"/>
  </g:message>
  <g:message name="GetSpeechHttpPostOut">
    <g:part element="s0:string" name="Body"/>
  </g:message>
  <g:portType name="ShakespeareSoap">
    <g:operation name="GetSpeech">
      <g:documentation>
        &lt;h3&gt;GetSpeech requires a string formatted phrase from one of Shakespeare's plays as input. The speech, speaker, and play will be returned as an XML string. &lt;br /&gt;&lt;br /&gt;Sample Shakespeare Phrases: &lt;br /&gt;&lt;br /&gt;To be, or not to be&lt;br /&gt;My kingdom for a horse&lt;br /&gt;Get thee to a nunnery&lt;br /&gt;There are more things in heaven and earth&lt;br /&gt;I will wear my heart upon my sleeve&lt;br /&gt;When beggars die, there are no comets seen&lt;br /&gt;Lord, what fools these mortals be&lt;br /&gt;Et tu, Brute&lt;br /&gt;Sound and fury&lt;br /&gt;Friends, romans, countrymen&lt;br /&gt;Something wicked this way comes&lt;br /&gt;To sleep: perchance to dream&lt;br /&gt;Green-eyed monster&lt;br /&gt;This was the noblest Roman of them all&lt;br /&gt;Oft expectation fails and most oft there Where most it promises&lt;br /&gt;Eye of newt and toe of frog&lt;br /&gt;Frailty, thy name is woman&lt;br /&gt;What light through yonder window breaks&lt;br /&gt;Think you I am no stronger than my sex&lt;br /&gt;Cowards die many times before their deaths&lt;br /&gt;How poor are they that have not patience&lt;br /&gt;Quality of mercy&lt;br /&gt;My words fly up, my thoughts remain below&lt;br /&gt;Bell, book, and candle&lt;br /&gt;Something is rotten in the state of Denmark&lt;br /&gt;Beware the ides of March&lt;br /&gt;A stage where every man must play a part&lt;br /&gt;Though this be madness, yet there is method in 't&lt;br /&gt;Is this a dagger which I see before me&lt;br /&gt;Now go we in content To liberty and not to banishment&lt;br /&gt;Band of brothers&lt;br /&gt;Alas, poor Yorick! I knew him&lt;br /&gt;The world's mine oyster&lt;br /&gt;Nothing will come of nothing&lt;br /&gt;That man that hath a tongue&lt;br /&gt;All the world's a stage&lt;br /&gt;The course of true love never did run smooth&lt;br /&gt;Love looks not with the eyes, but with the mind&lt;br /&gt;Let every eye negotiate for itself&lt;br /&gt;Kiss me, Kate&lt;br /&gt;The play 's the thing&lt;br /&gt;I am constant as the northern star&lt;br /&gt;The man that hath no music in himself&lt;br /&gt;We are such stuff As dreams are made on&lt;br /&gt;This was the most unkindest cut of all&lt;br /&gt;Journeys end in lovers meeting&lt;br /&gt;Yond Cassius has a lean and hungry look&lt;br /&gt;My only love sprung from my only hate&lt;br /&gt;I am fortune's fool&lt;br /&gt;Loved not wisely but too well&lt;br /&gt;O coward conscience, how dost thou afflict me&lt;br /&gt;When shall we three meet again&lt;br /&gt;A plague o' both your houses&lt;br /&gt;Out, damned spot&lt;br /&gt;To-morrow, and to-morrow, and to-morrow&lt;br /&gt;Our remedies oft in ourselves do lie&lt;br /&gt;Not that I loved Caesar less&lt;br /&gt;Winter of our discontent&lt;br /&gt;Parting is such sweet sorrow&lt;br /&gt;O Romeo, Romeo! wherefore art thou Romeo&lt;br /&gt;The lady protests too much, methinks&lt;br /&gt;What a piece of work is a man&lt;br /&gt;The fault, dear Brutus, is not in our stars&lt;br /&gt;All that glitters is not gold&lt;br /&gt;What's in a name&lt;br /&gt;Thus with a kiss I die&lt;/h3&gt;
      </g:documentation>
      <g:input message="s0:GetSpeechSoapIn"/>
      <g:output message="s0:GetSpeechSoapOut"/>
    </g:operation>
  </g:portType>
  <g:portType name="ShakespeareHttpGet">
    <g:operation name="GetSpeech">
      <g:documentation>
        &lt;h3&gt;GetSpeech requires a string formatted phrase from one of Shakespeare's plays as input. The speech, speaker, and play will be returned as an XML string. &lt;br /&gt;&lt;br /&gt;Sample Shakespeare Phrases: &lt;br /&gt;&lt;br /&gt;To be, or not to be&lt;br /&gt;My kingdom for a horse&lt;br /&gt;Get thee to a nunnery&lt;br /&gt;There are more things in heaven and earth&lt;br /&gt;I will wear my heart upon my sleeve&lt;br /&gt;When beggars die, there are no comets seen&lt;br /&gt;Lord, what fools these mortals be&lt;br /&gt;Et tu, Brute&lt;br /&gt;Sound and fury&lt;br /&gt;Friends, romans, countrymen&lt;br /&gt;Something wicked this way comes&lt;br /&gt;To sleep: perchance to dream&lt;br /&gt;Green-eyed monster&lt;br /&gt;This was the noblest Roman of them all&lt;br /&gt;Oft expectation fails and most oft there Where most it promises&lt;br /&gt;Eye of newt and toe of frog&lt;br /&gt;Frailty, thy name is woman&lt;br /&gt;What light through yonder window breaks&lt;br /&gt;Think you I am no stronger than my sex&lt;br /&gt;Cowards die many times before their deaths&lt;br /&gt;How poor are they that have not patience&lt;br /&gt;Quality of mercy&lt;br /&gt;My words fly up, my thoughts remain below&lt;br /&gt;Bell, book, and candle&lt;br /&gt;Something is rotten in the state of Denmark&lt;br /&gt;Beware the ides of March&lt;br /&gt;A stage where every man must play a part&lt;br /&gt;Though this be madness, yet there is method in 't&lt;br /&gt;Is this a dagger which I see before me&lt;br /&gt;Now go we in content To liberty and not to banishment&lt;br /&gt;Band of brothers&lt;br /&gt;Alas, poor Yorick! I knew him&lt;br /&gt;The world's mine oyster&lt;br /&gt;Nothing will come of nothing&lt;br /&gt;That man that hath a tongue&lt;br /&gt;All the world's a stage&lt;br /&gt;The course of true love never did run smooth&lt;br /&gt;Love looks not with the eyes, but with the mind&lt;br /&gt;Let every eye negotiate for itself&lt;br /&gt;Kiss me, Kate&lt;br /&gt;The play 's the thing&lt;br /&gt;I am constant as the northern star&lt;br /&gt;The man that hath no music in himself&lt;br /&gt;We are such stuff As dreams are made on&lt;br /&gt;This was the most unkindest cut of all&lt;br /&gt;Journeys end in lovers meeting&lt;br /&gt;Yond Cassius has a lean and hungry look&lt;br /&gt;My only love sprung from my only hate&lt;br /&gt;I am fortune's fool&lt;br /&gt;Loved not wisely but too well&lt;br /&gt;O coward conscience, how dost thou afflict me&lt;br /&gt;When shall we three meet again&lt;br /&gt;A plague o' both your houses&lt;br /&gt;Out, damned spot&lt;br /&gt;To-morrow, and to-morrow, and to-morrow&lt;br /&gt;Our remedies oft in ourselves do lie&lt;br /&gt;Not that I loved Caesar less&lt;br /&gt;Winter of our discontent&lt;br /&gt;Parting is such sweet sorrow&lt;br /&gt;O Romeo, Romeo! wherefore art thou Romeo&lt;br /&gt;The lady protests too much, methinks&lt;br /&gt;What a piece of work is a man&lt;br /&gt;The fault, dear Brutus, is not in our stars&lt;br /&gt;All that glitters is not gold&lt;br /&gt;What's in a name&lt;br /&gt;Thus with a kiss I die&lt;/h3&gt;
      </g:documentation>
      <g:input message="s0:GetSpeechHttpGetIn"/>
      <g:output message="s0:GetSpeechHttpGetOut"/>
    </g:operation>
  </g:portType>
  <g:portType name="ShakespeareHttpPost">
    <g:operation name="GetSpeech">
      <g:documentation>
        &lt;h3&gt;GetSpeech requires a string formatted phrase from one of Shakespeare's plays as input. The speech, speaker, and play will be returned as an XML string. &lt;br /&gt;&lt;br /&gt;Sample Shakespeare Phrases: &lt;br /&gt;&lt;br /&gt;To be, or not to be&lt;br /&gt;My kingdom for a horse&lt;br /&gt;Get thee to a nunnery&lt;br /&gt;There are more things in heaven and earth&lt;br /&gt;I will wear my heart upon my sleeve&lt;br /&gt;When beggars die, there are no comets seen&lt;br /&gt;Lord, what fools these mortals be&lt;br /&gt;Et tu, Brute&lt;br /&gt;Sound and fury&lt;br /&gt;Friends, romans, countrymen&lt;br /&gt;Something wicked this way comes&lt;br /&gt;To sleep: perchance to dream&lt;br /&gt;Green-eyed monster&lt;br /&gt;This was the noblest Roman of them all&lt;br /&gt;Oft expectation fails and most oft there Where most it promises&lt;br /&gt;Eye of newt and toe of frog&lt;br /&gt;Frailty, thy name is woman&lt;br /&gt;What light through yonder window breaks&lt;br /&gt;Think you I am no stronger than my sex&lt;br /&gt;Cowards die many times before their deaths&lt;br /&gt;How poor are they that have not patience&lt;br /&gt;Quality of mercy&lt;br /&gt;My words fly up, my thoughts remain below&lt;br /&gt;Bell, book, and candle&lt;br /&gt;Something is rotten in the state of Denmark&lt;br /&gt;Beware the ides of March&lt;br /&gt;A stage where every man must play a part&lt;br /&gt;Though this be madness, yet there is method in 't&lt;br /&gt;Is this a dagger which I see before me&lt;br /&gt;Now go we in content To liberty and not to banishment&lt;br /&gt;Band of brothers&lt;br /&gt;Alas, poor Yorick! I knew him&lt;br /&gt;The world's mine oyster&lt;br /&gt;Nothing will come of nothing&lt;br /&gt;That man that hath a tongue&lt;br /&gt;All the world's a stage&lt;br /&gt;The course of true love never did run smooth&lt;br /&gt;Love looks not with the eyes, but with the mind&lt;br /&gt;Let every eye negotiate for itself&lt;br /&gt;Kiss me, Kate&lt;br /&gt;The play 's the thing&lt;br /&gt;I am constant as the northern star&lt;br /&gt;The man that hath no music in himself&lt;br /&gt;We are such stuff As dreams are made on&lt;br /&gt;This was the most unkindest cut of all&lt;br /&gt;Journeys end in lovers meeting&lt;br /&gt;Yond Cassius has a lean and hungry look&lt;br /&gt;My only love sprung from my only hate&lt;br /&gt;I am fortune's fool&lt;br /&gt;Loved not wisely but too well&lt;br /&gt;O coward conscience, how dost thou afflict me&lt;br /&gt;When shall we three meet again&lt;br /&gt;A plague o' both your houses&lt;br /&gt;Out, damned spot&lt;br /&gt;To-morrow, and to-morrow, and to-morrow&lt;br /&gt;Our remedies oft in ourselves do lie&lt;br /&gt;Not that I loved Caesar less&lt;br /&gt;Winter of our discontent&lt;br /&gt;Parting is such sweet sorrow&lt;br /&gt;O Romeo, Romeo! wherefore art thou Romeo&lt;br /&gt;The lady protests too much, methinks&lt;br /&gt;What a piece of work is a man&lt;br /&gt;The fault, dear Brutus, is not in our stars&lt;br /&gt;All that glitters is not gold&lt;br /&gt;What's in a name&lt;br /&gt;Thus with a kiss I die&lt;/h3&gt;
      </g:documentation>
      <g:input message="s0:GetSpeechHttpPostIn"/>
      <g:output message="s0:GetSpeechHttpPostOut"/>
    </g:operation>
  </g:portType>
  <g:binding name="ShakespeareSoap" type="s0:ShakespeareSoap">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <g:operation name="GetSpeech">
      <soap:operation soapAction="http://xmlme.com/WebServices/GetSpeech" style="document"/>
      <g:input>
        <soap:body use="literal"/>
      </g:input>
      <g:output>
        <soap:body use="literal"/>
      </g:output>
    </g:operation>
  </g:binding>
  <g:binding name="ShakespeareHttpGet" type="s0:ShakespeareHttpGet">
    <http:binding verb="GET"/>
    <g:operation name="GetSpeech">
      <http:operation location="/GetSpeech"/>
      <g:input>
        <http:urlEncoded/>
      </g:input>
      <g:output>
        <mime:mimeXml part="Body"/>
      </g:output>
    </g:operation>
  </g:binding>
  <g:binding name="ShakespeareHttpPost" type="s0:ShakespeareHttpPost">
    <http:binding verb="POST"/>
    <g:operation name="GetSpeech">
      <http:operation location="/GetSpeech"/>
      <g:input>
        <mime:content type="application/x-www-form-urlencoded"/>
      </g:input>
      <g:output>
        <mime:mimeXml part="Body"/>
      </g:output>
    </g:operation>
  </g:binding>
  <g:service name="Shakespeare">
    <g:documentation>
      &lt;h3&gt;This Web Service takes a phrase from the plays of William Shakespeare and returns the associated speech, speaker, and play. The Shakespeare texts used in this Web Service are the &lt;a href=http://www.oasis-open.org/cover/bosakShakespeare200.html&gt; XML versions&lt;/a&gt; developed by Jon Bosak. Please visit &lt;a href=http://www.xmlme.com&gt; XML Me&lt;/a&gt; or &lt;a href=mailto:kevinc@xmlme&gt; contact us&lt;/a&gt; for more information.&lt;/h3&gt;
    </g:documentation>
    <g:port binding="s0:ShakespeareSoap" name="ShakespeareSoap">
      <soap:address location="http://www.xmlme.com/WSShakespeare.asmx"/>
    </g:port>
    <g:port binding="s0:ShakespeareHttpGet" name="ShakespeareHttpGet">
      <http:address location="http://www.xmlme.com/WSShakespeare.asmx"/>
    </g:port>
    <g:port binding="s0:ShakespeareHttpPost" name="ShakespeareHttpPost">
      <http:address location="http://www.xmlme.com/WSShakespeare.asmx"/>
    </g:port>
  </g:service>
</g:definitions>
