Hi,

My team and I are suffering an XML validation problem when our service
receives a request from a legacy web service client. The trace is:

org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
INFO   | jvm 1    | 2010/02/23 12:56:26 |       at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:230)
...................................................................................................................................................................
INFO   | jvm 1    | 2010/02/23 12:56:26 | Caused by:
com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character
((CTRL-CHAR, code 12))
INFO   | jvm 1    | 2010/02/23 12:56:26 |  at [row,col {unknown-source}]: [1,1]
INFO   | jvm 1    | 2010/02/23 12:56:26 |       at
com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:675)

Unfortunately we can't modify the legacy code so we are looking for a
workaround such as one is described in [1]. Our problem now is that we
don't know how to set properties to the Woodstox XMLOutputFactory. We
are configuring the CXF Runtime in the Spring way.

Any ideas?.

Thanks in advance.

Regards,

Juanjo.

[1] http://www.cowtowncoder.com/blog/archives/2008/12/entry_106.html

Reply via email to