Example #1
0
    def setUp(self):
        SpyneClientTestBase.setUp(self, 'zeromq')

        port, = server_started.keys()

        self.client = ZeroMQClient('tcp://localhost:%d' % port,
                                                             soap11_application)
        self.ns = "spyne.test.interop.server._service"
    def setUp(self):
        SpyneClientTestBase.setUp(self, 'zeromq')

        self.client = ZeroMQClient('tcp://localhost:5555', soap_application)
        self.ns = "spyne.test.interop.server._service"
from app import app
from spyne.client.zeromq import ZeroMQClient

c = ZeroMQClient('tcp://localhost:5001', app)
print(c.service.whoami("tu"))