Error en WSFEv1.Conectar

217 views
Skip to first unread message

Agustin Milone

unread,
Jun 9, 2015, 11:35:53 AM6/9/15
to pyaf...@googlegroups.com
Mariano me sale el siguiente error en esta linea del VB6:
  ok = WSFEv1.Conectar(cache, wsdl, proxy, wrapper, cacert)

utilizo la siguiente URL para produccion:

 
  

ExpatError: not well-formed (invalid token): line 20, column 64

Traceback (most recent call last):
  File "c:\pyafip\source\utils.py", line 260, in Conectar
    trace = "--trace" in sys.argv)
  File "C:\Python27\lib\site-packages\pysimplesoap\client.py", line 139, in __init__
    self.services = wsdl and self.wsdl_parse(wsdl, debug=trace, cache=cache)
  File "C:\Python27\lib\site-packages\pysimplesoap\client.py", line 459, in wsdl_parse
    wsdl = SimpleXMLElement(xml, namespace=wsdl_uri)
  File "C:\Python27\lib\site-packages\pysimplesoap\simplexml.py", line 180, in __init__
    self.__document = xml.dom.minidom.parseString(text)
  File "C:\Python27\Lib\xml\dom\minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "C:\Python27\Lib\xml\dom\expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "C:\Python27\Lib\xml\dom\expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: not well-formed (invalid token): line 20, column 64


Agustin Milone

unread,
Jun 9, 2015, 2:20:28 PM6/9/15
to pyaf...@googlegroups.com
Ya encontre el problema, esta mal la URL, la correcta es "https://servicios1.afip.gov.ar/wsfev1/service.asmx?WSDL" 

Gracias
Saludos
Reply all
Reply to author
Forward
0 new messages