You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
505 B
15 lines
505 B
SERVIDOR SOAP FALSO PARA TESTES
|
|
===============================
|
|
|
|
Este teste vai verificar um servidor, executado atraves do comando
|
|
'run_fake_soap_server.py', para enviar requisicoes SOAP e esperar as
|
|
responstas em formato WSDL, de forma a simular o servidor da SEFAZ.
|
|
|
|
Usando suds
|
|
|
|
>>> #from suds.client import Client
|
|
>>> #client = Client('http://localhost:8080/ServidorNFEFalso?wsdl', cache=None)
|
|
>>> #client.set_options(retxml=True)
|
|
>>> #bool(client.service.ping('mario', 5))
|
|
True
|
|
|