Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Ant wsdl2java namespacemappingfile attribute doesn't work

Thread view: 
DaveJ - 21 May 2007 14:57 GMT
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.  The
wsdl files are compiled to java files, but the default package name is
still being used, instead of the one specified in my mapping file.

If I execute WSDL2Java from the command line and supply the mapping
file the java files are compiled into the correct package.

My mapping file looks like this:
http://mobile.device.com/device=com.device.mobile.api

And 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?
Tor Iver Wilhelmsen - 22 May 2007 22:29 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.