[rules-users] Drools Execution Server - SOAP Support / XML Format
Miguel Fernando Cabrera
mfcabrera at gmail.com
Wed Nov 24 12:00:06 EST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101124/e02563be/attachment.html
More information about the rules-users
mailing list