Question

I've gone through AnyPoint Connector tutorial of mulesoft. Here Following this tutorial I was able to get response in logger in mule studio console. Then I thought to to one step further, to create a web application and get response back to my application html file. In this way I am getting response as a file which is of type Application/octate-stream But I want a json response.

I have no idea to do this. Please tell me the way. I am very new to mule and web services stuff. In fact I started my study on mule two days back only.

Thanks.

Was it helpful?

Solution

Select "Object to JSON" from Mule toolbar "Transformers" list, and add that as the last component inside the flow.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top