[IronPython] TypeError: bad args to this method

Paparipote . paparipote at hotmail.com
Fri Jan 20 01:22:38 CET 2006


Dino:
It worked according to your indication. Thanks!!!
The complete code is:

>>>import System
>>>import clr
>>>aso = System.Reflection.Assembly.LoadFrom("C:/Documents and 
>>>Settings/egironas/My Documents/My 
>>>Apps/Py/IronPython-1.0-Beta1/ProxyIVA.dll")
>>>aso1=System.Reflection.Assembly.LoadFrom("C:/WINDOWS/Microsoft.NET/Framework
/v1.1.4322/System.Web.Services.dll")
>>>clr.AddReference(aso)
>>>clr.AddReference(aso1)
>>>from ProxyIVA import *
>>>cs = 'ASHOST= 111.11.1.11 SYSNR=00 CLIENT=300 USER=TEST PASSWD=x1x1x1x1'
>>>PIVA = SAPProxy1(cs)
>>>tIVA = ZHRRESNOMTable()
>>>sts =  0
>>>res = []
>>>res = PIVA.Z_Hrpfpa00105("20051231","03005358", tIVA)
>>>for a in res[1]:
...         print a.Desc2, a.Betrg
...
Cred. Fiscal mes anterior 1167.54
Cred. Fiscal próximo mes 81.90
>>>

Thanks again!!

_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/




More information about the Ironpython-users mailing list