Hmmm...aren't XML processing instructions forbidden with SOAP requests and
responses, per the SOAP spec--or is the XML tag not considered a PI?
Glen
dkulp wrote:
>
> According to spec, the xml version tag it not required. It's basically
> just
> redundant information that consumes bandwidth and uses more CPU. Thus,
> this is technically a bug in whatever implementation you have on your
> server.
>
> That said, I believe you can do:
>
> ((BindingProvider)port).getRequestContext()
> .put("org.apache.cxf.stax.force-start-document", Boolean.TRUE)
>
> to force it. That may require one of the very recent versions of CXF.
>
> Dan
>
--
View this message in context:
http://www.nabble.com/xml-version-missing-in-soap-message-tp20184595p20210539.html
Sent from the cxf-user mailing list archive at Nabble.com.