From the OSGi console, you can verify that there are actually more than one version exported with the packages command like this:
osgi> packages javax.xml.bind
If the package is actually being exported from more than one place, then in theory, you could specify a version range on the Import-Package instruction of specific packages to match a specific exported version.
For example, in your WebContent/OSGI-OPT/bnd.bnd file the content could look something like this to match one whose exported version number is between 0.0 and 1.0:
# adjust some package imports that are used at runtime
Import-Package: javax.xml.bind;version="[0.0,1.0)",\
*
But, I can’t guarantee that it would work as there could be some other bundle in your BundleWiring solution that is wired to the other version which could produce an inconsistent class space and fail.
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods