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.
