Extension Tool in Responder_ ParasoftVirtualize
Hi, I am using extension tool(Incoming Request payload--->Extension tool) in responder.
i want to convert incoming request which is in .xml into String using Java.
Please help me over this
Comments
-
Hi rasmi_basate,
why do you want to use scripting?
You have in Virtualize a nice tool called XML Converter, which allows you to convert inputs into XML.
Try first to use this instead of scripting.
Ireneusz Szmigiel1 -
convert incoming request which is in .xml into String using Java
I'm not entirely sure I understand your goal here. However, if you chain an Extension tool to the Incoming Request payload then the first argument to the method in your Extension tool should already be a String object (or if not, call toString() on it).
0 -
Hi,
I want to convert incoming request (which is .xml) into String using Java
0 -
The incoming request is already a String - you shouldn't have to convert it. If you do, you can just call toString() on the input object to your Extension Tool.
0