Cause
A known issue with WSDL.exe can cause a proxy class to be generated
incorrectly if an array of complex type includes an element that is also
an array of complex type and for which only one element exists.

Resolution:

We need to open reference.cs file and change respective customtype from double dimension to single dimension. Rebuild the project and it started working fine.