I added service reference to Method API and tried to run:
----------------------------------------------------------------------
using (ServiceSoapClient proxy = new ServiceSoapClient("ServiceSoap"))
{
try
{
String tableList = proxy.MethodAPITableListV2(companyAccount, userName, password, "");
Console.WriteLine("returned table list:{0}", tableList);
}
catch (Exception e)
{
Console.WriteLine("Error: {0}",e.Message);
}
Console.ReadLine();
}
-----------------------------------------------------------------------
Kept getting XML deserialization error back. It turns out I simply needed to change the following variable in my binding configuration
App.config:
<system.ServiceModel>
<bindings>
<basicHttpBinding>
<binding name="ServiceSoap">
<readerQuotas maxStringContentLength="65536" />
There is a lot of other info in that config, but I outlined the one that caused the issue.
Thanks,
ilya