Monday, October 6, 2014

Create web service project(Implementation as server)



1. First need to create dynamic web project  [You can finish the project after  get bellow screen] also Add the Axis2 facet. Right-click your project and click Properties > Project Facets > Modify project > Axis2 Web Services

 


2. Then, We need to create wsdl file for sample scenario[say sample wsdl file name MyFirst.wsdl file]

 



3. Right click on MyFirst.wsdl to create stub, Need to add web server runtime (Jboss/tomcat..etc) and web service runtime(Axis2) .
 

Select Finish.
Generated Skelton class is used for to future modification [to add custom logic for custom methods in wsdl] for released API (It can be survived as Server).
It Will be deployed in attached server[In this case server is  Tomcat]..


 
This site providing you to JAVA Language easy way. I think if you are beginner to JAVA refer this to implements you knowledge using only with very simplest codes.