def main(): server = ServiceProxy('../binding.wsdl', use_wsdl=True) print(' Sending: %s' % MESSAGE) response = server.echo(Message=MESSAGE) print('Response: %s' % response['Message'])
def main(): server = ServiceProxy('../binding.wsdl', use_wsdl=False) print ' Sending: %s' % MESSAGE response = server.echo(MESSAGE) print 'Response: %s' % response