1.Install the last Tomcat server change the credentials in the tomcat-users.xml file to :
<tomcat-users><role rolename="manager"/><role rolename="manager-gui"/><role rolename="manager-script"/><role rolename="manager-jmx"/><role rolename="manager-status"/><role rolename="admin-gui"/><role rolename="admin-script"/><user username="admin" password="admin" roles="admin ,manager ,manager-gui, manager-script, manager-jmx, manager-status, admin-gui, admin-script"/></tomcat-users>
2.Add in the maven configuration file (H:\Program Files\NetBeans 8.0\java\maven\conf\settings.xml) in the servers section the following xml
<server><id>TomcatServer</id><username>admin</username><password>admin</password></server>
3.Change in the pom file the name of the server to :
<server>TomcatServer</server>
4.Run the tomcat server
5.Execute the tomcat:: deploy goal
(After the first deployment we can use the "tomcat:undeploy", "tomcat:redeploy" goals )
6.Check that the deployment succeeded in the http://localhost:8080/manager
7.Lets Test is with SoapUI
Note : the Wsdl location is :
http://localhost:8080/camel-example-cxf-tomcat/webservices/incident?wsdl
אין תגובות:
הוסף רשומת תגובה