Questions Tagged With webservicehttps://answers.axonivy.com/tags/webservice/?type=rss&user=Alex%20Suterquestions tagged <span class="tag">webservice</span>enThu, 12 Mar 2020 01:45:20 -0400AXIS web service client calls LinkageError with Policyhttps://answers.axonivy.com/questions/4451/axis-web-service-client-calls-linkageerror-with-policy<p>Since Axon.ivy 8.0 you may have problems with AXIS web service client calls, which you will notice in the log as follows:</p> <pre><code>LinkageError: loader constraint violation: loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4797c3e2 wants to load class org.apache.neethi.Policy. A different class with the same name was previously loaded by org.eclipse.osgi.internal.loader.EquinoxClassLoader @59b5251d. (org.apache.neethi.Policy is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @59b5251d, parent loader 'platform') </code></pre> <p>This problem occurs in combination with web service policies. To fix this issue, you need to migrate to the CXF Web Service Client technology - the AXIS stack is deprecated.</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/1583991754-603005-image.png"></p> <p>We have invested heavily in the new CXF technology in the Web Service Call Stack . If you have any problems with CXF, please contact us. We will take our time and make the CXF stack even better 💪!</p>Alex SuterThu, 12 Mar 2020 01:45:20 -0400https://answers.axonivy.com/questions/4451/axis-web-service-client-calls-linkageerror-with-policywebservicecxfaxisCXF Web Service Client improvements in 8.0.3https://answers.axonivy.com/questions/4445/cxf-web-service-client-improvements-in-8-0-3<p>By default CXF Web Service Calls runs by default with <code>HttpUrlConnection</code> of Java. <code>HttpUrlConnection</code> is limited when it comes to authenticate against a NTML web service.</p> <p>CXF provides the ability to change the implementation of the connection itself to <code>org.apache.http.nio.client.HttpAsyncClient</code>. Besides the full support of NTML it also provides better performance. Due that fact we changed the default connection to <code>HttpAsyncClient</code> of CXF Web Service Calls.</p> <p>There are no known compatibility issues between these to implementations. If you face one, please contact us. And you are always still able to fallback by setting the <code>use.async.http.conduit</code> to <code>false</code> on the Web Service Client.</p>Alex SuterThu, 05 Mar 2020 02:33:11 -0500https://answers.axonivy.com/questions/4445/cxf-web-service-client-improvements-in-8-0-3webservicecxfHow to use WS-Addressing in a webservice call?https://answers.axonivy.com/questions/3106/how-to-use-ws-addressing-in-a-webservice-call<p>I need to use web service standard WS-Addressing to call a web service. How can I use it?</p>Alex SuterWed, 21 Feb 2018 10:36:38 -0500https://answers.axonivy.com/questions/3106/how-to-use-ws-addressing-in-a-webservice-callwebservicecxfsoap