<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div class="" style="">Drools, Eclipse, Tomcat, and WCF are all new to me, so I may be missing something obvious. Questions at the bottom, after the problem description.</div><div class="" style=""><br class="" style=""></div><div style="background-color: transparent;" class="">I deployed the Drools Camel Server WAR file in a Tomcat 7 server I'm running within Eclipse under Windows 7. Using Visual Studio 2013 and System.ServiceModel 4.0.0.0 I generated a client from the WSDL. I fixed a problem with serialization and am getting an error on deserialization. The inner exception says "<span style="background-color: transparent;" class="">End element 'return' from namespace 'http://soap.jax.drools.org/' expected. Found text '<'. Line 1, position 189."</span></div><div style="color: rgb(0, 0, 0);
font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><span style="background-color: transparent;" class=""><br class="" style=""></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><span style="background-color: transparent;" class="">The WSDL (obtained from <a href="http://127.0.0.1:8080/drools-camel-server-example-6.2.0-SNAPSHOT/kservice/soap?wsdl" class="" style="">http://127.0.0.1:8080/drools-camel-server-example-6.2.0-SNAPSHOT/kservice/soap?wsdl</a>) says there should be a thing named "return" there.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style:
normal; background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class=""><span style="background-color: transparent;" class=""><xsd:element name="executeResponse" type="tns:executeResponse"/></span></div><div style="background-color: transparent;" class=""><span style="font-size: 12pt; background-color: transparent;" class=""><xsd:complexType name="executeResponse"></span><br class="" style=""></div><div style="background-color: transparent;" class=""><span style="font-size: 12pt; background-color: transparent;" class=""> <xsd:sequence></span><br class="" style=""></div><div style="background-color: transparent;" class=""><span style="font-size: 12pt; background-color: transparent;" class=""> <xsd:element name="return" type="xsd:anyType" minOccurs="0"/></span><br class="" style=""></div><div style="background-color: transparent;"
class=""><span style="font-size: 12pt; background-color: transparent;" class=""> </xsd:sequence></span><br class="" style=""></div><div style="background-color: transparent;" class=""><span style="font-size: 12pt; background-color: transparent;" class=""></xsd:complexType></span><br class="" style=""></div><div class="" style=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">I am unable to convince the Visual Studio debugger to show me the text it is trying to deserialize. But a colleague used another tool to get a copy of the message body and it seems in addition to "return" there is a "fact-handle". (This is the weak link in the evidence chain; I didn't redo this today.) (The "Hello:" text is what Drools is indeed sending. I changed the original
drl file.)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class=""><?xml version='1.0' encoding='UTF-8'?></div><div style="background-color: transparent;" class=""><execution-results></div><div style="background-color: transparent;" class=""> <result identifier="person1"></div><div style="background-color: transparent;" class=""> <org.drools.server.Message><text>Hello:</text></org.drools.server.Message></div><div style="background-color: transparent;" class=""> </result></div><div style="background-color: transparent;" class=""> <fact-handle identifier="person1"
external-form="0:1:427239608:427239608:1:DEFAULT:NON_TRAIT"/></div><div style="background-color: transparent;" class=""></execution-results><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Question1: Is the fact-handle element likely to be the cause of .NET's deserialization error?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Question 2: If so, what would I do, and where, to
fix the problem? Does the WSDL need to be different? Does fact-handle need to be omitted? Does some .NET option need to be changed?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Question 3: If that's not the cause, how can I identify the real problem?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Thanks in advance,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Clark Wilson</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div></div></body></html>