You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Bret Kumler <bk...@goldengate.com> on 2006/07/19 22:12:21 UTC
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.
Re: question
Posted by Martin Gainty <mg...@hotmail.com>.
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 -----
From: Bret Kumler
To: axis-user@ws.apache.org
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.
Re: question
Posted by Christian Kloner <kl...@par.univie.ac.at>.
hi Bret,
I am using globus4 (axis 1.2) and Axis2 with my dynamic invocation API
so i am not sure if it this is working but is there the attribute
"mapping-file" where you can specify the namespace to package mapping
like below?
"NStoPkg.mappings" file (<codegen mapping-file="NStoPkg.mappings" ...):
http\://aurigafactory.gridminer.org=org.gridminer.auriga.gt4.stubs.factory
http\://aurigafactory.gridminer.org/bindings=org.gridminer.auriga.gt4.stubs.factory.bindings
http\://aurigafactory.gridminer.org/service=org.gridminer.auriga.gt4.stubs.factory.service
http\://aurigatypes.gridminer.org=org.gridminer.auriga.gt4.stubs.types
regards,
chris
Bret Kumler wrote:
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org