Client can?t connect to webservice
semundseth May 31, 2005 9:41 AMHi all,
I have developed and deployed a webservice on JBoss (jboss-4.0.0).
My problem is referred to calling a webservice by a client (just like the JBoss wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerEJB at the bottom).
When I try to run the client I get this error:
Exception in thread "main" org.apache.axis.InternalException: org.apache.axis.ConfigurationException: org.apache.axis.ConfigurationException: No engine configuration file - aborting! org.apache.axis.ConfigurationException: No engine configuration file - aborting! at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:224) at org.apache.axis.AxisEngine.init(AxisEngine.java:199) at org.apache.axis.AxisEngine.<init>(AxisEngine.java:181) at org.apache.axis.client.AxisClient.<init>(AxisClient.java:90) at org.apache.axis.client.Service.getAxisClient(Service.java:374) at org.apache.axis.client.Service.<init>(Service.java:184) at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:256) at dk.itu.carrental.ejb.client.CustomerWSClient.main(CustomerWSClient.java:19) ...
In order to solve this problem I have tried to place the axis-client-config.xml file from under jboss/server/default/deploy/jboss-ws4ee.sar/META-INF and placed it under the directory from which my client is run under. I have also tried to rename the file axis-client-config.xml to client-config.wsdd without any luck.
May this be a classpath problem? My classpath looks like this:
%JAVA_HOME%/lib/tools.jar; %JAVA_HOME%/bin; %JBOSS_HOME%/server/default/deploy/jboss-ws4ee.sar/axis-ws4ee.jar; %JBOSS_HOME%/client/jboss-jaxrpc.jar; %JBOSS_HOME%/client/jboss-saaj.jar; %JBOSS_HOME%/client/axis-ws4ee.jar; %JBOSS_HOME%/client/jboss-common-client.jar; %JBOSS_HOME%/client/commons-discovery.jar; %JBOSS_HOME%/client/commons-logging.jar; %JBOSS_HOME%/client/wsdl4j.jar; %JWSDP-HOME%/lib/jaxrpc-api.jar; %JWSDP-HOME%/lib/jaxrpc-spi.jar; %JWSDP-HOME%/lib/jaxrpc-impl.jar; %JWSDP-HOME%/lib/jax-qname.jar; %JWSDP-HOME%/lib/activation.jar; %JWSDP-HOME%/lib/mail.jar;
I am running JBoss version: jboss-4.0.0
My webservice is deployed with no problems.
I would be really thankful if anyone could help me out with this problem. Since I feel really stuck at the moment?.