โ03-02-2018 02:35 AM
Hello All,
I have a requirement where I have exposed my pipeline via the task. The input for this service is XML.
I have to again pass on the incoming request data to some third party service for their processing.(using rest post)
Now somehow the incoming request is getting transformed into JSON. And I am not able to invoke the third party service as it always gives me data mismatch error.
I have already tried using json generator but as its output is binary again I am facing some issues in feeding the data to rest post.
โ03-02-2018 11:01 AM
If you can provide a screenshot of your pipe and itโs error. I might be able to give you some pointer.
โ03-02-2018 11:16 AM
โ03-06-2018 03:48 PM
Documents in snaplogic are always in JSON when coming out of a circle connector (as opposed to the diamond connectors). In this case the XML string that is generated is put on an xml field in the generated json document, so if you want to send that to a REST call you would have to properly reference that field.