[rules-users] Drools Execution Server - SOAP Support / XML Format

Mauricio Salatino salaboy at gmail.com
Wed Nov 24 12:20:06 EST 2010


Hi How are you? I'm working to improve and add more features to the current
implementation. It's supposed to support SOAP endpoints so it should be
working. Drools-Server is changing continuously to add more features. I'm
doing some post and videos to show how to use it.. but all the new code it's
in the trunk.. and it will be probably included in the next release.
Greetings

2010/11/24 Miguel Fernando Cabrera <mfcabrera at gmail.com>

> Hello to all,
>
> Right now I am testing Drools Execution Server 5.1.1
> I already made it work with Jboss and ran the test using the restful
> interface (I used the Poster firefox extension).
>
> Now I was checking if I could create a SOAP Service.  On the documentation
> is not even mentioned [1] . So I kept looking. On the Weblog of Lucas
> Amador, I found this article[2] (it was written some months ago but compared
> to the documentation it looks updated) and it says:
>
> "If you want to have SOAP support, you need to create your custom Drools
> Policy." (Whathever that means).
>
> However, I see some example of Soap endpoint  "out-of-the-box" in this post
> of Salaboy [3]. I tried to reproduce those configuration but I failed to do
> so because it  on the webpage showing the available services
> (in my case http://localhost:8080/drools-5.1.1-server/kservice/  ) the
> Soap endpoint never shows up.
>
> Here is the camel-server.xml (http://pastebin.com/Hf0yvNHQ)  and the
> knowledge-services.xml (http://pastebin.com/jqrUS9aK). They are both very
> basic, they are small modification to the default ones.
>
> So, rounding up, my question is, does Drools Execution Server 5.1.1
> supports Soap endpoints? if so,  based on the configuration files what am I
> doing wrong?
>
> And additional question is, where I can find the XML serialization format.
>  For example, when using the test that comes with drools-server (REST end
> point) I sent the following xml:
>
> <batch-execution lookup="ksession1">
>   <insert out-identifier="person1" return-object="true">
>     *<org.test.Message>*
> *      <text>Wepaje</text>*
> *    </org.test.Message*>
>   </insert>
> </batch-execution>
>
> What if for example org.test.Message contains other complex object (with
> properties and so on). How the XML should look like?
>
> Thanks in advance for your help
>
>
> [1]
> http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html/ch03.html
> [2]
> http://lucazamador.wordpress.com/2010/07/20/drools-server-configuration-updated/
> [3]
> http://salaboy.wordpress.com/2010/11/24/drools-server-drools-grid-for-remote-distributed-executions/#more-1433
>
> --
> Miguel Fernando Cabrera Granados
> http://mfcabrera.com
> "A los hombres fuertes les pasa lo que a los barriletes; se elevan cuando
> es
> mayor el viento que se opone a su ascenso." - José Ingenieros
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
 - CTO @ http://www.plugtree.com
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101124/1b2ad8a3/attachment.html 


More information about the rules-users mailing list