Hi,
I have a flow service in wM 8.0.1.0 which is being called by other application to post xml message via HTTP.
I have the following input to receive the same:
stream (object type)
contentStream (object type)
node (object type)
The Cotent-Type has been set to various values like:
‘application/xml’
‘multipart/form-data’
‘application/octet-stream’
but for all the above scenarios we are receiving the payload in the the below format which I am unable to process it further.
contentStream {java.lang.String} = ‘com.wm.net.HttpInputStream’
every attempt to convert it to byte or string using the built-in services is resulting to the following error :
java.lang.String cannot be cast to java.io.InputStream
We are getting the above for each of the 3 Content-Type we have tried.
Please help me understand what needs to be done to convert the xml stream (if at all I can say so…) to string.