I have a problem running the example “pojoguidespring” from Axis2.
I am running an Ubuntu 20.04 machine with Apache Tomcat 9.0.35 Server and the Axis2 1.7.9 container.
What I have done so far:
At first, I have tried to run the example “pojoguide” which is located in $AXIS2_HOME/samples/pojoguide.
I have built it with ant, load the resulting WeatherService.aar via the Axis2 administrator panel, run the client on console with ant rpc.client and get the expecting result. (some weather data)
Now I want to do the same on the “pojoguidespring” example. At first, I have built it with ant. First problem here is, that the download links in the build.xml for getting some *.jar files are not reachable. So I searched for the files on the internet and insert new links. Now I can build the service and I get the WeatherSpringService.aar. After I load it via Axis2 administrator panel, the service list says that the service is faulty. Therefore, I can’t run the client via the console. The error message here is:
Exception in thread “main” org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:8080/axis2/services/WeatherSpringService
The files which are needed to build the pojoguidespring:
and where I get these from:
So, how I can get the example to run?