Dear e-conomic
I am using e-conomic SOAP API (and C#) to handle invoices in my application. The reason why I am using SOAP API for this part is that CurrentInvoice id is exposed through SOAP API and not through .Net API. Everything worked fine, but when calling this line of code:
The NetDispatcherFaultException is thrown saying that the formatter threw exception while trying to deserialize the message. Here the exception message:
Is there anything I can do to fix this?
Best regards
I am using e-conomic SOAP API (and C#) to handle invoices in my application. The reason why I am using SOAP API for this part is that CurrentInvoice id is exposed through SOAP API and not through .Net API. Everything worked fine, but when calling this line of code:
- Code:
_proxy.Invoice_GetPdf(invHandle);
The NetDispatcherFaultException is thrown saying that the formatter threw exception while trying to deserialize the message. Here the exception message:
The formatter threw an exception while trying to deserialize the message:
There was an error while trying to deserialize parameter http://e-conomic.com:Invoice_GetPdfResponse.
The InnerException message was 'There was an error deserializing the object of type BM.EconomicSoapClient.EconomicServiceReference.Invoice_GetPdfResponseBody.
The maximum array length quota (16384) has been exceeded while reading XML data.
This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 61558.'.
Please see InnerException for more details.
Is there anything I can do to fix this?
Best regards
Statistics: Posted by javid — Tue Dec 11, 2012 10:26 am — Replies 2 — Views 186