Reyes0507 / pyafipws

Automatically exported from code.google.com/p/pyafipws
GNU General Public License v3.0
0 stars 0 forks source link

No puedo utilizar servicios del WSFE en el modo de Produccion #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ya cree todos los certificados digitales. Paso por el WSAA de Produccion y 
lo realiza OK.
2. Paso por la Conexion al WSFE de Produccion y lo realiza OK.
3. Al querer llamar a cualquiera de los servicios del WS:
- WSFE.Dummy
- WSFE.RecuperarQty
- WSFE.RecuperaLastCMP(punto_vta, tipo_cbte)

me tira un error. Paso el error al utilizar uno de estos metodos:

-245755
>> Unexpected Python Error: Traceback (most recent call last):
>>  File "C:\Python25\Lib\site-packages\win32com\server\policy.py", line 
>> 277, in _Invoke_
>>    return self._invoke_(dispid, lcid, wFlags, args)
>>  File "C:\Python25\Lib\site-packages\win32com\server\policy.py", line 
>> 282, in _invoke_
>>    return S_OK, -1, self._invokeex_(dispid, lcid, wFlags, args, None,
> None)
>>  File "C:\Python25\Lib\site-packages\win32com\server\policy.py", line 
>> 585, in _invokeex_
>>    return func(*args)
>>  File "C:\Python25\ws\pyafipws.py", line 124, in RecuperarQty
>>    raise RuntimeError(''.join(ex))
>> RuntimeError: Traceback (most recent call last):
>>  File "C:\Python25\ws\pyafipws.py", line 117, in RecuperarQty
>>    "Token": self.Token, "Sign": self.Sign, "cuit":long(self.Cuit)})
>>  File "C:\Users\groldan\Desktop\Revision 108\ws\soap.py", line 75, in 
>> <lambda>
>>    return lambda self=self, *args, **kwargs:
> self.call(attr,*args,**kwargs)
>>  File "C:\Users\groldan\Desktop\Revision 108\ws\soap.py", line 91, in 
>> call
>>    response = SimpleXMLElement(self.xml_response,
> namespace=self.namespace)
>>  File "C:\Users\groldan\Desktop\Revision 108\ws\simplexml.py", line 
>> 28, in __init__
>>    self.__document = xml.dom.minidom.parseString(text)
>>  File "C:\Python25\lib\xml\dom\minidom.py", line 1923, in parseString
>>    return expatbuilder.parseString(string)
>>  File "C:\Python25\lib\xml\dom\expatbuilder.py", line 940, in 
>> parseString
>>    return builder.parseString(string)
>>  File "C:\Python25\lib\xml\dom\expatbuilder.py", line 223, in 
>> parseString
>>    parser.Parse(string, True)
>> ExpatError: not well-formed (invalid token): line 20, column 68

Espero comentarios. Gracias!

Original issue reported on code.google.com by gustavow...@gmail.com on 7 Jul 2010 at 7:10

GoogleCodeExporter commented 8 years ago
La respuesta no es un XML válido, seguramente es incorrecta la URL del 
servidor de producción o hay un servidor proxy intermedio que está afectando 
la comunicación.

Original comment by reingart@gmail.com on 13 Jul 2010 at 4:46