<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>DXP 7.2 || OSGI Always Importing from jar file in ROOT/WEB-INF/lib</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121651389" />
  <subtitle>DXP 7.2 || OSGI Always Importing from jar file in ROOT/WEB-INF/lib</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121651389</id>
  <updated>2026-04-07T14:56:06Z</updated>
  <dc:date>2026-04-07T14:56:06Z</dc:date>
  <entry>
    <title>RE: DXP 7.2 || OSGI Always Importing from jar file in ROOT/WEB-INF/lib</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121660134" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121660134</id>
    <updated>2023-03-01T19:24:28Z</updated>
    <published>2023-03-01T18:25:44Z</published>
    <summary type="html">&lt;p&gt;If it is Service Builder-generated or other Liferay code it will
  never use your SOAP calls.&lt;/p&gt;
&lt;p&gt;You can leverage SOAP to do your own client calls or service
  implementation, but Liferay's not going to do that for you.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2023-03-01T18:25:44Z</dc:date>
  </entry>
  <entry>
    <title>DXP 7.2 || OSGI Always Importing from jar file in ROOT/WEB-INF/lib</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121651388" />
    <author>
      <name>Ishaan Arora</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121651388</id>
    <updated>2023-02-14T18:08:39Z</updated>
    <published>2023-02-14T11:09:29Z</published>
    <summary type="html">&lt;p&gt;In one of my recent projects on DXP 7.2, I was upgrading from
  javax.xml to jakarta.xml. In order to upgrade my Soap calls I
  imported jakarta.xml.soap-api version 2.0.1 as API and
  provided saaj-impl version 2.0.1 as its implementation. &lt;/p&gt;
&lt;p&gt;I added both these dependencies as compileInclude. When I was
  creating a MessageFactory it was always referring
  to com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl inside
  saaj-impl that was present in web-inf/lib instead of referring to the
  one provided with the bundle.&lt;/p&gt;
&lt;p&gt;I tried all the approaches specified here
  https://help.liferay.com/hc/en-us/articles/360028710272-Resolving-Third-Party-Library-Package-Dependencies
  without any solution. I have also taken a hint
  from https://liferay.dev/ask/questions/development/conflicting-libraries-3
  as well.&lt;/p&gt;
&lt;p&gt;Can anyone help me, where am  I going wrong?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ishaan&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Ishaan Arora</dc:creator>
    <dc:date>2023-02-14T11:09:29Z</dc:date>
  </entry>
</feed>
