<?xml version="1.0" encoding="UTF-8"?>
<definitions name="TheGeek"
	targetNamespace="http://thegeek.de/wp-soap/thegeek.wsdl"
	xmlns:tns="http://thegeek.de/wp-soap/thegeek.wsdl"
	xmlns="http://schemas.xmlsoap.org/wsdl/"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	<!-- GET LATEST POSTS -->
	<message name="RequestGetPostsIn">
		<part name="apikey" type="xsd:string"/>
		<part name="num" type="xsd:integer"/>
	</message>
	<message name="RequestGetPostsOut">
		<part name="returncode" type="xsd:integer"/>
		<part name="error" type="xsd:string"/>
		<part name="posts" type="xsd:struct"/>
		<part name="posts_count" type="xsd:integer"/>
	</message>
	<portType name="RequestGetPosts_PortType">
		<operation name="GetPosts">
			<input message="tns:RequestGetPostsIn"/>
			<output message="tns:RequestGetPostsOut"/>
		</operation>
	</portType>
	<binding name="GetPosts_Binding" type="tns:RequestGetPosts_PortType">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="GetPosts">
			<soap:operation soapAction="GetPosts"/>
			<input>
				<soap:body
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
					namespace="urn:mvz-getpostsservice"
					use="encoded"/>
			</input>
			<output>
				<soap:body
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
					namespace="urn:mvz-getpostsservice"
					use="encoded"/>
			</output>
		</operation>
	</binding>
	<service name="GetPosts_Service">
		<documentation>Return latest posts</documentation>
		<port binding="tns:GetPosts_Binding" name="GetPosts_Port">
			<soap:address location="http://thegeek.de/wp-soap/index.php"/>
		</port>
	</service>

</definitions>