We have a generated client endpoint for a SOAP webservice. Since the web service doesn't have any predefined error messages for the xml when an error occurs the error message is just slapped before the xml and that throws an exception while parsing the response.
Is there any possible way to manipulate the response so we can actually read the message and throw a custom exception for the error message.