Monthly Archives: July 2008

Build Web Service Application with Axis2

  We talked about the old fashion and how about the new one? For my understanding, the key difference from the earlier version is, Axis2 provides very convenient container to look after the web service application. With Axis2, you would … Continue reading

Posted in Web Service | Leave a comment

Email application Using JNDI with Tomcat and Unit Test

Email application Using JNDI with Tomcat and Unit Test   Using JNDI in a tomcat environment came to my job recently. It was not that bad to use it but how to do the unit test before you deploy it … Continue reading

Posted in Java Utilities | Leave a comment

An old fashion to build Axis Web Service (1)

WSDL Structure <wsdl:definitions>     <wsdl:types>            <s:schema targetNamespace="xxxxxx">                   <s:element name="bbb" type="s:ComplexType"/> <s:element name="bbbResponse" type="s:ComplexType "/>            </s:schema>     </wsdl:types> <wsdl:message name=" bbbSoapIn "> <wsdl:part name="parameter" element="tns:bbb"/> </wsdl:message> <wsdl:message name=" bbbSoapOut "> <wsdl:part name="parameter" element="tns:bbbResponse"/> </wsdl:message>     <wsdl:portType name="xxxPortType">            … Continue reading

Posted in Web Service | Leave a comment

An old fashion to build Axis Web Service (2)

Maven plug-in for WSDL2Java <project>     <parent>            <groupId>Hongliang.Manven.FirstHibernate.wsdl</groupId>            <artifactId>wsdl</artifactId>            <version>1.0-SNAPSHOT</version>     </parent>     <modelVersion>4.0.0</modelVersion>     <groupId>Hongliang.Manven.FirstHibernate.wsdl</groupId>     <artifactId>hibernate_server</artifactId>     <name>hibernate_server</name>     <version>1.0-SNAPSHOT</version>     <build>              <plugins>                   <plugin>                         <groupId>org.codehaus.mojo</groupId>                         <artifactId>axistools-maven-plugin</artifactId>                         <executions>                                <execution>                                       <goals> … Continue reading

Posted in Web Service | Leave a comment