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 Digby <li...@digby.net> on 2004/10/18 21:54:16 UTC
axis-ant wsdl2java mappings
Hi,
I can't understand what you're supposed to put into the axis-ant mapping
namespace to get my own package names generated for classes by the
wsdl2java task. This is what I have (using an test xmethods wdsl):
<target name="wsdl2java">
<axis-wsdl2java output="..\WEB-INF\classes"
url="http://www.xmethods.net/sd/CurrencyExchangeService.wsdl"
verbose="true">
<mapping namespace="http://www.xmethods.net/"
package="com.company.package"/>
</axis-wsdl2java>
</target>
I've tried every combination of namespace but always get the default
package names rather than com.company.package.
Can anyone help and explain what I'm supposed to use?
TIA
Digby
Re: axis-ant wsdl2java mappings
Posted by Digby <li...@digby.net>.
Got it - whatever's in the wsdl definitions/@targetNamespace, yes?
Digby wrote:
> Hi,
>
> I can't understand what you're supposed to put into the axis-ant mapping
> namespace to get my own package names generated for classes by the
> wsdl2java task. This is what I have (using an test xmethods wdsl):
>
> <target name="wsdl2java">
> <axis-wsdl2java output="..\WEB-INF\classes"
> url="http://www.xmethods.net/sd/CurrencyExchangeService.wsdl"
> verbose="true">
> <mapping namespace="http://www.xmethods.net/"
> package="com.company.package"/>
> </axis-wsdl2java>
> </target>
>
> I've tried every combination of namespace but always get the default
> package names rather than com.company.package.
>
> Can anyone help and explain what I'm supposed to use?
>
> TIA
>
> Digby
>
>