I have created a REST API, and i am calling it from rest client using pub.client:http.
I am passing the payload in data/string, i have set header/content-type as “application/xml”.
I am not getting the expected response from the REST API. I got this error in server logs.
" [ISC.0076.0007W] XMLCoder decode invalid data type: com.softwareag.is.enterprisegateway.net.HttpInputStream "
Can anyone clarify doubts,
1. How to the xml is parsed in REST API for the content-type [b]application/xml[/b]? 2. What are the values needs to be passed from pub.client:http?
Thanks in advance!!!