Artículo
Fecha: 2010-03-02 10:39:10
Generate stubs for an axis web service client using an ant task
How to generate stubs for an axis web service client using an ant task: 1.- Defines classpath with the axis lib for ant: <path id="axis.classpath"> <fileset dir="lib"> <include name="**/*.jar" /> </fileset> </path> 2.- Definition of the task: <taskdef resource="axis-tasks.properties" classpathref="axis.classpath" /> 3.- Task which generates stubs: <target name="gen_stubs"> <axis-wsdl2java output="src" testcase="true" verbose="true" url="http://www.company.com/services/wsdl/hello.wsdl" > <mapping namespace="urn:Hello" package="com.company.HelloService" /> </axis-wsdl2java> </target> |
Autor:Jose Miguel Bataller
Buscador
Últimas entradas
Preseleccionar un option de un element select html con jQuery »
Testing for Empty elements in XSL »
Java Keytool Commands for Managing security certificates »
Execute servlet filter before calling Axis web service »
Set trustStore for SSL connection in Java »
Example of a client-wsdd.config »
Convert Axis Java Object to XML »