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/">" href="http://schemas.xmlsoap.org/soap/envelope/%22>" rel="noreferrer noopener" target="_blank" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="http://schemas.xmlsoap.org/soap/envelope/%22%3e">http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">" href="http://www.w3.org/2003/05/soap-envelope%22>" rel="noreferrer noopener" target="_blank" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="http://www.w3.org/2003/05/soap-envelope%22%3e">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/" href="http://schemas.xmlsoap.org/soap/envelope/" rel="noreferrer noopener" target="_blank" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/, but got http://www.w3.org/2003/05/soap-envelope/</faultstring>" href="http://www.w3.org/2003/05/soap-envelope/</faultstring>" rel="noreferrer noopener" target="_blank" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="http://www.w3.org/2003/05/soap-envelope/%3c/faultstring%3e">http://www.w3.org/2003/05/soap-envelope/</faultstring>
</S:Fault>
</S:Body>
</S:Envelope>
kindly assist.
------------------------------
Santosh NarendraDas
------------------------------