2 Replies Latest reply on Jul 6, 2005 2:16 PM by Anil Saldanha

    JBossWS Client complains of  log4j No engine configuration f

    Herbert Ramos Newbie

      After several hours figuring out what jar files to include in my JBossWS client and other issues related to insufficient and outdated documentation on JBoss 4.0.2 Web Services, I run my stand-alone client application
      and it throws an exception:

      log4j:WARN Please initialize the log4j system properly.
      org.jboss.axis.InternalException: org.jboss.axis.ConfigurationException: org.jboss.axis.ConfigurationException: No engine configuration file - aborting!

      I'm not sure what this is and if I have even included the proper jars.

      code snippet:

      import java.net.MalformedURLException;
      import java.net.URL;

      import javax.xml.namespace.QName;
      import javax.xml.rpc.Call;
      import javax.xml.rpc.Service;
      import javax.xml.rpc.ServiceFactory;

      import java.net.URL;

      URL wsURL = new URL "http://www.webservicex.net/globalweather.asmx");

      String ns = "http://www.webserviceX.NET";
      QName qname = new QName(ns, "GetInfoByZIP");
      QName port = new QName(ns, "USZipSoap");
      QName operation = new QName(ns, "GetInfoByZIP");

      ServiceFactory factory = ServiceFactory.newInstance();
      Service service = factory.createService(wsURL, qname);


      Any suggestions?