Good Afternoon Bret
I Searched high and low for an example that would help you and this is what I found thus far
 
<!-- Setup the task to invoke AntCodegenTask -->
   <target name="axis-init">
     <taskdef name="codegen"
              classname="org.apache.axis2.tool.ant.AntCodegenTask"
              classpath="${axis.dist.classpath}"/>
   </target>

<!-- Call the codegen task -->
   <target name="wsdl2java" depends="axis-init">
     <codegen wsdlfilename="my.wsdl"
              language="java"                           /*new*/
              synconly="true"                           /*new*/
              serverside="true"
              generateservicexml="true">         /*new*/
     </codegen>
   </target>
 
<!-- MIA parameters: output, packagename, testcase and unpackClasses -->
<!-- so this version is almost 180 degrees from the version you are using -->
Which version of org.apache.axis2.tool.ant.AntCodegenTask are you using ???
my version comes with Ant 1.6.3 distro..

Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message -----
Sent: Wednesday, July 19, 2006 4:12 PM
Subject: question

New to axis 2.

 

In my ant script I have the following:

 

<codegen wsdlfilename="${wsdl.dir}/test.wsdl"

               output="${generated_client_src.dir}"

               serverside="false"

               packagename="com.test.client"

               testcase="true"

               unpackClasses="true"/>

 

I noticed the generated package name is now this, “com.test.www.client.” and “com.test.client.” how do I remove the unwanted www?

 

Regards

 

Bret


This e-mail message and any attachments may contain private, confidential, proprietary or privileged material of GoldenGate Software, Inc. that is for the sole use of the intended recipient(s) of this e-mail message. Any review, copying or distribution or other use of this e-mail message or any attachments hereto by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient(s) of this e-mail message, please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the original e-mail message and any copies of this e-mail message and all attachments, if any.

Reply via email to