From CodeSV 1.2, we are having an issue when testing with below Encoding Example class. We are getting Fatal errors when encoding the JSON payload. So wanted to check if this example applied to XML or JSON as well.
The code is actually executing with json data even after throwing [Fatal Error] :1:1: Content is not allowed in prolog.
Below is the sysouts I put in the code.
Example is applied to JSON data. I will debug and provide more information till then continue using your json data for testing.
srisa09 - can you assist?
When I try to run my code, it hangs inside the decompressPayload() method. So, I don't see the following sys.out. Are you using the same class I shared?
Yes, I am using the same class you shared.
Please provide me the screenshot of the java build path as shown below:
Please find the entire Java build path from my IDE.
Please use httpclient-4.5.3.jar and httpcore-4.4.6.jar as prior version doesn't support multiple request for httclients.
Let me know in case of any issues.
Retrieving data ...