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?
Venkat – [ISC.0076.0007W] XMLCoder decode invalid data type: is a warning and not an error, as indicated by the ‘W’ in the code, ‘ISC.0076.0007W’. It means an attempt was made to write a some object to disk (one way is by using savePipeline/savePipelineToFile). In most cases, it is safe to ignore these messages. To eliminate it completely, reduce the logging level to 4 or below.
Your questions are not clear to comment. Please do explain clearly.
I am calling rest API using client:http from rest client, passing payload in data/string, encode-type as “application/xml”.
The thing i want to know here is in rest API, on what data type i would receive the xml and process it? String or bytes or stream.