<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Consuming web services with Axis2 using Eclipse wizard in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/consuming-web-services-with-axis2-using-eclipse-wizard/m-p/238011#M191141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your Alfresco-based application needs to access an external web service, chances are you will use Eclipse's Axis2 client wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this wizard to work, it is recommended to use Axis2 version 1.4.1, which relies on Axiom 1.2.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT Alfresco ships with Axiom 1.2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And that generates classpath problems: NoClassDefFoundError, NoSuchMethod.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is how I solved the problem, please let me know if you know a better solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Remove axiom-impl-1.2.5.jar and axiom-api-1.2.5.jar from the Alfresco webapp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Copy all JARs from client-eclipse-project/WebContent/WEB-INF/lib to Alfresco/tomcat/webapps/alfresco/WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicolas Raoul&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Keywords:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NoSuchMethodError: org.apache.axiom.soap.SOAPEnvelope.hasFault()Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NullPointerException in induced by a previous NoClassDefFoundError and execution jumps to the finally clause: _messageContext.getTransportOut().getSender().cleanup(_messageContext)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Apr 2010 08:18:04 GMT</pubDate>
    <dc:creator>nicolasraoul</dc:creator>
    <dc:date>2010-04-07T08:18:04Z</dc:date>
    <item>
      <title>Consuming web services with Axis2 using Eclipse wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/consuming-web-services-with-axis2-using-eclipse-wizard/m-p/238011#M191141</link>
      <description>If your Alfresco-based application needs to access an external web service, chances are you will use Eclipse's Axis2 client wizard.For this wizard to work, it is recommended to use Axis2 version 1.4.1, which relies on Axiom 1.2.7BUT Alfresco ships with Axiom 1.2.5And that generates classpath problem</description>
      <pubDate>Wed, 07 Apr 2010 08:18:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/consuming-web-services-with-axis2-using-eclipse-wizard/m-p/238011#M191141</guid>
      <dc:creator>nicolasraoul</dc:creator>
      <dc:date>2010-04-07T08:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Consuming web services with Axis2 using Eclipse wizard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/consuming-web-services-with-axis2-using-eclipse-wizard/m-p/238012#M191142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nicolas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your contribution&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:24:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/consuming-web-services-with-axis2-using-eclipse-wizard/m-p/238012#M191142</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-04-14T14:24:35Z</dc:date>
    </item>
  </channel>
</rss>

