Thanks, this is now fixed in svn head. Cheers, Guillaume Nodet
Ilya Kuleshov wrote:
Hi, Guillaume. GN> Could you please post the soap request and I will fix that asap. GN> Thanks, Please see the addressing-request.xml attached to the message.I've just encountered the unexpected behaviour of http component. It works well without WS-Addressing headers, but there are some issues when headers are present in the message. I use Axis to connect to my services exposed via http component and it outputs the whole SOAP message as a single string. And then I get the following error in response: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,0] Message: expected start or end tag at org.apache.servicemix.jbi.jaxp.ExtendedXMLStreamReader.nextTag(ExtendedXMLStreamReader.java:53) at org.apache.servicemix.soap.marshalers.SoapReader.parseHeaders(SoapReader.java:121) at org.apache.servicemix.soap.marshalers.SoapReader.readSoap(SoapReader.java:100) at org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:66) at org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:60) at org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:107) at org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:408) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:349) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:536) at org.mortbay.jetty.Server.handle(Server.java:247) at org.mortbay.jetty.Server.handle(Server.java:221) at org.mortbay.jetty.HttpConnection.doHandler(HttpConnection.java:362) at org.mortbay.jetty.HttpConnection.access$1600(HttpConnection.java:45) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:609) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:613) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:195) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:297) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:144) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:412) DEBUG - JCLLoggerAdapter.debug(121) | RESPONSE /Service/ 500 DEBUG - JCLLoggerAdapter.debug(121) | EOF When I manually reformat the same message and split it into multiple strings, then everything is ok. The problem is that I can't tell Axis to split messages in similar way. :)
