Metro 2.2.x integration
Problem
OpenESB 2.3.x Web Services management is based on Metro 2.1.1 which consists of following components :
- Metro/WSIT 2.1.1
- JAX-WS RI 2.2.5
- JAXB RI 2.2.4-1
When using web services, some issues may be encountered with OpenESB 2.3.x due to Metro version 2.1.1 and its underlying components (JAXWS-RI, JAXB-RI).
Solution
In order to solve these issues, you can decided to replace the stack Metro 2.1.1 with the newest version of Metro (2.2.x).
Unfortunately, moving to Metro 2.2.x create some backward incompatibilities for http-bc and javaee-engine components due to JAX-WS backward incompatibilities reported by JAX-WS team here . .
So if you decide to upgrade the metro stack, note these incompatibilities will not fixed by our teams yet.
You can do it by rebuilding the component. Http-BC does not require source code modification but before the build, you must upgrade HTTP-BC dependencies to the new JAX-WS jar.
Since JavaEE-SE is not supported by the community we don't provide solution to fix this issue.
Upgrading Metro Stack under Glassfish v2
Downloading Metro : https://metro.java.net/2.2.1-1/
Upgrading HTTP-BC
Do we have to do the upgrade for OpenESB 2.3.x or can we wait for OpenESB 2.4.x ? How 2.3.x users can do the upgrade without waiting for 2.4.x ?
Fix is available in the repository (metro-2.2.x branch). Feel free to build it using correct dependencies !