For centuries politicians have bashed each others views for the benefit of their own political agendas. Today that bashing is moving into pure stupidity on both sides and here is why. Have you ever…
The WSO2 Script Mediator is used to invoke the functions of a variety of scripting languages such as JavaScript, Groovy, or Ruby.
In this use case we are going to modify the response coming from backend using a script mediator using inline javascript.
SimpleStockQuote Service should be up and running.
We want to construct the response as above, represent <name> and <open> elements only. We can use a javascript script using WSO2 script mediator in order to construct above.
Create the following sequence and add to the proxy.
Invoke the following proxy with the below payload using a SOAP client like SOAP UI.
The response will be as below after the response is enriched.
This is supported in all the EI and ESB versions
For further reading, please refer:
In order to understand why we use certain strategies for Facebook Advertising — we think it’s important for a brief lesson on how the Facebook marketing engine works. The lovely people at Facebook…
At the dawn of the great Teznation civilization, sporadic attempts occur in the building up of its community pillars and structures. These efforts are started by groups of dedicated and passionate…
The end of the school year is typically a time of rediscovered freedom — a time to play around and lay around, soaking up the lazy hours of easy days. But summer vacation has become torture for me…