I created a dynamic web project to create a Axis2 Web Server Service,
Target runtime env is apache tomcat 9
Modify to configuration, i selected Axis2 Web Services.
Then i download the Axis2 Binary distribution from the apache web page. Then i go to the window->preferences->Web Services ->Axis2 Preferences . Later I browse the Axis2 runtime location my downloaded Axis2 Binary distribution.
Later, I created a class like below on my project
public class HelloWS {
public String hello(String name)
{
return "Hello "+name;
}
public int toplam(int a, int b)
{
return a+b;
}
}
Then i create a web servis, then select the axis2 and tom cat. Then next->next->finish.
But whenever run the application, it gets this result
javax.servlet.ServletException: File [/WEB-INF/include/httpbase.jsp] not found
Some web page says that attach the Axis2 WAR distribution to solve it, but i dont know how can i do this?
Aucun commentaire:
Enregistrer un commentaire