Hi,
I have a scenario where i am using a dynamic send port to make a few service calls. Depending on the message type, I would sometimes need to make a service call which accepts only a JSON request and returns a JSON response. Please can you suggest the way to achieve this.
I do not want to branch in the orchestration and have 2 send ports. I was thinking of having a pipeline component which would look up the message type on the outbound message and does a JSON encoding if it matches the message type (which i could check from a BRE ? ). Please advice on the best approach to solve this problem.
note: I am using BizTalk 2013 and using open source newtonsoft dlls for JSON handling.
Thanks and Regards,