Skip to main content

Posts

Showing posts from May, 2016

Axis 2 WSDL to Java Approach

Axis 2 Tomcat Setup Download Axis 2 war distribution from http://axis.apache.org/axis2/java/core/download.cgi Now install it to Tomcat by copying the axis2.war file to webapps directory of tomcat installation. Axis2 folder should be created automatically if tomcat is up and running. We can conclude this part if http://localhost:8080/axis2 is ok. Validate link in the page shouldn't show any errors. Implementation create simple maven project in eclipse using create simple project option in the first window. name myHelloService2 Use following as the wsdl for our web service <definitions name="HelloService"    targetNamespace="http://www.examples.com/wsdl/HelloService.wsdl"    xmlns="http://schemas.xmlsoap.org/wsdl/"    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"    xmlns:tns="http://www.examples.com/wsdl/HelloService.wsdl"    xmlns:xsd="http://www.w3.org/2001/XMLSchema">    <message name="Sa