L.S.,
I think the problem is that you're subscribing an external web server ( http://www.consumer.org/service/endpoint ) to receive the HTTP notification message. Whenever you do a notify afterwards, the notification broker will try to send the XML message to that URL. This URL however is for a website on consumer goods and it sends back an HTTP 301 (redirect) to point to another URL, which is something the HTTP component can't deal with. You probably shouldn't be sending XML messages to a random web server on the internet, the URL you're subscribing should normally be a one of your own servers or services instead. If you use one of your own machine URLs for the subscription, you'll notice that the XML message from the notification gets POSTed to your machine over HTTP. Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2011/10/19 柴兆航 <[email protected]> > Hi, > > > > First of all, I am sorry about my poor English since I am Chinese. > > > > I am in trouble in using wsn2005 component of servicemix3.3.2. When I run > the wsn-http binding example, the createPullPoint and subscribe operation > are OK. But, when I run the notify operation, the error occurs. > > > > Before I describe my problem, I will list the information of the software I > use. > > > > Servicemix: 3.3.2 > > Servicemix component: servicemix-http-2010.01-installer, > servicemix-shared-2010.01-installer, servicemix-wsn2005-2010.01-installer > > SA: soap-demo-sa(generated by Ant in the wsn-http binding example) > > Operating System: Windows XP Professional > > JDK: 1.6.0_26 > > > > Then, I will show the servicemix’s log file in debug mode. > > > > 1. CreatePullPoint Log(No Problem): > > > > > > > > > > 21:25:44,000 | DEBUG | Timer-2 | AutoDeploymentService | > ramework.AutoDeploymentService 597 | Unpacked archive > E:\apache-servicemix-3.3.2\hotdeploy\soap-demo-sa.zip to > E:\apache-servicemix-3.3.2\data\smx\tmp\soap-demo-sa.0.tmp > > 21:25:44,015 | DEBUG | Timer-2 | AutoDeploymentService | > ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-http] > > 21:25:44,015 | DEBUG | Timer-2 | DeploymentService | > bi.framework. > DeploymentService 475 | Moving > E:\apache-servicemix-3.3.2\data\smx\tmp\soap-demo-sa.0.tmp to > > E:\apache-servicemix-3.3.2\data\smx\service-assemblies\wsn-http-binding\vers > ion_1\install > > 21:25:44,015 | DEBUG | Timer-2 | DeploymentService | > bi.framework. > DeploymentService 502 | Unpack service unit archive > E:\apache-servicemix-3. > > 3.2\data\smx\service-assemblies\wsn-http-binding\version_1\install\wsn-http- > binding-su.zip to > > E:\apache-servicemix-3.3.2\data\smx\service-assemblies\wsn-http-binding\vers > ion_1\sus\servicemix-http\wsn-http-binding-su > > 21:25:44,031 | DEBUG | Timer-2 | HttpComponent | > .common.BaseServiceUnitManager 61 | Deploying service unit > > 21:25:44,031 | DEBUG | Timer-2 | HttpComponent | > on.xbean.AbstractXBeanDeployer 57 | Looking for > > E:\apache-servicemix-3.3.2\data\smx\service-assemblies\wsn-http-binding\vers > ion_1\sus\servicemix-http\wsn-http-binding-su\xbean.xml: true > > 21:25:44,062 | DEBUG | Timer-2 | HttpComponent | > .common.BaseServiceUnitManager 75 | Service unit deployed > > 21:25:44,218 | INFO | Timer-2 | ServiceAssemblyLifeCycle | > ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: > wsn-http-binding > > 21:25:44,218 | INFO | Timer-2 | ServiceUnitLifeCycle | > framework.ServiceUnitLifeCycle 78 | Initializing service unit: > wsn-http-binding-su > > 21:25:44,218 | DEBUG | Timer-2 | HttpComponent | > .common.BaseServiceUnitManager 101 | Initializing service unit > > 21:25:44,218 | DEBUG | Timer-2 | HttpComponent | > e.servicemix. > soap.SoapEndpoint 305 | Retrieving proxied endpoint definition > > 21:25:44,218 | DEBUG | Timer-2 | WSNComponent | > mix.wsn.component.WSNComponent 200 | Querying service description for > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}NotificationBr > oker,endpoint=Broker] > > 21:25:44,218 | DEBUG | Timer-2 | HttpComponent | > e.servicemix. > http.HttpEndpoint 270 | WSDL only defines a PortType, using this one > > 21:25:44,468 | INFO | Timer-2 | jetty | > ervicemix.http.jetty.JCLLogger 83 | jetty-6.1.22 > > 21:25:44,484 | DEBUG | Timer-2 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: > org.mortbay.jetty.AbstractConnector$Acceptor@1bc6ed3 > > 21:25:44,484 | INFO | Timer-2 | jetty | > ervicemix.http.jetty.JCLLogger 83 | Started > SelectChannelConnector@localhost:8192 > > 21:25:44,515 | DEBUG | Timer-2 | HttpComponent | > e.servicemix. > soap.SoapEndpoint 305 | Retrieving proxied endpoint definition > > 21:25:44,515 | DEBUG | Timer-2 | WSNComponent | > mix.wsn.component.WSNComponent 200 | Querying service description for > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}CreatePullPoin > t,endpoint=Broker] > > 21:25:44,515 | DEBUG | Timer-2 | HttpComponent | > e.servicemix. > http.HttpEndpoint 270 | WSDL only defines a PortType, using this one > > 21:25:44,546 | DEBUG | Timer-2 | HttpComponent | > .common.BaseServiceUnitManager 124 | Service unit initialized > > 21:25:44,546 | INFO | Timer-2 | ServiceUnitLifeCycle | > framework.ServiceUnitLifeCycle 97 | Starting service unit: > wsn-http-binding-su > > 21:25:44,546 | DEBUG | Timer-2 | HttpComponent | > .common.BaseServiceUnitManager 142 | Starting service unit > > 21:25:44,546 | DEBUG | Timer-2 | HttpComponent | > .common.BaseServiceUnitManager 157 | Service unit started > > 21:25:44,546 | INFO | Timer-2 | AutoDeploymentService | > ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished > installation of archive: soap-demo-sa.zip > > 21:28:39,156 | DEBUG | 13008985@qtp-23860416-0 - Acceptor0 > SelectChannelConnector@localhost:8192 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: SCEP@13619754 > [d=true, > io=0,w=true,b=false|false] > > 21:28:39,203 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 146 | Receiving HTTP request: POST > /CreatePullPoint/ HTTP/1.1 > > Accept: */* > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > QQDownload 681; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET > CLR > 3.0.4506.2152; .NET CLR 3.5.30729; 360SE) > > Host: localhost:8192 > > Content-Length: 387 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > 21:28:39,343 | DEBUG | 28922354@qtp-23860416-1 | WSNComponent > | > mix.wsn.component.WSNComponent 200 | Querying service description for > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}CreatePullPoin > t,endpoint=Broker] > > 21:28:39,343 | DEBUG | 28922354@qtp-23860416-1 | HttpComponent > | > emix.common.AsyncBaseLifeCycle 653 | Created correlation id: > ID:59.64.157.34-1331c5bc604-2:0 > > 21:28:39,343 | DEBUG | 28922354@qtp-23860416-1 | DeliveryChannelImpl > | > .messaging.DeliveryChannelImpl 435 | Send ID:59.64.157.34-1331c5bc604-2:0 > in DeliveryChannel{servicemix-http} > > 21:28:39,359 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 66 | send exchange with secure broker > > 21:28:39,359 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 80 | service name > :{http://servicemix.org/wsnotification}CreatePullPoint > > 21:28:39,359 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 81 | operation name > :{http://docs.oasis-open.org/wsn/bw-2}CreatePullPoint > > 21:28:39,359 | DEBUG | 28922354@qtp-23860416-1 | SedaFlow > | > emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:28:39,359 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 180 | Suspending continuation for exchange: > ID:59.64.157.34-1331c5bc604-2:0 > > 21:28:39,359 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@6f7492 dequeued exchange: InOut[ > > id: ID:59.64.157.34-1331c5bc604-2:0 > > status: Active > > role: provider > > service: {http://servicemix.org/wsnotification}CreatePullPoint > > endpoint: Broker > > operation: {http://docs.oasis-open.org/wsn/bw-2}CreatePullPoint > > in: <?xml version="1.0" encoding="UTF-8"?><wsnt:CreatePullPoint > xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:sm="http://servicemix.apache.org/wsn2005/1.0"> > > <sm:address> > > http://www.consumer.org/service/endpoint > > </sm:address> > > </wsnt:CreatePullPoint> > > ] > > 21:28:39,359 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > WSNComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Active, role: provider > > 21:28:39,359 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > WSNComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-2:0 > > 21:28:39,406 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > AbstractCreatePullPoint | ix.wsn.AbstractCreatePullPoint 80 | > CreatePullEndpoint > > 21:28:39,656 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > ComponentContextImpl | framework.ComponentContextImpl 124 | Component: > servicemix-wsn2005 activated endpoint: {http://www.consumer.org}service : > endpoint > > 21:28:39,656 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > WSNComponent | mix.wsn.component.WSNComponent 200 | Querying > service description for > ServiceEndpoint[service={http://www.consumer.org > }service,endpoint=endpoint] > > 21:28:39,671 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > WSDL1Processor | amework.support.WSDL1Processor 84 | Endpoint > ServiceEndpoint[service={http://www.consumer.org > }service,endpoint=endpoint] > implements interface {http://docs.oasis-open.org/wsn/bw-2}PullPoint > > 21:28:39,671 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > WSNComponent | mix.wsn.component.WSNComponent 200 | Querying > service description for > ServiceEndpoint[service={http://www.consumer.org > }service,endpoint=endpoint] > > 21:28:39,671 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > WSDL2Processor | amework.support.WSDL2Processor 70 | Endpoint > ServiceEndpoint[service={http://www.consumer.org > }service,endpoint=endpoint] > has a non WSDL2 service description > > 21:28:39,671 | DEBUG | pool-2-thread-1 | JCAFlow | > cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for > org. > > apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={ht > tp://www.consumer.org}service,endpoint=endpoint]] > > 21:28:39,687 | DEBUG | pool-2-thread-1 | JMSFlow | > i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for > org. > > apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={ht > tp://www.consumer.org}service,endpoint=endpoint]] > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 468 | SendSync > ID:59.64.157.34-1331c5bc604-2:0 in DeliveryChannel{servicemix-wsn2005} > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > SecuredBroker | mix.jbi.security.SecuredBroker 66 | send > exchange with secure broker > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > SedaFlow > | emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 715 | Waiting > for > exchange ID:59.64.157.34-1331c5bc604-2:0 (1acdfc3) to be answered in > DeliveryChannel{servicemix-wsn2005} from sendSync > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-2 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@96ac47 dequeued exchange: InOut[ > > id: ID:59.64.157.34-1331c5bc604-2:0 > > status: Active > > role: consumer > > service: {http://servicemix.org/wsnotification}CreatePullPoint > > endpoint: Broker > > operation: {http://docs.oasis-open.org/wsn/bw-2}CreatePullPoint > > in: <?xml version="1.0" encoding="UTF-8"?><wsnt:CreatePullPoint > xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:sm="http://servicemix.apache.org/wsn2005/1.0"> > > <sm:address> > > http://www.consumer.org/service/endpoint > > </sm:address> > > </wsnt:CreatePullPoint> > > out: <?xml version="1.0" encoding="UTF-8"?><ns5:CreatePullPointResponse > xmlns:ns5="http://docs.oasis-open.org/wsn/b-2" > xmlns:ns2="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns6="http://docs.oasis-open.org/wsn/t-1 > "><ns5:PullPoint><ns2:Address>h > ttp://www.consumer.org/service/endpoint > </ns2:Address></ns5:PullPoint></ns5:C > reatePullPointResponse> > > ] > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-2 | > HttpComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Active, role: consumer > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-2 | > HttpComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-2:0 > > 21:28:39,796 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-2 | > ConsumerProcessor | p.processors.ConsumerProcessor 110 | Resuming > continuation for exchange: ID:59.64.157.34-1331c5bc604-2:0 > > 21:28:39,796 | DEBUG | 13008985@qtp-23860416-0 - Acceptor0 > SelectChannelConnector@localhost:8192 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: > RetryContinuation@30911076,pending,resumed > > 21:28:39,796 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 146 | Receiving HTTP request: POST > /CreatePullPoint/ HTTP/1.1 > > Accept: */* > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > QQDownload 681; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET > CLR > 3.0.4506.2152; .NET CLR 3.5.30729; 360SE) > > Host: localhost:8192 > > Content-Length: 387 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > 21:28:39,843 | DEBUG | 28922354@qtp-23860416-1 | DeliveryChannelImpl > | > .messaging.DeliveryChannelImpl 435 | Send ID:59.64.157.34-1331c5bc604-2:0 > in DeliveryChannel{servicemix-http} > > 21:28:39,843 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 66 | send exchange with secure broker > > 21:28:39,843 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 80 | service name > :{http://servicemix.org/wsnotification}CreatePullPoint > > 21:28:39,843 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 81 | operation name > :{http://docs.oasis-open.org/wsn/bw-2}CreatePullPoint > > 21:28:39,843 | DEBUG | 28922354@qtp-23860416-1 | SedaFlow > | > emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:28:39,843 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-3 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@1604a9e dequeued exchange: InOut[ > > id: ID:59.64.157.34-1331c5bc604-2:0 > > status: Done > > role: provider > > service: {http://servicemix.org/wsnotification}CreatePullPoint > > endpoint: Broker > > operation: {http://docs.oasis-open.org/wsn/bw-2}CreatePullPoint > > in: <?xml version="1.0" encoding="UTF-8"?><wsnt:CreatePullPoint > xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:sm="http://servicemix.apache.org/wsn2005/1.0"> > > <sm:address> > > http://www.consumer.org/service/endpoint > > </sm:address> > > </wsnt:CreatePullPoint> > > out: <?xml version="1.0" encoding="UTF-8"?><ns5:CreatePullPointResponse > xmlns:ns5="http://docs.oasis-open.org/wsn/b-2" > xmlns:ns2="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns6="http://docs.oasis-open.org/wsn/t-1 > "><ns5:PullPoint><ns2:Address>h > ttp://www.consumer.org/service/endpoint > </ns2:Address></ns5:PullPoint></ns5:C > reatePullPointResponse> > > ] > > 21:28:39,843 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-3 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 732 | Notifying > exchange ID:59.64.157.34-1331c5bc604-2:0(1acdfc3) in > DeliveryChannel{servicemix-wsn2005} from processInboundSynchronousExchange > > 21:28:39,843 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-1 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 726 | Notified: > ID:59.64.157.34-1331c5bc604-2:0(1acdfc3) in > DeliveryChannel{servicemix-wsn2005} from sendSync > > 21:28:46,859 | DEBUG | 13008985@qtp-23860416-0 - Acceptor0 > SelectChannelConnector@localhost:8192 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: SCEP@13619754 > [d=true, > io=1,w=true,b=false|false] > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 146 | Receiving HTTP request: POST /Broker/ > HTTP/1.1 > > Accept: */* > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > QQDownload 681; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET > CLR > 3.0.4506.2152; .NET CLR 3.5.30729; 360SE) > > Host: localhost:8192 > > Content-Length: 737 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > > > > > > > > > 2. Subscirb Operation(No Problem): > > > > > > > > > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | WSNComponent > | > mix.wsn.component.WSNComponent 200 | Querying service description for > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}NotificationBr > oker,endpoint=Broker] > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | HttpComponent > | > emix.common.AsyncBaseLifeCycle 653 | Created correlation id: > ID:59.64.157.34-1331c5bc604-2:1 > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | DeliveryChannelImpl > | > .messaging.DeliveryChannelImpl 435 | Send ID:59.64.157.34-1331c5bc604-2:1 > in DeliveryChannel{servicemix-http} > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 66 | send exchange with secure broker > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 80 | service name > :{http://servicemix.org/wsnotification}NotificationBroker > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 81 | operation name > :{http://docs.oasis-open.org/wsn/brw-2}Subscribe > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | SedaFlow > | > emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:28:46,859 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 180 | Suspending continuation for exchange: > ID:59.64.157.34-1331c5bc604-2:1 > > 21:28:46,859 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@1dd0fe7 dequeued exchange: InOut[ > > id: ID:59.64.157.34-1331c5bc604-2:1 > > 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://schemas.xmlsoap.org/soap/envelope/" > xmlns:ncex="http://www.consumer.org" xmlns:npex="http://www.producer.org" > xmlns:wsa="http://www.w3.org/2005/08/addressing"> > > <wsnt:ConsumerReference> > > <wsa:Address> > > http://www.consumer.org/service/endpoint > > </wsa:Address> > > </wsnt:ConsumerReference> > > <wsnt:Filter> > > <wsnt:TopicExpression > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > > myTopic > > </wsnt:TopicExpression> > > </wsnt:Filter> > > </wsnt:Subscribe> > > ] > > 21:28:46,859 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > WSNComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Active, role: provider > > 21:28:46,859 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > WSNComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-2:1 > > 21:28:46,875 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > stractNotificationBroker | wsn.AbstractNotificationBroker 179 | Subscribe > > 21:28:47,171 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > ComponentContextImpl | framework.ComponentContextImpl 124 | Component: > servicemix-wsn2005 activated endpoint: > {http://servicemix.org/wsnotification}Subscription : > ID-59-64-157-34-1331c5bc604-4-0 > > 21:28:47,171 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > WSNComponent | mix.wsn.component.WSNComponent 200 | Querying > service description for > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}Subscription,e > ndpoint=ID-59-64-157-34-1331c5bc604-4-0] > > 21:28:47,187 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > WSDL1Processor | amework.support.WSDL1Processor 84 | Endpoint > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}Subscription,e > ndpoint=ID-59-64-157-34-1331c5bc604-4-0] implements interface > {http://docs.oasis-open.org/wsn/bw-2}PausableSubscriptionManager > > 21:28:47,203 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > WSNComponent | mix.wsn.component.WSNComponent 200 | Querying > service description for > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}Subscription,e > ndpoint=ID-59-64-157-34-1331c5bc604-4-0] > > 21:28:47,203 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > WSDL2Processor | amework.support.WSDL2Processor 70 | Endpoint > ServiceEndpoint[service={ > http://servicemix.org/wsnotification}Subscription,e > ndpoint=ID-59-64-157-34-1331c5bc604-4-0] has a non WSDL2 service > description > > 21:28:47,203 | DEBUG | pool-2-thread-1 | JCAFlow | > cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for > org. > > apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={ht > tp:// > servicemix.org/wsnotification}Subscription,endpoint=ID-59-64-157-34-133 > 1c5bc604-4-0]] > > 21:28:47,203 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 468 | SendSync > ID:59.64.157.34-1331c5bc604-2:1 in DeliveryChannel{servicemix-wsn2005} > > 21:28:47,218 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > SecuredBroker | mix.jbi.security.SecuredBroker 66 | send > exchange with secure broker > > 21:28:47,218 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > SedaFlow > | emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:28:47,218 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 715 | Waiting > for > exchange ID:59.64.157.34-1331c5bc604-2:1 (91c310) to be answered in > DeliveryChannel{servicemix-wsn2005} from sendSync > > 21:28:47,218 | DEBUG | pool-2-thread-1 | JMSFlow | > i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for > org. > > apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={ht > tp:// > servicemix.org/wsnotification}Subscription,endpoint=ID-59-64-157-34-133 > 1c5bc604-4-0]] > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-5 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@b4dcd9 dequeued exchange: InOut[ > > id: ID:59.64.157.34-1331c5bc604-2:1 > > status: Active > > role: consumer > > 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://schemas.xmlsoap.org/soap/envelope/" > xmlns:ncex="http://www.consumer.org" xmlns:npex="http://www.producer.org" > xmlns:wsa="http://www.w3.org/2005/08/addressing"> > > <wsnt:ConsumerReference> > > <wsa:Address> > > http://www.consumer.org/service/endpoint > > </wsa:Address> > > </wsnt:ConsumerReference> > > <wsnt:Filter> > > <wsnt:TopicExpression > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > > myTopic > > </wsnt:TopicExpression> > > </wsnt:Filter> > > </wsnt:Subscribe> > > out: <?xml version="1.0" encoding="UTF-8"?><ns5:SubscribeResponse > xmlns:ns5="http://docs.oasis-open.org/wsn/b-2" > xmlns:ns2="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns6="http://docs.oasis-open.org/wsn/t-1" > xmlns:ns7="http://docs.oasis-open.org/wsn/br-2 > "><ns5:SubscriptionReference>< > ns2:Address> > http://servicemix.org/wsnotification/Subscription/ID-59-64-157-3 > 4-1331c5bc604-4-0 > </ns2:Address></ns5:SubscriptionReference><ns5:TerminationT > ime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:nil="true"/></ns5:SubscribeResponse> > > ] > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-5 | > HttpComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Active, role: consumer > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-5 | > HttpComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-2:1 > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-5 | > ConsumerProcessor | p.processors.ConsumerProcessor 110 | Resuming > continuation for exchange: ID:59.64.157.34-1331c5bc604-2:1 > > 21:28:47,234 | DEBUG | 13008985@qtp-23860416-0 - Acceptor0 > SelectChannelConnector@localhost:8192 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: > RetryContinuation@30911076,pending,resumed > > 21:28:47,234 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 146 | Receiving HTTP request: POST /Broker/ > HTTP/1.1 > > Accept: */* > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > QQDownload 681; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET > CLR > 3.0.4506.2152; .NET CLR 3.5.30729; 360SE) > > Host: localhost:8192 > > Content-Length: 737 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > 21:28:47,234 | DEBUG | 28922354@qtp-23860416-1 | DeliveryChannelImpl > | > .messaging.DeliveryChannelImpl 435 | Send ID:59.64.157.34-1331c5bc604-2:1 > in DeliveryChannel{servicemix-http} > > 21:28:47,234 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 66 | send exchange with secure broker > > 21:28:47,234 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 80 | service name > :{http://servicemix.org/wsnotification}NotificationBroker > > 21:28:47,234 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 81 | operation name > :{http://docs.oasis-open.org/wsn/brw-2}Subscribe > > 21:28:47,234 | DEBUG | 28922354@qtp-23860416-1 | SedaFlow > | > emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-6 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@10b9a58 dequeued exchange: InOut[ > > id: ID:59.64.157.34-1331c5bc604-2:1 > > status: Done > > 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://schemas.xmlsoap.org/soap/envelope/" > xmlns:ncex="http://www.consumer.org" xmlns:npex="http://www.producer.org" > xmlns:wsa="http://www.w3.org/2005/08/addressing"> > > <wsnt:ConsumerReference> > > <wsa:Address> > > http://www.consumer.org/service/endpoint > > </wsa:Address> > > </wsnt:ConsumerReference> > > <wsnt:Filter> > > <wsnt:TopicExpression > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > > myTopic > > </wsnt:TopicExpression> > > </wsnt:Filter> > > </wsnt:Subscribe> > > out: <?xml version="1.0" encoding="UTF-8"?><ns5:SubscribeResponse > xmlns:ns5="http://docs.oasis-open.org/wsn/b-2" > xmlns:ns2="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns6="http://docs.oasis-open.org/wsn/t-1" > xmlns:ns7="http://docs.oasis-open.org/wsn/br-2 > "><ns5:SubscriptionReference>< > ns2:Address> > http://servicemix.org/wsnotification/Subscription/ID-59-64-157-3 > 4-1331c5bc604-4-0 > </ns2:Address></ns5:SubscriptionReference><ns5:TerminationT > ime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:nil="true"/></ns5:SubscribeResponse> > > ] > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-6 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 732 | Notifying > exchange ID:59.64.157.34-1331c5bc604-2:1(91c310) in > DeliveryChannel{servicemix-wsn2005} from processInboundSynchronousExchange > > 21:28:47,234 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-4 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 726 | Notified: > ID:59.64.157.34-1331c5bc604-2:1(91c310) in > DeliveryChannel{servicemix-wsn2005} from sendSync > > 21:29:09,015 | DEBUG | 13008985@qtp-23860416-0 - Acceptor0 > SelectChannelConnector@localhost:8192 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: SCEP@13619754 > [d=true, > io=1,w=true,b=false|false] > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 146 | Receiving HTTP request: POST /Broker/ > HTTP/1.1 > > Accept: */* > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > QQDownload 681; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET > CLR > 3.0.4506.2152; .NET CLR 3.5.30729; 360SE) > > Host: localhost:8192 > > Content-Length: 702 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > > > > > > > > > > > 3. Notify Operation(Problem occurs): > > > > > > > > > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | HttpComponent > | > emix.common.AsyncBaseLifeCycle 653 | Created correlation id: > ID:59.64.157.34-1331c5bc604-2:2 > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | DeliveryChannelImpl > | > .messaging.DeliveryChannelImpl 435 | Send ID:59.64.157.34-1331c5bc604-2:2 > in DeliveryChannel{servicemix-http} > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 66 | send exchange with secure broker > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 80 | service name > :{http://servicemix.org/wsnotification}NotificationBroker > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | SecuredBroker > | > mix.jbi.security.SecuredBroker 81 | operation name > :{http://docs.oasis-open.org/wsn/brw-2}Notify > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | SedaFlow > | > emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:29:09,015 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 180 | Suspending continuation for exchange: > ID:59.64.157.34-1331c5bc604-2:2 > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@11a9f20 dequeued exchange: > InOnly[ > > id: ID:59.64.157.34-1331c5bc604-2:2 > > status: Active > > role: provider > > service: {http://servicemix.org/wsnotification}NotificationBroker > > endpoint: Broker > > operation: {http://docs.oasis-open.org/wsn/brw-2}Notify > > in: <?xml version="1.0" encoding="UTF-8"?><wsnt:Notify > xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa=" > http://www. > w3.org/2005/08/addressing"> > > <wsnt:NotificationMessage> > > <wsnt:Topic > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > > myTopic > > </wsnt:Topic> > > <wsnt:Message> > > <alarm:Alarm xmlns:alarm="http://alarms.some-host"> > > <Name>Kettle Overfill</Name> > > <Desc>Kettle Overfill Alarm</Desc> > > <Date>2007-09-22-12:00:30:100</Date> > > <Severity>3</Severity> > > <Value>110.2</Value> > > <Ack>false</Ack> > > </alarm:Alarm> > > </wsnt:Message> > > </wsnt:NotificationMessage> > > </wsnt:Notify> > > ] > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > WSNComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Active, role: provider > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > WSNComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-2:2 > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > stractNotificationBroker | wsn.AbstractNotificationBroker 125 | Notify > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 435 | Send > ID:59. > 64.157.34-1331c5bc604-2:2 in DeliveryChannel{servicemix-wsn2005} > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > SecuredBroker | mix.jbi.security.SecuredBroker 66 | send > exchange with secure broker > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-7 | > SedaFlow > | emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-8 | > SedaQueue | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache. > servicemix.jbi.nmr.flow.seda.SedaQueue$1@1ee2310 dequeued exchange: > InOnly[ > > id: ID:59.64.157.34-1331c5bc604-2:2 > > status: Done > > role: consumer > > service: {http://servicemix.org/wsnotification}NotificationBroker > > endpoint: Broker > > operation: {http://docs.oasis-open.org/wsn/brw-2}Notify > > in: <?xml version="1.0" encoding="UTF-8"?><wsnt:Notify > xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa=" > http://www. > w3.org/2005/08/addressing"> > > <wsnt:NotificationMessage> > > <wsnt:Topic > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > > myTopic > > </wsnt:Topic> > > <wsnt:Message> > > <alarm:Alarm xmlns:alarm="http://alarms.some-host"> > > <Name>Kettle Overfill</Name> > > <Desc>Kettle Overfill Alarm</Desc> > > <Date>2007-09-22-12:00:30:100</Date> > > <Severity>3</Severity> > > <Value>110.2</Value> > > <Ack>false</Ack> > > </alarm:Alarm> > > </wsnt:Message> > > </wsnt:NotificationMessage> > > </wsnt:Notify> > > ] > > 21:29:09,031 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-8 | > HttpComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Done, role: consumer > > 21:29:09,046 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-8 | > HttpComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-2:2 > > 21:29:09,046 | DEBUG | ActiveMQ Session Task | WSNComponent | > emix.common.AsyncBaseLifeCycle 653 | Created correlation id: > ID:59.64.157.34-1331c5bc604-3:0 > > 21:29:09,046 | DEBUG | pool-flow.seda.servicemix-wsn2005-thread-8 | > ConsumerProcessor | p.processors.ConsumerProcessor 110 | Resuming > continuation for exchange: ID:59.64.157.34-1331c5bc604-2:2 > > 21:29:09,046 | DEBUG | ActiveMQ Session Task | DeliveryChannelImpl | > .messaging.DeliveryChannelImpl 435 | Send ID:59.64.157.34-1331c5bc604-3:0 > in DeliveryChannel{servicemix-wsn2005} > > 21:29:09,046 | DEBUG | 13008985@qtp-23860416-0 - Acceptor0 > SelectChannelConnector@localhost:8192 | JettyContextManager | > ntextManager$ThreadPoolWrapper 469 | Dispatching job: > RetryContinuation@30911076,pending,resumed > > 21:29:09,046 | DEBUG | ActiveMQ Session Task | SecuredBroker | > mix.jbi.security.SecuredBroker 66 | send exchange with secure broker > > 21:29:09,046 | DEBUG | ActiveMQ Session Task | SecuredBroker | > mix.jbi.security.SecuredBroker 80 | service name > :{urn:servicemix:http}HttpComponent > > 21:29:09,046 | DEBUG | ActiveMQ Session Task | SecuredBroker | > mix.jbi.security.SecuredBroker 81 | operation name :null > > 21:29:09,046 | DEBUG | 28922354@qtp-23860416-1 | ConsumerProcessor > | > p.processors.ConsumerProcessor 146 | Receiving HTTP request: POST /Broker/ > HTTP/1.1 > > Accept: */* > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > QQDownload 681; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET > CLR > 3.0.4506.2152; .NET CLR 3.5.30729; 360SE) > > Host: localhost:8192 > > Content-Length: 702 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > 21:29:09,046 | DEBUG | ActiveMQ Session Task | SedaFlow | > emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:29:09,046 | DEBUG | pool-flow.seda.servicemix-http-thread-1 | SedaQueue > | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@344a47 dequeued > exchange: InOnly[ > > id: ID:59.64.157.34-1331c5bc604-3:0 > > status: Active > > role: provider > > endpoint: http://www.consumer.org/service/endpoint > > in: <?xml version="1.0" encoding="UTF-8"?><ns2:Notify > xmlns:ns2="http://docs.oasis-open.org/wsn/b-2" > xmlns="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns5="http://docs.oasis-open.org/wsn/t-1 > "><ns2:NotificationMessage><ns2 > :Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple > "> > > myTopic > > </ns2:Topic><ns2:Message><alarm:Alarm > xmlns:alarm="http://alarms.some-host"><Name xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">Kettle > Overfill</Name><Desc > xmlns="" xmlns:ns7="http://www.w3.org/2005/08/addressing">Kettle Overfill > Alarm</Desc><Date xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing > ">2007-09-22-12:00:30:100</Da > te><Severity xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">3</Severity><Value > xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">110.2</Value><Ack > xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">false</Ack> > > </alarm:Alarm></ns2:Message></ns2:NotificationMessage></ns2:Notify> > > ] > > 21:29:09,046 | DEBUG | pool-flow.seda.servicemix-http-thread-1 | > HttpComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Active, role: provider > > 21:29:09,046 | DEBUG | pool-flow.seda.servicemix-http-thread-1 | > HttpComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-3:0 > > 21:29:11,375 | ERROR | pool-flow.seda.servicemix-http-thread-1 | > HttpComponent | emix.common.AsyncBaseLifeCycle 537 | Error > processing exchange InOnly[ > > id: ID:59.64.157.34-1331c5bc604-3:0 > > status: Active > > role: provider > > endpoint: http://www.consumer.org/service/endpoint > > in: <?xml version="1.0" encoding="UTF-8"?><ns2:Notify > xmlns:ns2="http://docs.oasis-open.org/wsn/b-2" > xmlns="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns5="http://docs.oasis-open.org/wsn/t-1 > "><ns2:NotificationMessage><ns2 > :Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple > "> > > myTopic > > </ns2:Topic><ns2:Message><alarm:Alarm > xmlns:alarm="http://alarms.some-host"><Name xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">Kettle > Overfill</Name><Desc > xmlns="" xmlns:ns7="http://www.w3.org/2005/08/addressing">Kettle Overfill > Alarm</Desc><Date xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing > ">2007-09-22-12:00:30:100</Da > te><Severity xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">3</Severity><Value > xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">110.2</Value><Ack > xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">false</Ack> > > </alarm:Alarm></ns2:Message></ns2:NotificationMessage></ns2:Notify> > > ] > > java.lang.Exception: Invalid status response: 301 > > at > > org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProc > essor.java:182) > > at > org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:400) > > at > > org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle > .java:627) > > at > > org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLif > eCycle.java:581) > > at > > org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseL > ifeCycle.java:535) > > at > > org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLife > CycleWrapper.java:60) > > at > > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(Deliv > eryChannelImpl.java:632) > > at > > org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java: > 185) > > 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.ja > va:886) > > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9 > 08) > > at java.lang.Thread.run(Thread.java:662) > > 21:29:11,375 | DEBUG | pool-flow.seda.servicemix-http-thread-1 | > DeliveryChannelImpl | .messaging.DeliveryChannelImpl 435 | Send > ID:59. > 64.157.34-1331c5bc604-3:0 in DeliveryChannel{servicemix-http} > > 21:29:11,375 | DEBUG | pool-flow.seda.servicemix-http-thread-1 | > SecuredBroker | mix.jbi.security.SecuredBroker 66 | send > exchange with secure broker > > 21:29:11,375 | DEBUG | pool-flow.seda.servicemix-http-thread-1 | SedaFlow > | emix.jbi.nmr.flow.AbstractFlow 119 | Called Flow send > > 21:29:11,375 | DEBUG | pool-flow.seda.servicemix-http-thread-2 | SedaQueue > | .jbi.nmr.flow.seda.SedaQueue$1 132 | > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@2fbdd2 dequeued > exchange: InOnly[ > > id: ID:59.64.157.34-1331c5bc604-3:0 > > status: Error > > role: consumer > > endpoint: http://www.consumer.org/service/endpoint > > in: <?xml version="1.0" encoding="UTF-8"?><ns2:Notify > xmlns:ns2="http://docs.oasis-open.org/wsn/b-2" > xmlns="http://www.w3.org/2005/08/addressing" > xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" > xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2" > xmlns:ns5="http://docs.oasis-open.org/wsn/t-1 > "><ns2:NotificationMessage><ns2 > :Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple > "> > > myTopic > > </ns2:Topic><ns2:Message><alarm:Alarm > xmlns:alarm="http://alarms.some-host"><Name xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">Kettle > Overfill</Name><Desc > xmlns="" xmlns:ns7="http://www.w3.org/2005/08/addressing">Kettle Overfill > Alarm</Desc><Date xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing > ">2007-09-22-12:00:30:100</Da > te><Severity xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">3</Severity><Value > xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">110.2</Value><Ack > xmlns="" > xmlns:ns7="http://www.w3.org/2005/08/addressing">false</Ack> > > </alarm:Alarm></ns2:Message></ns2:NotificationMessage></ns2:Notify> > > error: java.lang.Exception: Invalid status response: 301 > > ] > > 21:29:11,390 | DEBUG | pool-flow.seda.servicemix-http-thread-2 | > WSNComponent | emix.common.AsyncBaseLifeCycle 561 | Received > exchange: status: Error, role: consumer > > 21:29:11,390 | DEBUG | pool-flow.seda.servicemix-http-thread-2 | > WSNComponent | emix.common.AsyncBaseLifeCycle 623 | Retrieved > correlation id: ID:59.64.157.34-1331c5bc604-3:0 > > > > > > > > > > > > > > > > > > > > > > The logs in red are the Exception. I was confused about it. However, when I > send the SOAP message below, it has no exception. > > > > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:wsa="http://www.w3.org/2005/08/addressing"> > > <env:Header> > > <wsa:To> > > http://www.consumer.org/service/endpoint > > </wsa:To> > > </env:Header> > > <env:Body> > > <wsnt:Notify xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"> > > <wsnt:NotificationMessage> > > <wsnt:Topic > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > > BrewProcess > > </wsnt:Topic> > > <wsnt:Message> > > … > > </wsnt:Message> > > </wsnt:NotificationMessage> > > </wsnt:Notify> > > </env:Body> > > </env:Envelope> > > > > The difference is I putting the <wsa:To> tag into <Header>tag. But, this is > not what I want. > > By this way , the wsn2005 invoke the notify method of AbstractPullPoint > directly and do not invoke the notify method of AbstractNotificationBroker. > > > > Please let me know what could be the reason and thanks a lot. > > > > Thanks&Regards > > > > Zhaohang Chai > >
