Hi all,
I have a SOA suite 12c composite application featuring a BPEL (BPEL 2.0) that receives an xml payload containing an example element <picture>boaeBuo768vivuiViug9</picture> (but than much much longer). The format in this picture could be anything from JPEG2000, JPEG, to BMP or PNG. Now the target application can not function with JPEG2000, so what I want to do is reroute the image if it turns out to be a JPEG2000 image.
My Question is: How can I detect the image type based on the message content using the means available in SOA Suite 12c (BPEL). Is there something I can do with XSLT, or perhaps a Java embedding?
I can use all the help possible, no wrong answers! :).
Thanks!
Jesper