I was following C:\Program
Files\apache-servicemix-3.2.2\examples\wsn-http-binding\README.txt,
everything works as described.

Now I downloaded servicemix-3.3, tried to do same thing, but got error:

ERROR - WSNComponent                   - Error processing exchange InOut[
  id: ID:172.18.128.83-11f00412033-4:0
  status: Active
  role: provider
  service: {http://servicemix.org/wsnotification}NotificationBroker
  endpoint: Broker
  operation: {http://docs.oasis-open.org/wsn/brw-2}Subscribe
  in: <?xml version="1.0" encoding="UTF-8"?><wsnt:Subscribe
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"; xmlns:env="http://sche
mas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <wsnt:ConsumerReference>
        <wsa:Address>
          endpoint:http://test/MyS1PojoService/myS1PojoSu       
</wsa:Address>
      </wsnt:ConsumerReference>
      <wsnt:Filter>
        <wsnt:TopicExpression
Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple";>topic
2</wsnt:TopicExpression>
      </wsnt:Filter>
    </wsnt:Subscribe>
]
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,5]
Message: expected start or end tag
        at
org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentStreamReader.java:108)
        at
org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelper.java:127)
        at
org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:138)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
        at
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
WARN  - jetty                          - /Broker/
java.lang.Exception: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[4,5]
Message: expected start or end tag
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:209)
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:371)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Caused by: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[4,5]
Message: expected start or end tag
        at
org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentStreamReader.java:108)
        at
org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelper.java:127)
        at
org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:138)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
        at
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)




-- 
View this message in context: 
http://www.nabble.com/there-is-a-bug-in-servicemix-3.3---servicemix-wsn2005-tp21614173p21614173.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to