- 17.9K All Categories
- 3.3K Industry Applications
- 3.3K Intelligent Advisor
- 60 Insurance
- 534.5K On-Premises Infrastructure
- 137.7K Analytics Software
- 38.5K Application Development Software
- 5.3K Cloud Platform
- 109.1K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 70.8K Infrastructure Software
- 105.1K Integration
- 41.5K 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! :).