[ https://issues.apache.org/jira/browse/CAMEL-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012873#comment-13012873 ]
Willem Jiang commented on CAMEL-3816: ------------------------------------- I just did some test on the issue, and found out it was caused by the request message was not right. As the Http Request was sending with application/x-www-form-urlencoded, which means the message body should be some string like "file.name=file.xml", but with the "curl -v -d file.xml 'http://localhost:4443/to2-service/sendMessage", the message body became "file.xml", and DefaultHttpBinding throw the exception like that. And it has nothing to do with the Null Http header. I just did a quick fix for in Camel trunk, please check out latest Camel 2.8-SNAPSHOT to verify the fix. > ArrayIndexOutOfBoundsException in DefaultHttpBinding > ---------------------------------------------------- > > Key: CAMEL-3816 > URL: https://issues.apache.org/jira/browse/CAMEL-3816 > Project: Camel > Issue Type: Bug > Components: camel-http > Affects Versions: 2.4.0, 2.6.0 > Reporter: Claus Ibsen > Assignee: Willem Jiang > Fix For: 2.8.0 > > > See nabble > http://servicemix.396122.n5.nabble.com/http-post-to-camel-jetty-smx-4-3-ArrayIndexOutOfBoundsException-tp4258334p4258334.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira