function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Luigi MauranoLuigi Maurano 

SOAP callout invoke exception

Good morning every body,
I need your help. I'm having troulbe calling a SOAP web service. 
Some times the invoke metod goes in exception, giving this message: "System.CalloutException: Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found 'http://www.w3.org/1999/xhtml:html'"
After some tests we noticed this exception appens when one field of the soap call is too big (the field is an string and goes in error when is more than 16384 charater). Does anybod noticed this or can help us?
thank you, 
Luigi