Quantcast
Channel: User Kunal - Stack Overflow
Viewing all articles
Browse latest Browse all 34

How to add WebServices Server to SpringMVC?

$
0
0

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?


Viewing all articles
Browse latest Browse all 34

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>