- Step 1: create the maven project directory using the below command
mvn archetype:generate -DgroupId=com.pringmvc.ws -DartifactId=Spring4MVCWebService -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false - And change the web xml to web 3.0 as given below
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
</web-app> - ss
This is a good example in completing a web service project
http://amilaparanawithana.blogspot.ae/2013/10/writing-jax-ws-web-service-with-maven.html
No comments:
Post a Comment