Re: [rules-users] .NET WCF unable to deserialize response from Drools Camel Server example 6.2.0 snapshot
I need to explain about the WAR file we are using. The WAR file in distribution binaries would not deploy for us. I forget what the error message was. So we went to ...\droolsjbpm-integration\drools-camel-server-example and issued a maven command we found at http://salaboy.com/2011/04/05/drools-in-real-life-droolsjbpm5-server-first-steps/ to build the WAR file, which we then used. Clark -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NET-WCF-unable-to-deserialize-response-from-Drools-Camel-Server-example-6-2-0-snapshot-tp4030566p4030599.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] .NET WCF unable to deserialize response from Drools Camel Server example 6.2.0 snapshot
Sorry about incremental updates, but I think it's important for me to say that the WSDL XSD looks okay. The full SOAP message that Drools server sends is like this: SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; SOAP-ENV:Header/ SOAP-ENV:Body ns1:executeResponse xmlns:ns1=http://soap.jax.drools.org/; ns1:return/ns1:return /ns1:executeResponse /SOAP-ENV:Body /SOAP-ENV:Envelope Notice the return element that contains the CDATA chunk that contains the message contents. That matches the WSDL XSD. It *seems* that .NET is trying to apply the WSDL XSD to the CDATA chunk. So instead of recognizing one return element (which is actually in the message) it sees an XML chunk containing a result element and a fact-handle element but no return element. Perhaps we can fix it by changing the data contract(s) for the response. Dunno. But the WSDL XSD seems to match the actual message. Clark -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NET-WCF-unable-to-deserialize-response-from-Drools-Camel-Server-example-6-2-0-snapshot-tp4030566p4030600.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Mocking Guvnor
Hi , We have requirement where in during functional testing we do not want to connect to Guvnor rather want to mock it. For example mocking could be like this. We send Fact object as input during calling knowledgeSession.execute() method and in rule we update the result in that fact object itself. So here can we mock the output fact object, so that during functional testing we no need to connect to Guvnor rather mocked result fact object is returned. Thank you Santhosh Hegde A -- View this message in context: http://drools.46999.n3.nabble.com/Mocking-Guvnor-tp4030601.html Sent from the Drools: User forum mailing list archive at Nabble.com.___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users