on 2020 Mar 02 11:09 AM
Hi Experts,
While performing testing <Proxy to Rest> synchronous scenario, i am getting escape characters in response payload which causing the below error.
MP: exception caught with cause java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1a) in text to output (in xml 1.1, could output as a character entity)
Could you please suggest, how to handle the scenario.
Regards,
Manoj Kumar
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assuming you have PI and use Axis adapter: You would probably need to make sure either the sender will not send this whitespace or you will need to clean things beforehand, e.g. with a java mapping?
Cheers
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where exactly are you getting this white space?
It is inside some feild?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
Is the whitespace needed at the reciever end is one thing you need to see.
Depending on this there can be 3 solutions to this.
Please check whichever works fine for you.
Regards,
Khusal.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.