This discussion is archived
1 Reply Latest reply: Sep 4, 2012 6:10 PM by BradTuckett RSS

Legacy Rulebase Not Acting As Expected

959949 Newbie
Currently Being Moderated
We have recently tried upgrading from 10.1 to 10.4. We are attempting to call the rule base using the backwards comparability feature (http://ServerName/hds/assess/soap/specific/10.0/ClaimAdjudicationRules.asmx) on a previously working implementation in ASP.Net. The call from the proxy class gets an error of

356
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/10.0/claimadjudicationrules/types">
<SOAP-ENV:Header>
<i18n:international>
<i18n:locale>en_US</i18n:locale>
<i18n:tz>GMT-05:00</i18n:tz>
</i18n:international>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Entity instance 'claimant[1056222]' does not exist.</faultstring>
<detail>
<typ:error-response>
<typ:code>Oracle.Determinations.Server.Exceptions.UnknownEntityInstanceException</typ:code>
<typ:message>Entity instance 'claimant[1056222]' does not exist.</typ:message>
</typ:error-response>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

0

When running from SOAP UI and doing a direct call with request unaltered the error is duplicated (the post is not displaying the entire unaltered text but i can assure you it contains the same elements as the "pretty print" version).
Request XML:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><assess-request xmlns="http://oracle.com/determinations/server/10.0/claimadjudicationrules/types"><config><show-silent>false</show-silent><show-invisible>false</show-invisible><show-properties>true</show-properties></config><claimadjudicationrules><global id="global"><tbr_IsPayable inferencing-type="goal" outcome-style="value-only"/><tbr_ProcedureDate><date-val>2010-10-10</date-val></tbr_ProcedureDate><relationships><testingbenefitrequestsclaimant><target entity-id="1056222"/></testingbenefitrequestsclaimant><testingbenefitrequestscustomer><target entity-id="Smith"/></testingbenefitrequestscustomer><testingbenefitrequestspolicies><target entity-id="105622202"/></testingbenefitrequestspolicies></relationships></global><list-claimant><claimant id="1056222"><claimant_AccountNumber><text-val>1056222</text-val></claimant_AccountNumber><claimant_Age><number-val>61</number-val></claimant_Age><claimant_DH_Status><text-val>null</text-val></claimant_DH_Status><claimant_FullName><text-val>Smith, Anna C. </text-val></claimant_FullName><claimant_IsActiveStudent><boolean-val>false</boolean-val></claimant_IsActiveStudent><claimant_RelationType><text-val>INS</text-val></claimant_RelationType></claimant></list-claimant><list-customer><customer id="Smith"><customer_Number><text-val>1056222</text-val></customer_Number></customer></list-customer><list-ecr><ecr id="02"><ecr_Division><text-val>AFES</text-val></ecr_Division><ecr_Results outcome-style="value-only"/><ecr_State><text-val>AL</text-val></ecr_State></ecr></list-ecr><list-policy><policy id="105622202"><policy_BenefitStructureError><text-val>Benefit Structure Found</text-val></policy_BenefitStructureError><policy_EffectiveDate><date-val>1989-12-01</date-val></policy_EffectiveDate><policy_GracePeriod><number-val>31</number-val></policy_GracePeriod><policy_HHMC><text-val>X</text-val></policy_HHMC><policy_IssuedState><text-val>AL</text-val></policy_IssuedState><policy_Max_Family><number-val>0</number-val></policy_Max_Family><policy_Max_IND_DXTOT><number-val>0</number-val></policy_Max_IND_DXTOT><policy_Max_IND_DXTST><number-val>60.00</number-val></policy_Max_IND_DXTST><policy_Max_IND_MAMMO><number-val>0</number-val></policy_Max_IND_MAMMO><policy_Max_IND_WELLS><number-val>0</number-val></policy_Max_IND_WELLS><policy_MaxAge_Dependent><number-val>21</number-val></policy_MaxAge_Dependent><policy_MaxAge_Student><number-val>25</number-val></policy_MaxAge_Student><policy_Number><text-val>105622202</text-val></policy_Number><policy_Paid_DXTOT><number-val>0</number-val></policy_Paid_DXTOT><policy_Paid_DXTST><number-val>60.00</number-val></policy_Paid_DXTST><policy_Paid_Family><number-val>0</number-val></policy_Paid_Family><policy_Paid_MAMMO><number-val>0</number-val></policy_Paid_MAMMO><policy_Paid_WELLS><number-val>0</number-val></policy_Paid_WELLS><policy_PaidToDate><date-val>2012-04-01</date-val></policy_PaidToDate><policy_PlanCode><text-val>013-250</text-val></policy_PlanCode><policy_Status><text-val>AA</text-val></policy_Status><policy_WaitingPeriod><number-val>30</number-val></policy_WaitingPeriod><relationships><policysecr><target entity-id="02"/></policysecr><policystests><target entity-id="0223"/></policystests></relationships></policy></list-policy><list-selectedtest><selectedtest id="0223"><test_BenefitType inferencing-type="stand-alone" outcome-style="value-only"/><test_IsPayable inferencing-type="goal" outcome-style="decision-report"/><test_Name><text-val>(test only)</text-val></test_Name><test_PolicyIssueState><text-val>AL</text-val></test_PolicyIssueState><test_PolicyPlanCode><text-val>013-260</text-val></test_PolicyPlanCode></selectedtest></list-selectedtest></claimadjudicationrules></assess-request></s:Body></s:Envelope>

Where it is weird is if we "pretty print" the XML the call in SOAP UI responds with the correct response (rules ran correctly) (tabs are not rendered in the post but are there in soap UI):
Request XML:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
     <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <assess-request xmlns="http://oracle.com/determinations/server/10.0/claimadjudicationrules/types">
               <config>
                    <show-silent>false</show-silent>
                    <show-invisible>false</show-invisible>
                    <show-properties>true</show-properties>
               </config>
               <claimadjudicationrules>
                    <global id="global">
                         <tbr_IsPayable inferencing-type="goal" outcome-style="value-only"/>
                         <tbr_ProcedureDate>
                              <date-val>2010-10-10</date-val>
                         </tbr_ProcedureDate>
                         <relationships>
                              <testingbenefitrequestsclaimant>
                                   <target entity-id="1056222"/>
                              </testingbenefitrequestsclaimant>
                              <testingbenefitrequestscustomer>
                                   <target entity-id="Smith"/>
                              </testingbenefitrequestscustomer>
                              <testingbenefitrequestspolicies>
                                   <target entity-id="105622202"/>
                              </testingbenefitrequestspolicies>
                         </relationships>
                    </global>
                    <list-claimant>
                         <claimant id="1056222">
                              <claimant_AccountNumber>
                                   <text-val>1056222</text-val>
                              </claimant_AccountNumber>
                              <claimant_Age>
                                   <number-val>61</number-val>
                              </claimant_Age>
                              <claimant_DH_Status>
                                   <text-val>null</text-val>
                              </claimant_DH_Status>
                              <claimant_FullName>
                                   <text-val>Smith, Anna C. </text-val>
                              </claimant_FullName>
                              <claimant_IsActiveStudent>
                                   <boolean-val>false</boolean-val>
                              </claimant_IsActiveStudent>
                              <claimant_RelationType>
                                   <text-val>INS</text-val>
                              </claimant_RelationType>
                         </claimant>
                    </list-claimant>
                    <list-customer>
                         <customer id="Smith">
                              <customer_Number>
                                   <text-val>1056222</text-val>
                              </customer_Number>
                         </customer>
                    </list-customer>
                    <list-ecr>
                         <ecr id="02">
                              <ecr_Division>
                                   <text-val>AFES</text-val>
                              </ecr_Division>
                              <ecr_Results outcome-style="value-only"/>
                              <ecr_State>
                                   <text-val>AL</text-val>
                              </ecr_State>
                         </ecr>
                    </list-ecr>
                    <list-policy>
                         <policy id="105622202">
                              <policy_BenefitStructureError>
                                   <text-val>Benefit Structure Found</text-val>
                              </policy_BenefitStructureError>
                              <policy_EffectiveDate>
                                   <date-val>1989-12-01</date-val>
                              </policy_EffectiveDate>
                              <policy_GracePeriod>
                                   <number-val>31</number-val>
                              </policy_GracePeriod>
                              <policy_HHMC>
                                   <text-val>X</text-val>
                              </policy_HHMC>
                              <policy_IssuedState>
                                   <text-val>AL</text-val>
                              </policy_IssuedState>
                              <policy_Max_Family>
                                   <number-val>0</number-val>
                              </policy_Max_Family>
                              <policy_Max_IND_DXTOT>
                                   <number-val>0</number-val>
                              </policy_Max_IND_DXTOT>
                              <policy_Max_IND_DXTST>
                                   <number-val>60.00</number-val>
                              </policy_Max_IND_DXTST>
                              <policy_Max_IND_MAMMO>
                                   <number-val>0</number-val>
                              </policy_Max_IND_MAMMO>
                              <policy_Max_IND_WELLS>
                                   <number-val>0</number-val>
                              </policy_Max_IND_WELLS>
                              <policy_MaxAge_Dependent>
                                   <number-val>21</number-val>
                              </policy_MaxAge_Dependent>
                              <policy_MaxAge_Student>
                                   <number-val>25</number-val>
                              </policy_MaxAge_Student>
                              <policy_Number>
                                   <text-val>105622202</text-val>
                              </policy_Number>
                              <policy_Paid_DXTOT>
                                   <number-val>0</number-val>
                              </policy_Paid_DXTOT>
                              <policy_Paid_DXTST>
                                   <number-val>60.00</number-val>
                              </policy_Paid_DXTST>
                              <policy_Paid_Family>
                                   <number-val>0</number-val>
                              </policy_Paid_Family>
                              <policy_Paid_MAMMO>
                                   <number-val>0</number-val>
                              </policy_Paid_MAMMO>
                              <policy_Paid_WELLS>
                                   <number-val>0</number-val>
                              </policy_Paid_WELLS>
                              <policy_PaidToDate>
                                   <date-val>2012-04-01</date-val>
                              </policy_PaidToDate>
                              <policy_PlanCode>
                                   <text-val>013-250</text-val>
                              </policy_PlanCode>
                              <policy_Status>
                                   <text-val>AA</text-val>
                              </policy_Status>
                              <policy_WaitingPeriod>
                                   <number-val>30</number-val>
                              </policy_WaitingPeriod>
                              <relationships>
                                   <policysecr>
                                        <target entity-id="02"/>
                                   </policysecr>
                                   <policystests>
                                        <target entity-id="0223"/>
                                   </policystests>
                              </relationships>
                         </policy>
                    </list-policy>
                    <list-selectedtest>
                         <selectedtest id="0223">
                              <test_BenefitType inferencing-type="stand-alone" outcome-style="value-only"/>
                              <test_IsPayable inferencing-type="goal" outcome-style="decision-report"/>
                              <test_Name>
                                   <text-val>(test only)</text-val>
                              </test_Name>
                              <test_PolicyIssueState>
                                   <text-val>AL</text-val>
                              </test_PolicyIssueState>
                              <test_PolicyPlanCode>
                                   <text-val>013-260</text-val>
                              </test_PolicyPlanCode>
                         </selectedtest>
                    </list-selectedtest>
               </claimadjudicationrules>
          </assess-request>
     </s:Body>
</s:Envelope>


This is literally all you have to change to get it to work. The problem is there is not a way i know of to have the .Net proxies add the "line breaks" (if that is indeed the reason). Is there some sort of binding setting we are messing up or a configuration we have wrong?

Edited by: 956946 on Sep 4, 2012 2:32 PM
  • 1. Re: Legacy Rulebase Not Acting As Expected
    BradTuckett Pro
    Currently Being Moderated
    We have reproduced this with a different rulebase, so can confirmed this is a product bug, and will be a problem if using the 10.0 specific WSDL for OPA 10.2.0 to OPA 10.4.1. Early analysis suggests it is not the lack of new lines that is the cause of the problem, but the lack of white-space - for example, there needs to be at least one white-space character following the "</global>" tag (and possibly other entity-related tags). We intend to fix this in a future release so that no white-space is required between tags.

    Note the problem does not exist for the 10.2 or later WSDL

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points