<?xml version="1.0" encoding="UTF-8"?>
<definitions name="anagram"
 targetNamespace="urn:anagram"
 xmlns:tns="urn:anagram"
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:nsAnagram="urn:anagram"
 xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
 xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
 xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
 xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
 xmlns="http://schemas.xmlsoap.org/wsdl/">

<types>

 <schema targetNamespace="urn:anagram"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:nsAnagram="urn:anagram"
  xmlns="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="unqualified"
  attributeFormDefault="unqualified">
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="TypeScores">
   <sequence>
     <element name="ContactScore" type="xsd:int" minOccurs="1" maxOccurs="1"/>
     <element name="EventScore" type="xsd:int" minOccurs="1" maxOccurs="1"/>
   </sequence>
  </complexType>
  <complexType name="ContactData">
   <sequence>
     <element name="ContactPreNameTitle" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactFirst" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMiddle" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactPostNameTitles" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactTitle" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactCompany" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactAddress" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactCity" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactState" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactZipCode" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactCountry" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactWork" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactWorkExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactWorkNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactHome" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactHomeExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactHomeNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactFax" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactFaxExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactFaxNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactOther" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactOtherExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactOtherNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMain" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMainExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMainNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactPager" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactPagerExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactPagerNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMobile" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMobileExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactMobileNoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone1Ext" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone1NoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone2Ext" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone2NoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone3Ext" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactUnIdPhone3NoExt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactEmail" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactEmail2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactEmail3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactEmail4" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactURL1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactURL2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactURL3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactURL4" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMName1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMName2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMName3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMName4" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMType1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMType2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMType3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactIMType4" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="ContactRemainingText" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
   </sequence>
  </complexType>
  <complexType name="EventData">
   <sequence>
     <element name="EventNoTime" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="EventDesc" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="EventSubject" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="EventLocation" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="EventLocationBare" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="EventFrom" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="EventTo" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
   </sequence>
  </complexType>
 </schema>

</types>

<message name="GetParserVersionRequest">
</message>

<message name="GetParserVersionResponse">
 <part name="version" type="xsd:unsignedLong"/>
</message>

<message name="GetWSVersionRequest">
</message>

<message name="GetWSVersionResponse">
 <part name="version" type="xsd:unsignedLong"/>
</message>

<message name="GetTypeScoresRequest">
 <part name="text" type="xsd:string"/>
</message>

<message name="GetTypeScoresResponse">
 <part name="scores" type="nsAnagram:TypeScores"/>
</message>

<message name="ParseContactRequest">
 <part name="authid" type="xsd:string"/>
 <part name="pass" type="xsd:string"/>
 <part name="text" type="xsd:string"/>
</message>

<message name="ParseContactResponse">
 <part name="result" type="nsAnagram:ContactData"/>
</message>

<message name="ParseEventRequest">
 <part name="authid" type="xsd:string"/>
 <part name="pass" type="xsd:string"/>
 <part name="text" type="xsd:string"/>
 <part name="localtime" type="xsd:string"/>
</message>

<message name="ParseEventResponse">
 <part name="result" type="nsAnagram:EventData"/>
</message>

<portType name="anagramPortType">
 <operation name="GetParserVersion">
  <documentation>Service definition of function nsAnagram__GetParserVersion</documentation>
  <input message="tns:GetParserVersionRequest"/>
  <output message="tns:GetParserVersionResponse"/>
 </operation>
 <operation name="GetWSVersion">
  <documentation>Service definition of function nsAnagram__GetWSVersion</documentation>
  <input message="tns:GetWSVersionRequest"/>
  <output message="tns:GetWSVersionResponse"/>
 </operation>
 <operation name="GetTypeScores">
  <documentation>Service definition of function nsAnagram__GetTypeScores</documentation>
  <input message="tns:GetTypeScoresRequest"/>
  <output message="tns:GetTypeScoresResponse"/>
 </operation>
 <operation name="ParseContact">
  <documentation>Service definition of function nsAnagram__ParseContact</documentation>
  <input message="tns:ParseContactRequest"/>
  <output message="tns:ParseContactResponse"/>
 </operation>
 <operation name="ParseEvent">
  <documentation>Service definition of function nsAnagram__ParseEvent</documentation>
  <input message="tns:ParseEventRequest"/>
  <output message="tns:ParseEventResponse"/>
 </operation>
</portType>

<binding name="anagram" type="tns:anagramPortType">
 <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
 <operation name="GetParserVersion">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="GetWSVersion">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="GetTypeScores">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="ParseContact">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="ParseEvent">
  <SOAP:operation style="rpc" soapAction=""/>
  <input>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
     <SOAP:body use="encoded" namespace="urn:anagram" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
</binding>

<service name="anagram">
 <documentation>gSOAP 2.7.6c generated service definition</documentation>
 <port name="anagram" binding="tns:anagram">
  <SOAP:address location="https://www.getanagram.com/cgi-bin/ws_anagram.cgi"/>
 </port>
</service>

</definitions>
