xquerysoaosboracle-service-bus

OSB reporting, report multiple content. $body, $inbound, $outbound


I am trying to put multiple values inside this content with this XQuery Expression Builder. I tried to use a string function like thisfn:concat($body, $inbound, $inbound), but this does not seems to keep the whole message.

Reporting Properties: Content

Is there any way that I can put all these variables in one report action? If this is possble then how should I read these values out after they are stored in the database(some key value structure would be perfect).


Solution

  • Not sure, but I would try something like this:

    <myroot>{$body, $inbound, $outbound}</myroot>
    

    Or if you really need a string returned:

    fn:serialize(<myroot>{$body, $inbound, $outbound}</myroot>)
    

    Note, fn:serialize is only in OSB 12c+.