Decision Management (ODM,ADS)

 View Only
Expand all | Collapse all

Issue in integration code migration from 7.5 version IBM WODM to 8.11.1 IBM ODM.

  • 1.  Issue in integration code migration from 7.5 version IBM WODM to 8.11.1 IBM ODM.

    Posted Tue July 30, 2024 07:47 AM

    Activity performing: Migration from IBM WODM 7.5 to IBM ODM 8.11.1

    Issue description:

    For 7.5 IBM WODM version, below is the Integration javacode snippet.

    private IlrPOJOSessionFactory jrulesSessionFactory  = new IlrPOJOSessionFactory();
    jrulesSessionFactory.setXuConnectionFactoryJndiName("eis/XUConnectionFactory");
    IlrStatelessSession session = jrulesSessionFactory.createStatelessSession();
    IlrPath rulesetPath = IlrPath.parsePath(getRulesetPath(rulesetName));
    IlrSessionRequest request = jrulesSessionFactory.createRequest();
    request.setRulesetPath(rulesetPath);
    request.setTraceEnabled(true);


    For making above code compatible with 8.11.1 version of ODM, referred IBM ODM Knowledge center docs and moved only "jrulesSessionFactory.setXuConnectionFactoryJndiName("eis/XUConnectionFactory");" from java code to web.xml.

    below is the web.xml details:

    <resource-ref>
           <res-ref-name>eis/XUConnectionFactory</res-ref-name>
           <res-type>javax.resource.cci.ConnectionFactory</res-type>
           <res-auth>Application</res-auth>
           <res-sharing-scope>Unshareable</res-sharing-scope>
    </resource-ref>

    rest of the code remains in java code.

    Built above java code along with web.xml and deployed in WAS9 server. while doing SOAP UI testing getting error in SOAP response.

    Below is the SOAP response.

    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
       <S:Body>
          <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
             <faultcode>S:VersionMismatch</faultcode>
             <faultstring>Couldn't create SOAP message. Expecting Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/, but got  http://www.w3.org/2003/05/soap-envelope/</faultstring>
          </S:Fault>
       </S:Body>
    </S:Envelope>

    kindly assist.



    ------------------------------
    Santosh NarendraDas
    ------------------------------


  • 2.  RE: Issue in integration code migration from 7.5 version IBM WODM to 8.11.1 IBM ODM.

    Posted Wed July 31, 2024 05:22 AM

    Hello Santosh,

    I would recommend that you open a support ticket for this, as it may require some investigation.

    Regards, 



    ------------------------------
    Antony Viaud
    Product Manager, IBM Decision Automation
    ------------------------------



  • 3.  RE: Issue in integration code migration from 7.5 version IBM WODM to 8.11.1 IBM ODM.

    Posted Thu August 01, 2024 03:12 AM

    Thanks for your response Antony



    ------------------------------
    Santosh NarendraDas
    ------------------------------