In the Oracle Service Bus we can make use of java callouts to invoke plain java.
Basically there aren't any restrictions on the the input and output parameters of the static methods.
There are 2 situations which will differ in the way we get the data returned back from the java callout, see this
Return primitives, Strings or XmlObjects from the java callout.
In this case we can just retrieve the data from the $body variable and execute xpath expressions on it to immediately get the...