1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
608 views
by mohammed-j-4610 (140 points)

I am persisting some json to the message cache:

messageCache.setValue('json', json);

How do I set this value to be the content of an Outbound Web Service call?

I have tried:

{mc:json}

However, this doesn't work because the dowsnstream Web Service is displaying {}

1 Answer

0 votes
You are correct in your usage of the message cache variable in your outbound service call.  Make sure that the message cache variable is set properly, and also that your downstream system is expecting the same type of data you are sending.
by jon-t-7005 (8.2k points)
by mohammed-j-4610 (140 points)
Thanks Jon. I ended up wrapping the JSon in XML Tags.

And then configured the downstream system to consume XML.
...