2 Replies Latest reply on Oct 23, 2004 5:56 PM by thomas.diesler

    Consume Webservice via an AXIS Client: ConfigurationExceptio

    adrian-o-matic

      Hi all,

      I am using JBoss 4.0.0RC1 in the "all" configuration.

      I tried to create a SOAP-Client via Axis. When I instantiate the Locator class, a get a ConfigurationException:

      org.apache.axis.ConfigurationException: No engine configuration file - aborting!

      But when I look into my deploy - directory, I find a "jboss-ws4ee.sar/META-INF" directory, which actually contains the axis-client-config.xml file.

      What is then the reason, that axis cannot find the file ?

      Adrian

        • 1. Re: Consume Webservice via an AXIS Client: ConfigurationExce
          adrian-o-matic

          Found this at sourceforge:


          Date: 2004-10-04 13:29
          Sender: tdiesler

          The axis-client-config.xml lives in $JBOSS_HOME/client/jboss-
          ws4ee-client.xml which must be on your classpath.


          But I cannot find this file in the client directory. I only use the original axis-ws4ee.jar and do not mix it with the axis.jar.

          How can this be solved then?

          Kind regards

          Adrian

          • 2. Re: Consume Webservice via an AXIS Client: ConfigurationExce
            thomas.diesler

            Adrian, are trying JBossWs on the server and standalone Axis on the client? If not, have you looked at the examples on the wiki, what a JBossWS client lookes like? It does not have a Locator.

            If you don't want to use JBossWS on the client but some other SOAP stack like Axis (which is perfectly ok because of WS interoperability) you should only have that client's jars on the classpath, so no jboss-ws4ee-client.jar.