- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 67 Insurance
- 536.8K On-Premises Infrastructure
- 138.5K Analytics Software
- 38.6K Application Development Software
- 5.9K Cloud Platform
- 109.5K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.2K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
Can I do image format detection based on message content in SOA Suite 12c (or Java)
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! :).