SOAP Web Services inSOAP Web Services inNetBeansNetBeans
NiravNirav (Nero) Desai (Nero) Desai
The SetupThe Setup
Software neededSoftware needed NetBeansNetBeans IDE (6.1) IDE (6.1) JDK (1.6)JDK (1.6) Apache Axis2 (1.4)Apache Axis2 (1.4)
Implementation of SOAPImplementation of SOAPSupports SOAP 1.1, 1.2 and Supports SOAP 1.1, 1.2 and RESTfulRESTful web services web services
Tomcat web server (6.0)Tomcat web server (6.0)
Make it all work togetherMake it all work together http://www.netbeans.org/kb/61/websvc/gs-axis.htmlhttp://www.netbeans.org/kb/61/websvc/gs-axis.html
Create ServerCreate Server
New Project > Web ApplicationNew Project > Web Application New > Web ServiceNew > Web Service
Create MethodsCreate Methods
Running the ServerRunning the Server
Create the ClientCreate the Client
New Project > Java ApplicationNew Project > Java Application New > Web Service ClientNew > Web Service Client
Consuming the Web ServiceConsuming the Web Service
Drag & DropDrag & Drop
Final Client CodeFinal Client Code
Bringing it all togetherBringing it all together
…… or make it web-based or make it web-based
Questions?Questions?