示例#1
0
    def set_xml(self, arquivo):
        if self._le_xml(arquivo):
            resposta = por_acentos(self._le_tag('//*/' + self.metodo + 'Return'))
            resposta = tira_abertura(resposta)
            self.resposta.xml = resposta

        return self.xml
示例#2
0
    def set_xml(self, arquivo):
        if self._le_xml(arquivo):
            resposta = por_acentos(
                self._le_tag('//*/' + self.metodo + 'Return'))
            resposta = tira_abertura(resposta)
            self.resposta.xml = resposta

        return self.xml
示例#3
0
文件: soap_100.py 项目: Anferi/PySPED
    def set_xml(self, arquivo):
        if self._le_xml(arquivo):
            resposta = por_acentos(self._le_tag('//*/res:' + self.metodo + 'Result',  ns=('http://www.portalfiscal.inf.br/nfe/wsdl/' + self.webservice)))
            resposta = tira_abertura(resposta)
            #print resposta
            self.resposta.xml = resposta

        return self.xml
示例#4
0
文件: soap_100.py 项目: wcreis/PySPED
    def set_xml(self, arquivo):
        if self._le_xml(arquivo):
            resposta = por_acentos(
                self._le_tag('//*/res:' + self.metodo + 'Result',
                             ns=('http://www.portalfiscal.inf.br/nfe/wsdl/' +
                                 self.webservice)))
            resposta = tira_abertura(resposta)
            #print resposta
            self.resposta.xml = resposta

        return self.xml