Search code examples
javaapacheapache-axis

Apache Axis ConfigurationException


I am using Apache Axis to connect my Java app to a web server. I used wsdl2java to create the stubs for me, but when I try to use the stubs, I get the following exception:

org.apache.axis.ConfigurationException: No service named `<web service name>` is available

What is happening?


Solution

  • Just a guess, but it looks like that error message is reporting that you've left the service name blank. I imagine the code that generates that error message looks like this:

    throw new ConfigurationException("No service named" + serviceName + " is available");