Saturday, January 23, 2016

Web Service learning curve 2016

This will guide you in creating a web project from the scratch
  1. 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
  2. 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>



  3. 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