Oracle BPEL - MTOM/XOP support
691373Mar 17 2009 — edited Feb 26 2020I'm testing integration between a JBoss Web service and Oracle BPEL. I created a web service using a stateless EJB with MTOM turned on in JBoss 5.0.1 and tested it using the OSB which worked and returned the MTOM message, but the BPEL is getting confused with the MTOM XOP include element.
The error message from the BPEL is "exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PriviledgeActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: application/xop+xml; type="text/xml""
The OSB says the returned XML in the MIME's XOP include element looks like the following
"<xop:Include href="cid:base64Binary-99ded6ee-b5f1-adf5-b8c48643ad19@ws.jboss.org" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>"
Something to note is that in java the datatype is defined as byte[] and that the WSDL generated with MTOM turned on is identical to the schema generated with MTOM turned off from JBoss.
Also does BPEL support the 2004 08 xop standard?
I have tried to find a example of MTOM/XOP being used on Oracles BPEL engine and I have been unable to find any useful information.
I appreciate any help. Thank you.
Shane