Namaste,Sorry it might be documented but I m unable to find it. Please please point in correct direction.
How can we convert item from restxq to string in java.
My restxq is as below
import tallyfunction:"tdd.Tfunctions"
%rest:post("{$data}")
Function checkInJava($data as item())
{
tallyfunction:checktosave()
};
My java class
package tdd
public class Tfunctions{
public String checktosave(Item xml)
{
return xml.toString();
}
}
I m getting 64bit string
Not original string sent by clients.
Thanks in advance.
Mangal bhavna sahit,
Tushar