You are posting this in the wrong space. Anyway, you need to tell the WLS to prefer loading libraries from the applications class path. See https://tompeez.wordpress.com/2015/06/06/pitfalls-when-using-newer-versioned-libraries-than-shipped-with-jdeveloper-or-w…
If it were normal WLS application, yes.
Unfortunately we can't do do this as it runs in Oracle Service Bus application on top of WebLogic.
We don't have such control in Oracle Service Bus (there is no weblogic-appliaction.xml).
As I said, you posted this in the wrong space. I moved this thread over to the SOA suite space.
If your latest version of XMLBeans is backward compatible then you could consider updating your OSB domain.
You could try the option of using URLClassLoader to load the specific version library. (Not sure whether this worksout in OSB)