##################################################
# file: NumbexServiceService_server.py
#
# skeleton generated by "ZSI.generate.wsdl2dispatch.ServiceModuleWriter"
#      c:\Python25\Scripts\wsdl2py -b NumbexServiceService.wsdl
#
##################################################

from ZSI.schema import GED, GTD
from ZSI.TCcompound import ComplexType, Struct
from NumbexServiceService_types import *
from ZSI.ServiceContainer import ServiceSOAPBinding

# Messages  
getData = GED("http://numbex/", "getData").pyclass

getDataResponse = GED("http://numbex/", "getDataResponse").pyclass

getUpdates = GED("http://numbex/", "getUpdates").pyclass

getUpdatesResponse = GED("http://numbex/", "getUpdatesResponse").pyclass

receiveUpdates = GED("http://numbex/", "receiveUpdates").pyclass

receiveUpdatesResponse = GED("http://numbex/", "receiveUpdatesResponse").pyclass


# Service Skeletons
class NumbexServiceService(ServiceSOAPBinding):
    soapAction = {}
    root = {}

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

    def soap_getData(self, ps, **kw):
        request = ps.Parse(getData.typecode)
        return request,getDataResponse()

    soapAction['getData'] = 'soap_getData'
    root[(getData.typecode.nspname,getData.typecode.pname)] = 'soap_getData'

    def soap_getUpdates(self, ps, **kw):
        request = ps.Parse(getUpdates.typecode)
        return request,getUpdatesResponse()

    soapAction['getUpdates'] = 'soap_getUpdates'
    root[(getUpdates.typecode.nspname,getUpdates.typecode.pname)] = 'soap_getUpdates'

    def soap_receiveUpdates(self, ps, **kw):
        request = ps.Parse(receiveUpdates.typecode)
        return request,receiveUpdatesResponse()

    soapAction['receiveUpdates'] = 'soap_receiveUpdates'
    root[(receiveUpdates.typecode.nspname,receiveUpdates.typecode.pname)] = 'soap_receiveUpdates'

