Don't bother about this one - I got this fixed. The dependency in pom.xml should be on the servicemix-drools and not servicemix-http.
Must have been a typo or implied in the original mail on how to create a drools component (http://www.nabble.com/Re%3A-servicemix-Drool-engine-Issue-tf3948556s120 49.html ) Regards, Mrudula -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:30 AM To: [email protected] Subject: RE: How to test the drools component? - Unrecognized xbean namespace mapping for drools Gert, I am facing problem while installing the drools SU. First I created a simple JBI-SU and created the xbean.xml which contains the drools endpoint. Then I edited the pom.xml to include the dependency on servicemix-http (as you had instructed in another mail thread on drools) However, while executing the install command - I am getting the following error- "Unrecognized xbean namespace mapping: http://servicemix.apache.org/drools/1.0" How should I correct this? Regards, Mrudula -----Original Message----- From: Gert Vanthienen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 7:59 PM To: [email protected] Subject: RE: How to test the drools component? Mrudula, I don't think you need the targetService in this case. The Drools endpoint is an internal endpoint, the HTTP endpoint would only expose it to the outside world. Anyway, if you do specify it however, it should include the correct namespace as well, so it should say targetService="testMe:DroolFinalService". Gert mrudulam wrote: > > Hi Gert, > > Thanks for the reply. Please verify my understanding. I have listed the > xbean.xml for the HTTP SU and the Drool SU below. Please confirm if this > is what you meant. Also -if I have specified the targetService correctly. > > By this, when I access the url http://localhost:8195/TestDroolService, I > should be able to invoke the test1.drl. Is that correct? > > Regards, > Mrudula > > > > > <beans xmlns:http="http://servicemix.apache.org/http/1.0" > xmlns:drools="http://servicemix.apache.org/drools/1.0" > xmlns:testMe="http://servicemix.apache.org/samples/wsdl-first"> > <http:endpoint service="testMe:DroolFinalService" > endpoint="httpEndPoint" > role="consumer" > locationURI="http://localhost:8195/TestDroolService/" > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" > soap="true" targetService="DroolFinalService"/> > </beans> > > <beans xmlns:http="http://servicemix.apache.org/http/1.0" > xmlns:drools="http://servicemix.apache.org/drools/1.0" > xmlns:testMe="http://servicemix.apache.org/samples/wsdl-first"> > > <drools:endpoint service="testMe:DroolFinalService" > endpoint="DroolEndpoint" > ruleBaseResource="classpath:test1.drl" /> > </beans> > > ________________________________ > > From: Gert Vanthienen [mailto:[EMAIL PROTECTED] > Sent: Tue 6/19/2007 12:26 PM > To: [email protected] > Subject: Re: How to test the drools component? > > > > > L.S., > > > In your case, your SA needs a > * HTTP SU, with an xbean.xml to define the consumer endpoint > * Drools SU, with an xbean.xml to define the drools endpoint > > I would recommend you to specify the same service name (including > namespace) > on both endpoints: that way you expose your drools endpoint to the outside > world using SOAP/HTTP directly. > > > Gert > > > mrudulam wrote: >> >> >> >> Hi, >> >> New to ServiceMix and exploring the drools component. >> I have created a HTTP Consumer SU, a JSR 181 SU (and a SA to deploy the >> two.) After the Webservice is processed, I expect the drools endpoint to >> be activated. (Pls see the xbean.xml configuration below) since I have >> given the targetService attribute. But nothing happens. >> >> Please tell me what is wrong with this approach. >> >> Also - is there any way to test the drools component independently? >> >> Regards, >> Mrudula >> >> >> >> >> >> xbean.xml of the HTTP Consumer SU is given below >> >> >> >> <beans xmlns:http="http://servicemix.apache.org/http/1.0" >> xmlns:drools="http://servicemix.apache.org/drools/1.0" >> xmlns:person="http://servicemix.apache.org/samples/wsdl-first"> >> >> <http:endpoint service="person:MulNumService" >> endpoint="soap" >> role="consumer" >> locationURI="http://localhost:8195/MulNumService/" >> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >> soap="true" targetService="DroolFinalService"/> >> <drools:endpoint service="testMe:DroolFinalService" >> endpoint="endpoint" >> ruleBaseResource="classpath:test1.drl" /> >> </beans> >> >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the addressee(s) >> and >> may contain proprietary, confidential or privileged information. If you >> are not the intended recipient, you should not disseminate, distribute or >> copy this e-mail. Please notify the sender immediately and destroy all >> copies of this message and any attachments. >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of viruses. >> The company accepts no liability for any damage caused by any virus >> transmitted by this email. >> >> www.wipro.com >> >> > > -- > View this message in context: > http://www.nabble.com/Status-12029-tf3940060s12049.html#a11189497 > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > > > > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > -- View this message in context: http://www.nabble.com/Status-12029-tf3940060s12049.html#a11195951 Sent from the ServiceMix - User mailing list archive at Nabble.com. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
