I am trying to route from one cxf endpoint which takes the request to an other cxf endpoint where an external service is running which understands the same message format as per the request, but facing "coudn't parse stream" error.
I have attached the same. Kindly someone let me know how to debug this
Basically what I am trying here is, taking a request at my service cxf endpoint , applying a transformation to that request body and routing the same to another cxf endpoint which understands the translated request.
I have attached a sample camel route as a reference.
Sorry to say this but enabling streamCache didn't fix it.
I also tried bypassing the xsl translation but still getting the same parse stream issue. Is it because of my payload data format or am I doing something really wrong.
I somehow got the issue resolved by changing my jetty jar to point to cxf-core version.
With this i got an other issue " The PayLoad elements cannot fit with the message
parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage"
So I just changed my data format from payload to message, it started working fine.
Although i still don't know how to work with payload option.
It looks like you are put two different version CXF jars together.
Can you double check it ?