hello all.

i'm attempting to deploy a couple of simple services via a .wsdd file and
have run into a strange problem.  for testing purposes, i successfully
deployed and called (using the included client) the example3 hello
world-type of service.

i then took that class, put it in my package, changed the class names and
what not to differentiate it from the sample, and created the deploy.wsdd
file. i then moved the required class file into the appropriate fully
package-qualified directory under the webapps directory (i'm using tomcat
btw).  then, i used the AdminClient to deploy the .wsdd file.  that
completed successfully. 

i ran my modified client to call my hello world service, and i recieve the
following exception:

java.lang.Exception: No engine configuration file - aborting!
   at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
:126) 
   at org.apache.axis.AxisEngine.init(AxisEngine.java:176) 
   at org.apache.axis.AxisEngine.<init>(AxisEngine.java:162) 
   at org.apache.axis.client.AxisClient.<init>(AxisClient.java:85) 
   at org.apache.axis.client.Service.getAxisClient(Service.java:119) 
   at org.apache.axis.client.Service.<init>(Service.java:130) 
   at com.sengent.axis.HelloClient.main(HelloClient.java:80)
java.lang.NullPointerException: Problem deploying!

what is the engine configuration file? why does it work for the included
MyService but not my HelloService (which is the same thing, but w/ different
method name and different package).

i ran the following 
java org.apache.axis.client.AdminClient list

to get a list of services, and sure enough, mine was listed as deployed.
the only real difference is that i specified the name of the method,
'hello', whereas the example3.MyService one just put the '*' instead.

thanks in advance,

-stephen

Reply via email to