Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-incubating
-
None
-
WIndowsXP Pro, ServiceMix 3.1
Description
1. Set "ode-jbi.messageMapper=org.apache.ode.jbi.msgmap.ServiceMixMapper" in "ode-jbi.properties" of ODE
2. Set flowName="jms" in <sm:container> of servicemix.xml file, then startup ServiceMix 3.1 in clustering mode.
3. send a request to BPEL service
ODE will throw an exception when it receives a response of SP from NMR. The Normalized Message content sent to ServiceMixMapper.toODE() is a StringSource, while the default TransformerFactory set by following lines is Xalan 2.7 in my machine
---------------------------------------------------------------------------------------------------
protected BaseXmlMapper()
---------------------------------------------------------------------------------------------------
Xalan throws NAMESPACE_ERR while doing identity transformation with StringSource.
I replaced the above lines with
---------------------------------------------------------------------------------------------------
protected BaseXmlMapper()
---------------------------------------------------------------------------------------------------
to explicitly instantiate a Saxon TransformerFactory, then solved the problem