Sidebar

How do I create an XML from webservice response and source info when the source node is a file folder?

0 votes
234 views
asked Apr 2, 2021 by risa-p-1914 (310 points)
I am trying to pull a pdf file from a directory, then send the base64 message in a json to a webservice, then utilize the response from the webservice call and the original message data to create a new XML message to send to a different location most likely utilizing multiple channels. Since a binary directory source node cannot be set to wait for a response, even though I set to wait for an ACK on the destination, I get an error, though I'm getting a response. I need to use the response and the original file information from the source to do this. Thoughts?

1 Answer

0 votes
Change your destination to discard and then use a mapping function to make your web service call. Then you can parse through the response from your web service call and send that data to a new destination.
answered Apr 2, 2021 by michael-h-5027 (14,350 points)
...