axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmostt...@bco.com
Subject RE: Java2WSDL ant task not keeping method param names
Date Fri, 08 Oct 2004 15:47:28 GMT
To have java2wsdl use the method parameter names you need to supply the
implementation class.  It reads the param names from the implementation.
 
marcus

-----Original Message-----
From: Curt P. Stanton [mailto:Curt_P_Stanton@raytheon.com] 
Sent: Friday, October 08, 2004 7:47 AM
To: AxisList
Subject: Java2WSDL ant task not keeping method param names



I am using ant 1.6.1 in eclipse 3.0

 

Here is the task I am running

 

I have tried this with axis 1.1 and 1.2alpha

It seems that no matter what I try, I cannot get the method names to be
supplied.  

I am not sure if it is no storing the debug info properly when compiling or
if the java2wsdl task isn't reading it properly.

 

Any help would be greatly appreciated.

 

Thanks in advance,

Curt Stanton

 

   <target name="compile" depends="init" description="compile the source ">

      <!-- Compile the java code from ${src} into ${build} -->

      <javac srcdir="${src}" destdir="${build}" target="1.4" debug="true" />

   </target>

 

   <target name="all" depends="compile" description="generate the wsdl">

      <!-- Create the distribution directory -->

      <mkdir dir="${dist}" />

      <path id="axis.classpath">

         <fileset dir="${axis.home}/lib">

            <include name="**/*.jar" />

         </fileset>

      </path>

 

      <taskdef resource="axis-tasks.properties"
classpathref="axis.classpath" />

 

      <axis-java2wsdl classname="${package}.${classname}"

                      location="${location}"

                      namespace="${namespace}"

                      output="${dist}/${outputfile}"

                      style="wrapped"

                               use="literal">

         <mapping namespace="${namespace}" package="${package}" />

         <classpath>

            <pathelement path="${build}" />

         </classpath>

      </axis-java2wsdl>

   </target>


Mime
View raw message