示例#1
0
def main():
    server = ServiceProxy('../binding.wsdl', use_wsdl=True)

    print(' Sending: %s' % MESSAGE)
    response = server.echo(Message=MESSAGE)
    print('Response: %s' % response['Message'])
示例#2
0
文件: client.py 项目: 360ed/ZSI
def main():
    server = ServiceProxy('../binding.wsdl', use_wsdl=False)

    print ' Sending: %s' % MESSAGE
    response = server.echo(MESSAGE)
    print 'Response: %s' % response
示例#3
0
def main():
    server = ServiceProxy('../binding.wsdl', use_wsdl=False)

    print ' Sending: %s' % MESSAGE
    response = server.echo(MESSAGE)
    print 'Response: %s' % response