Ticket #317: client-317.py
| File client-317.py, 315 bytes (added by thijs, 4 months ago) |
|---|
| Line | |
|---|---|
| 1 | import logging |
| 2 | logging.basicConfig(level=logging.DEBUG, |
| 3 | format='%(asctime)s %(levelname)-5.5s [%(name)s] %(message)s') |
| 4 | |
| 5 | from pyamf.remoting.client import RemotingService |
| 6 | |
| 7 | client = RemotingService('http://localhost:8000') |
| 8 | service = client.getService('echo') |
| 9 | |
| 10 | print 'Result:', service.echo('Hello World!') |
