I've deployed a JAX-RS method defined as follows:
@POST
@Consumes( "text/xml")
@Path( "{order_id}/" + ANALYSE_PARAM )
public void reportResult( @PathParam( "order_id") int _orderId,
AnalyseResults _analyseResults ) {
// NOTE: AnalyseResults is a JAXB object
}
When using CXF 2.4.0 with Weblogic 9.2.3 (Java 1.5), I get all sorts of grief
because of the StAX parser.
The details are in an Oracle Forums[1] post.
While I wait for them to tell me I can't change the StAX parser in WebLogic...
... is there a way to instruct the JAX-RS to use a different type of parsing
(eg. SAX rather than StAX ... I'd even take DOM at this point)?
Thanks...
jz
[1] - https://forums.oracle.com/forums/message.jspa?messageID=9953045#9953045