I have a Spring MVC WebApp and it is working perfectly, now i want it to have a soap WebService server.
I tried adding a new class of type Web Service (runtime apache axis2). this is the content:
public class Emails {
public String Hello (String name){
return "Hello Email: " + name;
}
}
It successfully generates the wsdl! i can access it and all but when i try to get a response out of it, it gives me the following error: HTTP Status 405 - Request method 'POST' not supported
I am suposing this is a problem on my configurations maybe. When i create a project from scratch and its a dynamic web project instead of a spring mvc it works fine.
Any advice?
from Newest questions tagged java - Stack Overflow http://ift.tt/1KV6cDE
via IFTTT
Aucun commentaire:
Enregistrer un commentaire