RE: org.apache.axiom.om.OMException with Axis2 Client

Martin Gainty <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
you're right ..this should be handled by a profile inside pom.ml which triggers on feature property value being 'default' or 'dom'
if (feature.equals(FEATURE_DEFAULT)) {
                jarHint = "axiom-impl.jar";
            } else if (feature.equals(FEATURE_DOM)) {
                jarHint = "axiom-dom.jar";
            } else {
                jarHint = null;
            }
assuming axiom-impl-1.2.13.jar is on classpath
mv axiom-impl-1.2.13.jar axiom-impl.jar org.apache.axiom.om.OMAbstractFactory is not able to pickup version specific axiom-impl-1.2.13.jar Feliz Navidad desde EEUU,
Martin Gainty 
______________________________________________ 

por favor no altere ni interrumpir la transmisiónpor favor no altere ni interrumpir la transmisión..Gracias


 From: [email protected]
To: [email protected]
Subject: org.apache.axiom.om.OMException with Axis2 Client
Date: Fri, 21 Dec 2012 12:50:40 +0100





Sorry i didn´t change subject





Hi all:

    I´ve created an Axis2 client to retrieve info from an Axis2 Web Service, when i test it at my local Ide Netbeans it all works fine, but when i try it at Testing environment (which is a copy of Pro) it says me the following error:   

org.apache.axiom.om.OMException: No meta factory found for feature 'default'; this usually means that axiom-impl.jar is not in the classpath


  I´am pretty sure i have axiom-impl-1.2.13 on my classpath (i have tried with all axiom jars which comes with Axis2 distribution and with axiom.jar also). None of this tries works, i search on google and only what i found it´s to use axiom.jar instead o impl or api one (i have also tried this and doesn´t work)

 Could anyone help me with this feature?

 Thanks in advace 

 Kind regards and also Merry Christmas!!

 Oscar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.