I use NuSOAP to interact with a third-party API, including starting database queries and getting results. It works quite reliably, but I just ran into a problem with one specific request. Instead of returning results, NuSOAP generated an error: XML error parsing SOAP payload on line 2: Invalid character
It turns out that the result set contains the following: LΓ©a Lincoln . When I manually changed the accented character to "normal", the request worked fine, without errors from NuSOAP.
So my question is how to handle this. I canβt control the data coming from the database, and I need NuSOAP not to throw an error and stop every time there is a non-standard character. Thank you --Jeff
source share