Ignore:
Timestamp:
Mar 12, 2010, 2:28:51 PM (15 years ago)
Author:
slederer
Message:

Funktionierender SOAP-Server mit einer Methode

File:
1 moved

Legend:

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

    r835 r836  
    55import directive
    66import ResourceInfo
    7 
    8 import ZSI
    9 import ZSI.dispatch
    107
    118import sys
     
    8582    return dirdcfg.getRoot().getByName(name,resType)[0]   
    8683
    87 def listResources(listResourcesType):
    88     print listResourcesType
    89     return [ r1,r2 ]
    90 
    9184# main
    9285if __name__ == "__main__":
     
    10093    print getResources("bacula-dir","Client")
    10194
    102     ZSI.dispatch.AsServer(port=8080,docstyle=True)
Note: See TracChangeset for help on using the changeset viewer.