You need to sign in to do that
Don't have an account?
mrm2009
Web service callout failed: String length exceeds maximum: 100000
I receive this when calling an external web service. I'm using xmldom to make the call. I know the results coming back are > 100000.
My question is if there is away around this?
Thanks
You exceeded the limit of a single response parameter of type string.
Change the web service to return this parameter in a list of strings, and then construct it back to a single string in your apex class.
It worked for me.
We're experiencing tht same issue. When the RESPONSE to the web service call is >100KB, an exception is thrown. The response contains a base64 encoded binary file (typed as base64binary).
The strange thing is that when we make a REQUEST >100KB (we're sending a file as opposed to receiving one) we have no problem up to 1MB.
Could this have been missed by Salesforce? Not too long ago any web service call out had a limit of 100KB.
Any ideas?
Thanks in advance.
I should also mention that the APEX class itself is less than 20KB
Thanks