Forum Discussion
James_Tan_40083
Jan 20, 2012Nimbostratus
Hey
I am having the same issue with a different API call.
WSDL = ['GlobalLB.WideIP']
WIDE_IP_NAME = 'www.foo.com'
b = pycontrol.pycontrol.BIGIP(hostname=HOST1, username=USER, password=PASS, fromurl=True, wsdls=WSDL)
b.GlobalLB.WideIP.add_alias(
wide_ips = [WIDE_IP_NAME],
aliases = [['ww1.foo.net', 'ww2.foo.net', 'ww1.foo.com']]
)
ERROR:
File "build/bdist.linux-x86_64/egg/suds/client.py", line 539, in __call__
File "build/bdist.linux-x86_64/egg/suds/client.py", line 598, in invoke
File "build/bdist.linux-x86_64/egg/suds/client.py", line 633, in send
File "build/bdist.linux-x86_64/egg/suds/client.py", line 684, in failed
File "build/bdist.linux-x86_64/egg/suds/bindings/binding.py", line 238, in get_fault
suds.WebFault: Server raised fault: 'Error de-serializing array. Too many values in array. Array specified 1, found 3.'
Had a quick google, seems like there's an issue with the suds not marshalling array of array correctly. https://fedorahosted.org/suds/ticket/340. However, I am not able to get the solution described there to work in pycontrol.
Does anyone else having the issue or work around to the problem?