Ignore:
Timestamp:
Apr 13, 2010, 5:48:55 PM (15 years ago)
Author:
tobias
Message:

new resource operation and fault messages added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/src/VanHelsing_server.py

    r855 r861  
    33#
    44# skeleton generated by "ZSI.generate.wsdl2dispatch.ServiceModuleWriter"
    5 #      /usr/local/bin/wsdl2py -b VanHelsing.wsdl
     5#      /home/tgoecke/ZSI-2.1-a1/scripts/wsdl2py --complexType /home/tgoecke/vanHelsing/trunk/src/VanHelsing.wsdl
    66#
    77##################################################
     
    2424
    2525setSimpleResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "setSimpleResourceResponse").pyclass
     26
     27createSimpleResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "createSimpleResource").pyclass
     28
     29createSimpleResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "createSimpleResourceResponse").pyclass
     30
     31createFileSetResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "createFileSetResource").pyclass
     32
     33createFileSetResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "createFileSetResourceResponse").pyclass
     34
     35setFileSetResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "setFileSetResource").pyclass
     36
     37setFileSetResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "setFileSetResourceResponse").pyclass
     38
     39deleteResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "deleteResource").pyclass
    2640
    2741
     
    5569    root[(setSimpleResourceRequest.typecode.nspname,setSimpleResourceRequest.typecode.pname)] = 'soap_setSimpleResource'
    5670
     71    def soap_createSimpleResource(self, ps, **kw):
     72        request = ps.Parse(createSimpleResourceRequest.typecode)
     73        return request,createSimpleResourceResponse()
     74
     75    soapAction['http://www.dass-it.de/VanHelsing/createSimpleResource'] = 'soap_createSimpleResource'
     76    root[(createSimpleResourceRequest.typecode.nspname,createSimpleResourceRequest.typecode.pname)] = 'soap_createSimpleResource'
     77
     78    def soap_createFileSetResource(self, ps, **kw):
     79        request = ps.Parse(createFileSetResourceRequest.typecode)
     80        return request,createFileSetResourceResponse()
     81
     82    soapAction['http://www.dass-it.de/VanHelsing/createFileSetResource'] = 'soap_createFileSetResource'
     83    root[(createFileSetResourceRequest.typecode.nspname,createFileSetResourceRequest.typecode.pname)] = 'soap_createFileSetResource'
     84
     85    def soap_setFileSetResource(self, ps, **kw):
     86        request = ps.Parse(setFileSetResourceRequest.typecode)
     87        return request,setFileSetResourceResponse()
     88
     89    soapAction['http://www.dass-it.de/VanHelsing/setFileSetResource'] = 'soap_setFileSetResource'
     90    root[(setFileSetResourceRequest.typecode.nspname,setFileSetResourceRequest.typecode.pname)] = 'soap_setFileSetResource'
     91
     92    def soap_deleteResource(self, ps, **kw):
     93        request = ps.Parse(deleteResourceRequest.typecode)
     94        # NO output
     95        return request,None
     96
     97    soapAction['http://www.dass-it.de/VanHelsing/deleteResource'] = 'soap_deleteResource'
     98    root[(deleteResourceRequest.typecode.nspname,deleteResourceRequest.typecode.pname)] = 'soap_deleteResource'
     99
Note: See TracChangeset for help on using the changeset viewer.