Guillaume sorry to disturb you so much but I still have the same problem, the broker is not able to resolve the consumer reference endpoint (see below).
Note that I do not have this error when I use <add:Address>http://xmlns.oracle.com/NotifConsumer/NotifConsumer</add:Address> (string "endpoint:" removed from address field. THE SUBSCRIPTION REQUEST SENT TO THE BROKER USING SOAPUI <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:add="http://www.w3.org/2005/08/addressing"> <soapenv:Header/> <soapenv:Body> <b:Subscribe> <b:ConsumerReference> <add:Address>endpoint:http://xmlns.oracle.com/NotifConsumer/NotifConsumer</add:Address> </b:ConsumerReference> <b:Filter> <b:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> myTopic </b:TopicExpression> </b:Filter> </b:Subscribe> </soapenv:Body> </soapenv:Envelope> THE ENDPOINT DEFINITION, FILE XBEAN.XML <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:wsn="http://servicemix.org/wsnotification" xmlns:tns="http://xmlns.oracle.com/NotifConsumer"> <http:endpoint service="tns:NotifConsumer" endpoint="NotifConsumer" role="provider" locationURI="http://sany.spacebel.be/orabpel/lbn/NotifConsumer/1.0" soap="true" soapVersion="1.1" soapAction="Notify"/> RESPONSE FROM THE BROKER FOR THE SUBSCRIPTION REQUEST HTTP/1.1 500 orgapacheservicemixwsnjaxwsSubscribeCreationFailedFault Unable to resolve consumer reference endpoint Content-Length: 6386 Content-Type: text/html; charset=iso-8859-1 Server: Jetty(6.1.5) <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 500 </title> </head> <body><h2>HTTP ERROR: 500</h2><pre>org.apache.servicemix.wsn.jaxws.SubscribeCreationFailedFault: Unable to resolve consumer reference endpoint</pre> <p>RequestURI=/Broker/</p><h3>Caused by:</h3><pre>java.lang.Exception: org.apache.servicemix.wsn.jaxws.SubscribeCreationFailedFault: Unable to resolve consumer reference endpoint at org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:194) 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:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: org.apache.servicemix.wsn.jaxws.SubscribeCreationFailedFault: Unable to resolve consumer reference endpoint at org.apache.servicemix.wsn.jbi.JbiSubscription.validateSubscription(JbiSubscription.java:88) at org.apache.servicemix.wsn.AbstractSubscription.create(AbstractSubscription.java:277) at org.apache.servicemix.wsn.AbstractNotificationBroker.handleSubscribe(AbstractNotificationBroker.java:178) at org.apache.servicemix.wsn.AbstractNotificationBroker.subscribe(AbstractNotificationBroker.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:143) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490) at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167) 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) </pre> <h3>Caused by:</h3><pre>org.apache.servicemix.wsn.jaxws.SubscribeCreationFailedFault: Unable to resolve consumer reference endpoint at org.apache.servicemix.wsn.jbi.JbiSubscription.validateSubscription(JbiSubscription.java:88) at org.apache.servicemix.wsn.AbstractSubscription.create(AbstractSubscription.java:277) at org.apache.servicemix.wsn.AbstractNotificationBroker.handleSubscribe(AbstractNotificationBroker.java:178) at org.apache.servicemix.wsn.AbstractNotificationBroker.subscribe(AbstractNotificationBroker.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:143) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490) at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167) 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) </pre> <p><small> http://jetty.mortbay.org/ Powered by Jetty:// </small></p><br/> </body> </html> Regards, YVDL gnodet wrote: > > If you use what I pasted already a few times if should work. > I have written: > endpoint="NotifConsumer" > not > endpoint="tns:NotifConsumer" > > Endpoint is a simple string, not a qualified name, so you should not > add a prefix to it. > > > -- View this message in context: http://www.nabble.com/SM-WSN2005%3A-Broker-does-not-set-SOAPAction-field-value-tp16583522p16937365.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
