Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-*- coding: utf-8 -*-
- import sys
- import os
- from os.path import join, dirname, abspath
- from rpclib.util.simple import wsgi_soap11_application
- cmd_dir = abspath(dirname(__file__))
- os.chdir(cmd_dir)
- sys.path.insert(0, cmd_dir)
- from info_service import InfoService
- import logging
- logging.basicConfig(filename='log',
- filemode='a',
- level=logging.DEBUG)
- logging.getLogger('rpclib.protocol.xml').setLevel(logging.DEBUG)
- logging.info("starting... \n")
- application = wsgi_soap11_application(
- [InfoService], 'rpclib.examples.hello.soap')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement