예제 #1
0
파일: soap_100.py 프로젝트: HostCERT/PySPED
    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