<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions 	xmlns:tns="urn:memoservices"
					xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
					xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
					xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
					xmlns="http://schemas.xmlsoap.org/wsdl/" 
					name="MemoServices"
					targetNamespace="urn:memoservices"
					xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
	 
	<wsdl:types>
    	<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:memoservices">
        	<xsd:complexType name="ResultType">
        		<xsd:sequence>
        			<xsd:element name="SID" type="xsd:string"></xsd:element>
        			<xsd:element name="Value" type="xsd:anyType"></xsd:element>
        			<xsd:element name="ErrorCode" type="xsd:int"></xsd:element>
        			<xsd:element name="ErrorMessage" type="xsd:string"></xsd:element>
        		</xsd:sequence>
        	</xsd:complexType>        	
        </xsd:schema>
	</wsdl:types>    
  
  <wsdl:message name="GetRemoteIPRequest">
  </wsdl:message>
  <wsdl:message name="GetRemoteIPResponse">
    <wsdl:part name="return" type="xsd:string"></wsdl:part>
  </wsdl:message>
  
  <wsdl:portType name="RemoteSysPortType">
    <wsdl:operation name="GetRemoteIP">
      <wsdl:input message="tns:GetRemoteIPRequest"></wsdl:input>
      <wsdl:output message="tns:GetRemoteIPResponse"></wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  
  <wsdl:binding name="RemoteSysBinding" type="tns:RemoteSysPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />    
    <wsdl:operation name="GetRemoteIP">
      <soap:operation soapAction="urn:RemoteSysAction" />
      <wsdl:input>
        <soap:body use="literal" namespace="urn:xmethods" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="urn:xmethods" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="RemoteSys">
    <wsdl:port name="RemoteSysPort" binding="tns:RemoteSysBinding">
      <soap:address location="http://services.abcmemo.com/soap_server.php?action=remotesys" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
