Hi All,
I have an workbench process which has an output parameter as a XML as data type.
How can I read it through my java code and convert it into string.
Any help please.
Thanks,
Sobhan
Solved! Go to Solution.
Views
Replies
Total Likes
There's really nothing complex to do here. In your process, update your string variable with the xml variable and the conversion will happen for you automatically. Don't use java to do this.
Views
Replies
Total Likes
There are muliple ways to handle xml reponse one of the ways is parsing xml
InputStream using
DocumentBuilderFactory
here is one good resource:
java - HTTP request for XML file - Stack Overflow
How to read XML response from a URL in java? - Stack Overflow
Views
Replies
Total Likes
There's really nothing complex to do here. In your process, update your string variable with the xml variable and the conversion will happen for you automatically. Don't use java to do this.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies