Hello
Im using your example from your blog page with Person example model. Im
using JAXB marshaller. Server JBoss 5.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://service.server.drools.org/"
<soapenv:Header/
<soapenv:Body
<ser:execute
<command
<![CDATA[
<batch-execution lookup="ksession1"
<insert out-identifier="person1"
<object xsi:type="person" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
<name >salaboy</name
<pets
<name>fufu</name
<type>DOG</type
</pets
<pets
<name>fifi</name
<type>CAT</type
</pets
</object
</insert
<fire-all-rules
max="-1"/
</batch-execution
]]
</command
</ser:execute
</soapenv:Body
</soapenv:Envelope
2010/5/7 Lucas Amador [via Drools - Java Rules Engine] <
ml-node+783733-1199714288-251960@n3.nabble.com<ml-node%2B783733-1199714288-251960(a)n3.nabble.com
> Hi,
> this happens when the xml command has incorrect format, and the
> marshaller isn't able to create the object Commands.
> Can you tell me wich marshaller are you using, xstream or jaxb? Also,
> i could help you if you send me the xml command and the model
> definition
> Thanks
> El 07/05/2010, a las 05:36, Seltir escribió:
>
> > Hello All.
>
> > I have a problem using Drools Server with example
domain.
>
> > During sending Rest Request to Drools Server I have
an exception:
>
> > 15:45:56,578 ERROR [STDERR] 2010-05-05 15:45:56
> > org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
> > INFO: Application
> > {http://service.server.drools.org/}knowledgeService#{
>
http://service.server.drools.org/
> > }execute
> > has thrown exception, unwinding now:
> > org.drools.CheckedDroolsException:
> > java.lang.String cannot be cast to [B
>
> > Could anybody tell me what could couse this ?
Somebody had this
> > problem?
>
> > Im running Drools Server on Jboss 5.0.0 with test
drools server
> > domain added
> > to the libs.
> > --
> > View this message in context:
>
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Server-Problem...
> > Sent from the Drools - User mailing list archive at
Nabble.com.
> > _______________________________________________
> > rules-users mailing list
> > [hidden email]
<
http://user/SendEmail.jtp?type=node&node=783733&i=0
> >
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
> rules-users mailing list
> [hidden email] <
http://user/SendEmail.jtp?type=node&node=783733&i=1
>
https://lists.jboss.org/mailman/listinfo/rules-users
> ------------------------------
> View message @
>
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Server-Problem...
> To unsubscribe from Drools Server Problem java.lang.String cannot be cast
> to [B, click
here<http://drools-java-rules-engine.46999.n3.nabble.com/subscriptions...;.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Server-Problem...
Sent from the Drools - User mailing list archive at
Nabble.com.