##################################################
# XMethodsQuery_services_server.py
#      Generated by ZSI.generate.wsdl2dispatch.ServiceModuleWriter
#
##################################################

from XMethodsQuery_services import *
from ZSI.ServiceContainer import ServiceSOAPBinding

class XMethodsQuery(ServiceSOAPBinding):
    soapAction = {}
    root = {}
    _wsdl = """<?xml version=\"1.0\" ?>
<definitions name=\"XMethodsQuery\" targetNamespace=\"http://www.xmethods.net/interfaces/query.wsdl\" xmlns=\"http://schemas.xmlsoap.org/wsdl/\" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:tns=\"http://www.xmethods.net/interfaces/query.wsdl\" xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">
	<types>
		<schema targetNamespace=\"http://www.xmethods.net/interfaces/query.xsd\" xmlns=\"http://www.w3.org/2001/XMLSchema\" xmlns:tns=\"http://www.xmethods.net/interfaces/query.xsd\">
			<complexType name=\"ServiceSummary\">
				<sequence>
					<element name=\"name\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"id\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"shortDescription\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"wsdlURL\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"publisherID\" nillable=\"true\" type=\"xsd:string\"/>
				</sequence>
			</complexType>
			<complexType name=\"ArrayOfServiceSummary\">
				<complexContent>
					<restriction base=\"soapenc:Array\">
						<attribute ref=\"soapenc:arrayType\" wsdl:arrayType=\"tns:ServiceSummary[]\"/>
					</restriction>
				</complexContent>
			</complexType>
			<complexType name=\"IDNamePair\">
				<sequence>
					<element name=\"id\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"name\" nillable=\"true\" type=\"xsd:string\"/>
				</sequence>
			</complexType>
			<complexType name=\"ArrayOfIDNamePair\">
				<complexContent>
					<restriction base=\"soapenc:Array\">
						<attribute ref=\"soapenc:arrayType\" wsdl:arrayType=\"tns:IDNamePair[]\"/>
					</restriction>
				</complexContent>
			</complexType>
			<complexType name=\"ServiceDetail\">
				<sequence>
					<element name=\"name\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"id\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"shortDescription\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"description\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"implementationID\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"email\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"wsdlURL\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"infoURL\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"discussionURL\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"notes\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"tmodelID\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"publisherID\" nillable=\"true\" type=\"xsd:string\"/>
					<element name=\"uuid\" nillable=\"true\" type=\"xsd:string\"/>
				</sequence>
			</complexType>
		</schema>
	</types>
	<message name=\"getServiceSummariesByPublisher0SoapIn\">
		<part name=\"publisherID\" type=\"xsd:string\"/>
	</message>
	<message name=\"getServiceSummariesByPublisher0SoapOut\">
		<part name=\"Result\" type=\"ns1:ArrayOfServiceSummary\" xmlns:ns1=\"http://www.xmethods.net/interfaces/query.xsd\"/>
	</message>
	<message name=\"getAllServiceSummaries1SoapIn\"/>
	<message name=\"getAllServiceSummaries1SoapOut\">
		<part name=\"Result\" type=\"ns1:ArrayOfServiceSummary\" xmlns:ns1=\"http://www.xmethods.net/interfaces/query.xsd\"/>
	</message>
	<message name=\"getAllServiceNames2SoapIn\"/>
	<message name=\"getAllServiceNames2SoapOut\">
		<part name=\"Result\" type=\"ns1:ArrayOfIDNamePair\" xmlns:ns1=\"http://www.xmethods.net/interfaces/query.xsd\"/>
	</message>
	<message name=\"getServiceNamesByPublisher3SoapIn\">
		<part name=\"publisherID\" type=\"xsd:string\"/>
	</message>
	<message name=\"getServiceNamesByPublisher3SoapOut\">
		<part name=\"Result\" type=\"ns1:ArrayOfIDNamePair\" xmlns:ns1=\"http://www.xmethods.net/interfaces/query.xsd\"/>
	</message>
	<message name=\"getServiceDetail4SoapIn\">
		<part name=\"id\" type=\"xsd:string\"/>
	</message>
	<message name=\"getServiceDetail4SoapOut\">
		<part name=\"Result\" type=\"ns1:ServiceDetail\" xmlns:ns1=\"http://www.xmethods.net/interfaces/query.xsd\"/>
	</message>
	<portType name=\"XMethodsQuerySoapPortType\">
		<operation name=\"getServiceSummariesByPublisher\" parameterOrder=\"publisherID\">
			<input message=\"tns:getServiceSummariesByPublisher0SoapIn\" name=\"getServiceSummariesByPublisher0SoapIn\"/>
			<output message=\"tns:getServiceSummariesByPublisher0SoapOut\" name=\"getServiceSummariesByPublisher0SoapOut\"/>
		</operation>
		<operation name=\"getAllServiceSummaries\" parameterOrder=\"\">
			<input message=\"tns:getAllServiceSummaries1SoapIn\" name=\"getAllServiceSummaries1SoapIn\"/>
			<output message=\"tns:getAllServiceSummaries1SoapOut\" name=\"getAllServiceSummaries1SoapOut\"/>
		</operation>
		<operation name=\"getAllServiceNames\" parameterOrder=\"\">
			<input message=\"tns:getAllServiceNames2SoapIn\" name=\"getAllServiceNames2SoapIn\"/>
			<output message=\"tns:getAllServiceNames2SoapOut\" name=\"getAllServiceNames2SoapOut\"/>
		</operation>
		<operation name=\"getServiceNamesByPublisher\" parameterOrder=\"publisherID\">
			<input message=\"tns:getServiceNamesByPublisher3SoapIn\" name=\"getServiceNamesByPublisher3SoapIn\"/>
			<output message=\"tns:getServiceNamesByPublisher3SoapOut\" name=\"getServiceNamesByPublisher3SoapOut\"/>
		</operation>
		<operation name=\"getServiceDetail\" parameterOrder=\"id\">
			<input message=\"tns:getServiceDetail4SoapIn\" name=\"getServiceDetail4SoapIn\"/>
			<output message=\"tns:getServiceDetail4SoapOut\" name=\"getServiceDetail4SoapOut\"/>
		</operation>
	</portType>
	<binding name=\"XMethodsQuerySoap\" type=\"tns:XMethodsQuerySoapPortType\">
		<soap:binding style=\"rpc\" transport=\"http://schemas.xmlsoap.org/soap/http\"/>
		<operation name=\"getServiceSummariesByPublisher\">
			<soap:operation soapAction=\"\" style=\"rpc\"/>
			<input name=\"getServiceSummariesByPublisher0SoapIn\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</input>
			<output name=\"getServiceSummariesByPublisher0SoapOut\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</output>
		</operation>
		<operation name=\"getAllServiceSummaries\">
			<soap:operation soapAction=\"\" style=\"rpc\"/>
			<input name=\"getAllServiceSummaries1SoapIn\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</input>
			<output name=\"getAllServiceSummaries1SoapOut\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</output>
		</operation>
		<operation name=\"getAllServiceNames\">
			<soap:operation soapAction=\"\" style=\"rpc\"/>
			<input name=\"getAllServiceNames2SoapIn\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</input>
			<output name=\"getAllServiceNames2SoapOut\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</output>
		</operation>
		<operation name=\"getServiceNamesByPublisher\">
			<soap:operation soapAction=\"\" style=\"rpc\"/>
			<input name=\"getServiceNamesByPublisher3SoapIn\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</input>
			<output name=\"getServiceNamesByPublisher3SoapOut\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</output>
		</operation>
		<operation name=\"getServiceDetail\">
			<soap:operation soapAction=\"\" style=\"rpc\"/>
			<input name=\"getServiceDetail4SoapIn\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</input>
			<output name=\"getServiceDetail4SoapOut\">
				<soap:body encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" namespace=\"http://www.xmethods.net/interfaces/query\" use=\"encoded\"/>
			</output>
		</operation>
	</binding>
	<service name=\"XMethodsQuery\">
		<documentation>XMethods query service</documentation>
		<port binding=\"tns:XMethodsQuerySoap\" name=\"XMethodsQuerySoap\">
			<soap:address location=\"http://www.xmethods.net/interfaces/query\"/>
		</port>
	</service>
</definitions>"""

    def __init__(self, post='/interfaces/query', **kw):
        ServiceSOAPBinding.__init__(self, post)

    def soap_getServiceSummariesByPublisher(self, ps):
        self.request = ps.Parse(getServiceSummariesByPublisher0SoapIn.typecode)
        return getServiceSummariesByPublisher0SoapOut()

    soapAction[''] = 'soap_getServiceSummariesByPublisher'
    root[(getServiceSummariesByPublisher0SoapIn.typecode.nspname,getServiceSummariesByPublisher0SoapIn.typecode.pname)] = 'soap_getServiceSummariesByPublisher'

    def soap_getAllServiceSummaries(self, ps):
        self.request = ps.Parse(getAllServiceSummaries1SoapIn.typecode)
        return getAllServiceSummaries1SoapOut()

    soapAction[''] = 'soap_getAllServiceSummaries'
    root[(getAllServiceSummaries1SoapIn.typecode.nspname,getAllServiceSummaries1SoapIn.typecode.pname)] = 'soap_getAllServiceSummaries'

    def soap_getAllServiceNames(self, ps):
        self.request = ps.Parse(getAllServiceNames2SoapIn.typecode)
        return getAllServiceNames2SoapOut()

    soapAction[''] = 'soap_getAllServiceNames'
    root[(getAllServiceNames2SoapIn.typecode.nspname,getAllServiceNames2SoapIn.typecode.pname)] = 'soap_getAllServiceNames'

    def soap_getServiceNamesByPublisher(self, ps):
        self.request = ps.Parse(getServiceNamesByPublisher3SoapIn.typecode)
        return getServiceNamesByPublisher3SoapOut()

    soapAction[''] = 'soap_getServiceNamesByPublisher'
    root[(getServiceNamesByPublisher3SoapIn.typecode.nspname,getServiceNamesByPublisher3SoapIn.typecode.pname)] = 'soap_getServiceNamesByPublisher'

    def soap_getServiceDetail(self, ps):
        self.request = ps.Parse(getServiceDetail4SoapIn.typecode)
        return getServiceDetail4SoapOut()

    soapAction[''] = 'soap_getServiceDetail'
    root[(getServiceDetail4SoapIn.typecode.nspname,getServiceDetail4SoapIn.typecode.pname)] = 'soap_getServiceDetail'

