<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://localhost/gameCommunity"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://localhost/gameCommunity">
<wsdl:types>
<xsd:schema targetNamespace="http://localhost/gameCommunity" elementFormDefault="qualified">
<xsd:complexType name="Target">
<xsd:sequence>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="contador" type="xsd:int"/>
<xsd:element name="max_contador" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Achievement">
<xsd:sequence>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="name" type="xsd:string" />
<xsd:element name="targets" minOccurs="1" maxOccurs="10" type="tns:Target" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ArrayOfAchievement">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1200" minOccurs="1" name="item" type="tns:Achievement"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="UnlockCode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="unlock_false" />
<xsd:enumeration value="unlock_true" />
<xsd:enumeration value="unlock_complete" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="UnlockParam">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" name="session" type="xsd:string" />
<xsd:element minOccurs="1" name="logro" type="xsd:int" />
<xsd:element minOccurs="1" name="objetivo" type="xsd:int" />
<xsd:element minOccurs="1" name="veces" type="xsd:int" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:element name="Status">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="status_ok" />
<xsd:enumeration value="status_wrong_user" />
<xsd:enumeration value="status_enabled_server" />
<xsd:enumeration value="status_server_temporarily_disabled" />
<xsd:enumeration value="status_server_off" />
<xsd:enumeration value="status_irc_server_is_disabled" />
<xsd:enumeration value="status_requires_an_update" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AuthParam">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOcurrs="1" name="username" type="xsd:string" />
<xsd:element minOcurrs="1" name="game" type="xsd:string" />
<xsd:element minOcurrs="1" name="ver" type="xsd:int" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Auth">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOcurrs="1" name="nonce" type="xsd:string" />
<xsd:element minOcurrs="1" name="info" type="xsd:string" />
<xsd:element minOcurrs="1" name="status" type="tns:Status" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LoginParam">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" name="username" type="xsd:string"/>
<xsd:element minOccurs="1" name="password" type="xsd:string"/>
<xsd:element minOccurs="1" name="authcode" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Session">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" name="session_key" type="xsd:string"/>
<xsd:element minOccurs="1" name="time_expire" type="xsd:int"/>
<xsd:element minOccurs="1" name="time_last_login" type="xsd:int"/>
<xsd:element minOccurs="1" name="ip_last_login" type="xsd:string"/>
<xsd:element minOccurs="1" name="game_achievement_score" type="xsd:int"/>
<xsd:element minOccurs="1" name="total_achievement_score" type="xsd:int"/>
<xsd:element minOccurs="1" name="game_highscore" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</wsdl:types>
<wsdl:message name="AuthInput">
<wsdl:part name="parameters" element="tns:AuthParam" />
</wsdl:message>
<wsdl:message name="AuthOutput">
<wsdl:part name="parameters" element="tns:Auth" />
</wsdl:message>
<wsdl:message name="LoginInput">
<wsdl:part name="parameters" element="tns:LoginParam" />
</wsdl:message>
<wsdl:message name="LoginOutput">
<wsdl:part name="parameters" element="tns:Session" />
</wsdl:message>
<wsdl:message name="UnlockInput">
<wsdl:part name="parameters" element="tns:UnlockParam" />
</wsdl:message>
<wsdl:message name="UnlockOutput">
<wsdl:part name="parameters" element="tns:UnlockCode" />
</wsdl:message>
<wsdl:message name="AchievementsInput">
<wsdl:part name="parameters" element="tns:Session" />
</wsdl:message>
<wsdl:message name="AchievementsOutput">
<wsdl:part name="parameters" element="tns:ArrayOfAchievement" />
</wsdl:message>
<wsdl:message name="AchievementsImageInput">
<wsdl:part name="parameters" element="tns:AchievementsImageParam" />
</wsdl:message>
<wsdl:message name="AchievementsImageOutput">
<wsdl:part name="parameters" element="tns:ArrayOfData" />
</wsdl:message>
<wsdl:portType name="AuthPortType">
<wsdl:operation name="Auth">
<wsdl:input message="tns:AuthInput" wsaw:Action="http://localhost/gameCommunity/auth"/>
<wsdl:output message="tns:AuthOutput" wsaw:Action="http://localhost/gameCommunity/auth"/>
</wsdl:operation>
<wsdl:operation name="Login">
<wsdl:input message="tns:LoginInput" wsaw:Action="http://localhost/gameCommunity/login"/>
<wsdl:output message="tns:LoginOutput" wsaw:Action="http://localhost/gameCommunity/login"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="AchievementPortType">
<wsdl:operation name="Unlock">
<wsdl:input message="tns:UnlockInput" wsaw:Action="http://localhost/gameCommunity/unlock"/>
<wsdl:output message="tns:UnlockOutput" wsaw:Action="http://localhost/gameCommunity/unlock" />
</wsdl:operation>
<wsdl:operation name="Achievements">
<wsdl:input message="tns:AchievementsInput" wsaw:Action="http://localhost/gameCommunity/achievements"/>
<wsdl:output message="tns:AchievementsOutput" wsaw:Action="http://localhost/gameCommunity/achievements"/>
</wsdl:operation>
<wsdl:operation name="AchievementsImage">
<wsdl:input message="tns:AchievementsImageInput" wsaw:Action="http://localhost/gameCommunity/achievementsImage"/>
<wsdl:output message="tns:AchievementsImageOutput" wsaw:Action="http://localhost/gameCommunity/achievementsImage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AuthBinding" type="tns:AuthPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Auth">
<soap:operation soapAction="http://localhost/gameCommunity/auth" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Login">
<soap:operation soapAction="http://localhost/gameCommunity/login" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="AchievementBinding" type="tns:AchievementPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Unlock">
<soap:operation soapAction="http://localhost/gameCommunity/unlock" style="document"/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Achievements">
<soap:operation soapAction="http://localhost/gameCommunity/achievements" style="document"/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AchievementsImage">
<soap:operation soapAction="http://localhost/gameCommunity/achievementsImage" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GameCommunity">
<wsdl:port name="AuthPort" binding="tns:AuthBinding">
<soap:address location="http://localhost/gameCommunity/Auth.php"/>
</wsdl:port>
<wsdl:port name="AchievementPort" binding="tns:AchievementBinding">
<soap:address location="http://localhost/gameCommunity/achievement.php"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>