Ignore:
Timestamp:
Mar 12, 2010, 5:11:50 PM (15 years ago)
Author:
slederer
Message:

neue SOAP-Operation getSimpleResource implementiert

File:
1 edited

Legend:

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

    r837 r839  
    1717listResourcesResponse = GED("http://www.dass-it.de/VanHelsing/", "listResourcesResponse").pyclass
    1818
     19getSimpleResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "getSimpleResource").pyclass
     20
     21getSimpleResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "getSimpleResourceResponse").pyclass
     22
    1923
    2024# Service Skeletons
     
    3034        return request,listResourcesResponse()
    3135
    32     soapAction['http://localhost:8080/'] = 'soap_listResources'
     36    soapAction['http://www.dass-it.de/VanHelsing/listResources'] = 'soap_listResources'
    3337    root[(listResourcesRequest.typecode.nspname,listResourcesRequest.typecode.pname)] = 'soap_listResources'
    3438
     39    def soap_getSimpleResource(self, ps, **kw):
     40        request = ps.Parse(getSimpleResourceRequest.typecode)
     41        return request,getSimpleResourceResponse()
     42
     43    soapAction['http://www.dass-it.de/VanHelsing/getResource'] = 'soap_getSimpleResource'
     44    root[(getSimpleResourceRequest.typecode.nspname,getSimpleResourceRequest.typecode.pname)] = 'soap_getSimpleResource'
     45
Note: See TracChangeset for help on using the changeset viewer.