Ant wsdl2java namespacemappingfile attribute doesn't work

  • Follow


Hi,I'm trynig to execute axis-wsdl2java as a target in my ant makefile.The problem is the mapping file attribute doesn't seem to work.  Thewsdl files are compiled to java files, but the default package name isstill being used, instead of the one specified in my mapping file.If I execute WSDL2Java from the command line and supply the mappingfile the java files are compiled into the correct package.My mapping file looks like this:http://mobile.device.com/device=com.device.mobile.apiAnd the target looks like this:     <axis-wsdl2java output="${build}/wsdl" all="true"namespacemappingfile="/tmp/mapping.file" url="third-party/wsdl/Device.wsdl">        </axis-wsdl2java>Any ideas?
0
Reply davej2000 (21) 5/21/2007 1:57:42 PM

På Mon, 21 May 2007 15:57:42 +0200, skrev DaveJ <davej2000@gmail.com>:> Any ideas?Yes, drop Axis like a rotten piece of fruit and use XFire instead.
0
Reply Tor 5/22/2007 9:29:15 PM


1 Replies
370 Views

(page loaded in 0.097 seconds)

Similiar Articles:





7/25/2012 10:15:26 PM


Reply: