On 05/10/12 15:17, jbright wrote:
/Got the below issue when I gave XML input for my REST service./ID: 54 Response-Code: 400 Content-Type: text/plain Headers: {Content-Type=[text/plain], Date=[Fri, 05 Oct 2012 14:09:57 GMT]} Payload: JAXBException occurred : Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]. Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]. *Now I set the Content-Type to text/plain* ID: 55 Response-Code: 415 Content-Type: text/xml Headers: {Date=[Fri, 05 Oct 2012 14:10:59 GMT], Content-Length=[0]} Despite of setting Content-Type to text/xml, still I'm facing the same issue. So I did Accept=text/xml, now the issue is.. ID: 56 Response-Code: 406 Content-Type: text/xml Headers: {Date=[Fri, 05 Oct 2012 14:15:49 GMT], Content-Length=[0]} What is wrong?
It is difficult to advice anything specific without having a test case. Can you please assemble a simple one ? Cheers, Sergey
-- View this message in context: http://cxf.547215.n5.nabble.com/Status-Code-415-406-repeating-tp5715818.html Sent from the cxf-user mailing list archive at Nabble.com.
-- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ Blog: http://sberyozkin.blogspot.com
