<?xml version="1.0" encoding="ISO-8859-1"?><definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:si="http://soapinterop.org/xsd" xmlns:tns="urn:mates" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:mates"><types><xsd:schema targetNamespace="urn:mates"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="login_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="session_id" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="guessloc_location">
  <xsd:all>
   <xsd:element name="loc_id" type="xsd:int"/>
   <xsd:element name="name" type="xsd:string"/>
   <xsd:element name="lat" type="xsd:float"/>
   <xsd:element name="long" type="xsd:float"/>
   <xsd:element name="score" type="xsd:float"/>
   <xsd:element name="source" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="guessloc_location_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:guessloc_location[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="guessloc_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="locs" type="tns:guessloc_location_list"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="getnearbylocs_location">
  <xsd:all>
   <xsd:element name="loc_id" type="xsd:int"/>
   <xsd:element name="name" type="xsd:string"/>
   <xsd:element name="lat" type="xsd:float"/>
   <xsd:element name="long" type="xsd:float"/>
   <xsd:element name="distance" type="xsd:float"/>
   <xsd:element name="direction" type="xsd:float"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="getnearbylocs_location_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:getnearbylocs_location[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="getnearbylocs_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="locs" type="tns:getnearbylocs_location_list"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="setloc_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="loc_id" type="xsd:int"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="interest_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="getinterests_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="interests" type="tns:interest_list"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="course_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="loc_q_item">
  <xsd:all>
   <xsd:element name="msgtype" type="xsd:string"/>
   <xsd:element name="name" type="xsd:string"/>
   <xsd:element name="loc_id" type="xsd:int"/>
   <xsd:element name="lat" type="xsd:float"/>
   <xsd:element name="long" type="xsd:float"/>
   <xsd:element name="distance" type="xsd:float"/>
   <xsd:element name="direction" type="xsd:float"/>
   <xsd:element name="wall" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="loc_q_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:loc_q_item[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="msg_q_item">
  <xsd:all>
   <xsd:element name="username" type="xsd:string"/>
   <xsd:element name="msg" type="xsd:string" msg="http://www.w3.org/2001/XMLSchema:string"/>
   <xsd:element name="ts" type="xsd:string" msg="http://www.w3.org/2001/XMLSchema:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="msg_q_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:msg_q_item[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="rel_q_item">
  <xsd:all>
   <xsd:element name="msgtype" type="xsd:string"/>
   <xsd:element name="name" type="xsd:string"/>
   <xsd:element name="loc_id" type="xsd:int"/>
   <xsd:element name="reltype" type="xsd:string"/>
   <xsd:element name="relparam" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="rel_q_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:rel_q_item[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="getcourses_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="courses" type="tns:course_list"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="friend_list">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="getfriends_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="friends" type="tns:friend_list"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="refresh_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="loc_q" type="tns:loc_q_list"/>
   <xsd:element name="rel_q" type="tns:rel_q_list"/>
   <xsd:element name="msg_q" type="tns:msg_q_list"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="getuserinfo_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
   <xsd:element name="msg" type="xsd:string"/>
   <xsd:element name="ts" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="generic_response">
  <xsd:all>
   <xsd:element name="success" type="xsd:int"/>
   <xsd:element name="response" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
</xsd:schema>
</types><message name="loginRequest"><part name="username" type="xsd:string" /><part name="password" type="xsd:string" /></message><message name="loginResponse"><part name="return" type="tns:login_response" /></message><message name="logoutRequest"><part name="session_id" type="xsd:string" /></message><message name="logoutResponse"><part name="return" type="xsd:int" /></message><message name="registerRequest"><part name="username" type="xsd:string" /><part name="password" type="xsd:string" /></message><message name="registerResponse"><part name="return" type="tns:generic_response" /></message><message name="guesslocRequest"><part name="session_id" type="xsd:string" /><part name="mac_addr" type="xsd:string" /></message><message name="guesslocResponse"><part name="return" type="tns:guessloc_response" /></message><message name="getnearbylocsRequest"><part name="session_id" type="xsd:string" /><part name="lat" type="xsd:float" /><part name="long" type="xsd:float" /></message><message name="getnearbylocsResponse"><part name="return" type="tns:getnearbylocs_response" /></message><message name="setlocRequest"><part name="session_id" type="xsd:string" /><part name="name" type="xsd:string" /><part name="lat" type="xsd:float" /><part name="long" type="xsd:float" /><part name="loc_id" type="xsd:int" /><part name="mac_addr" type="xsd:string" /></message><message name="setlocResponse"><part name="return" type="tns:setloc_response" /></message><message name="interest_addRequest"><part name="session_id" type="xsd:string" /><part name="interest" type="xsd:string" /></message><message name="interest_addResponse"><part name="return" type="tns:generic_response" /></message><message name="interest_delRequest"><part name="session_id" type="xsd:string" /><part name="interest" type="xsd:string" /></message><message name="interest_delResponse"><part name="return" type="tns:generic_response" /></message><message name="getinterestsRequest"><part name="session_id" type="xsd:string" /></message><message name="getinterestsResponse"><part name="return" type="tns:getinterests_response" /></message><message name="course_addRequest"><part name="session_id" type="xsd:string" /><part name="course" type="xsd:string" /></message><message name="course_addResponse"><part name="return" type="tns:generic_response" /></message><message name="course_delRequest"><part name="session_id" type="xsd:string" /><part name="course" type="xsd:string" /></message><message name="course_delResponse"><part name="return" type="tns:generic_response" /></message><message name="getcoursesRequest"><part name="session_id" type="xsd:string" /></message><message name="getcoursesResponse"><part name="return" type="tns:getcourses_response" /></message><message name="friend_addRequest"><part name="session_id" type="xsd:string" /><part name="friend_username" type="xsd:string" /></message><message name="friend_addResponse"><part name="return" type="tns:generic_response" /></message><message name="friend_delRequest"><part name="session_id" type="xsd:string" /><part name="friend_username" type="xsd:string" /></message><message name="friend_delResponse"><part name="return" type="tns:generic_response" /></message><message name="getfriendsRequest"><part name="session_id" type="xsd:string" /></message><message name="getfriendsResponse"><part name="return" type="tns:getfriends_response" /></message><message name="refreshRequest"><part name="session_id" type="xsd:string" /></message><message name="refreshResponse"><part name="return" type="tns:refresh_response" /></message><message name="sendmsgRequest"><part name="session_id" type="xsd:string" /><part name="username" type="xsd:string" /><part name="msg" type="xsd:xsd_string" /></message><message name="sendmsgResponse"><part name="return" type="tns:generic_response" /></message><message name="setwallRequest"><part name="session_id" type="xsd:string" /><part name="msg" type="xsd:string" /></message><message name="setwallResponse"><part name="return" type="tns:generic_response" /></message><message name="getuserinfoRequest"><part name="session_id" type="xsd:string" /><part name="username" type="xsd:string" /></message><message name="getuserinfoResponse"><part name="return" type="tns:getuserinfo_response" /></message><message name="setuserinfoRequest"><part name="session_id" type="xsd:string" /><part name="msg" type="xsd:string" /></message><message name="setuserinfoResponse"><part name="return" type="tns:generic_response" /></message><portType name="matesPortType"><operation name="login"><documentation>Authenticates the caller</documentation><input message="tns:loginRequest"/><output message="tns:loginResponse"/></operation><operation name="logout"><documentation>Log the caller out</documentation><input message="tns:logoutRequest"/><output message="tns:logoutResponse"/></operation><operation name="register"><documentation>Register a new user</documentation><input message="tns:registerRequest"/><output message="tns:registerResponse"/></operation><operation name="guessloc"><documentation>Return a list of guessed locations based on ip</documentation><input message="tns:guesslocRequest"/><output message="tns:guesslocResponse"/></operation><operation name="getnearbylocs"><documentation>Return a list of nearby locations based on coordinates</documentation><input message="tns:getnearbylocsRequest"/><output message="tns:getnearbylocsResponse"/></operation><operation name="setloc"><documentation>Set the user location</documentation><input message="tns:setlocRequest"/><output message="tns:setlocResponse"/></operation><operation name="interest_add"><documentation>Add an interest</documentation><input message="tns:interest_addRequest"/><output message="tns:interest_addResponse"/></operation><operation name="interest_del"><documentation>Delete an interest</documentation><input message="tns:interest_delRequest"/><output message="tns:interest_delResponse"/></operation><operation name="getinterests"><documentation>Return a list of interests</documentation><input message="tns:getinterestsRequest"/><output message="tns:getinterestsResponse"/></operation><operation name="course_add"><documentation>Add a course</documentation><input message="tns:course_addRequest"/><output message="tns:course_addResponse"/></operation><operation name="course_del"><documentation>Delete a course</documentation><input message="tns:course_delRequest"/><output message="tns:course_delResponse"/></operation><operation name="getcourses"><documentation>Return a list of courses</documentation><input message="tns:getcoursesRequest"/><output message="tns:getcoursesResponse"/></operation><operation name="friend_add"><documentation>Add a friend</documentation><input message="tns:friend_addRequest"/><output message="tns:friend_addResponse"/></operation><operation name="friend_del"><documentation>Delete a friend</documentation><input message="tns:friend_delRequest"/><output message="tns:friend_delResponse"/></operation><operation name="getfriends"><documentation>Return a list of friends</documentation><input message="tns:getfriendsRequest"/><output message="tns:getfriendsResponse"/></operation><operation name="refresh"><documentation>Ping server for updates</documentation><input message="tns:refreshRequest"/><output message="tns:refreshResponse"/></operation><operation name="sendmsg"><documentation>Send a message to another user</documentation><input message="tns:sendmsgRequest"/><output message="tns:sendmsgResponse"/></operation><operation name="setwall"><documentation>Set the wall for the current location</documentation><input message="tns:setwallRequest"/><output message="tns:setwallResponse"/></operation><operation name="getuserinfo"><documentation>Get userinfo for the specified user</documentation><input message="tns:getuserinfoRequest"/><output message="tns:getuserinfoResponse"/></operation><operation name="setuserinfo"><documentation>Set userinfo of the caller</documentation><input message="tns:setuserinfoRequest"/><output message="tns:setuserinfoResponse"/></operation></portType><binding name="matesBinding" type="tns:matesPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="login"><soap:operation soapAction="url:mates#login" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="logout"><soap:operation soapAction="url:mates#logout" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="register"><soap:operation soapAction="url:mates#register" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="guessloc"><soap:operation soapAction="url:mates#guessloc" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getnearbylocs"><soap:operation soapAction="url:mates#getnearbylocs" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="setloc"><soap:operation soapAction="url:mates#setloc" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="interest_add"><soap:operation soapAction="url:mates#interest_add" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="interest_del"><soap:operation soapAction="url:mates#interest_del" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getinterests"><soap:operation soapAction="url:mates#getinterests" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="course_add"><soap:operation soapAction="url:mates#course_add" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="course_del"><soap:operation soapAction="url:mates#course_del" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getcourses"><soap:operation soapAction="url:mates#getcourses" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="friend_add"><soap:operation soapAction="url:mates#friend_add" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="friend_del"><soap:operation soapAction="url:mates#friend_del" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getfriends"><soap:operation soapAction="url:mates#getfriends" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="refresh"><soap:operation soapAction="url:mates#refresh" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="sendmsg"><soap:operation soapAction="url:mates#sendmsg" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="setwall"><soap:operation soapAction="url:mates#setwall" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getuserinfo"><soap:operation soapAction="url:mates#getuserinfo" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="setuserinfo"><soap:operation soapAction="url:mates#setuserinfo" style="rpc"/><input><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:mates" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding><service name="mates"><port name="matesPort" binding="tns:matesBinding"><soap:address location="http://127.0.0.1/mates0.4/mates.php"/></port></service></definitions>