logo       

Re: axis ant task in netbeans: msg#00601

Subject: Re: axis ant task in netbeans
Gene:
you are very close.... it all has to do with classpaths and the stuff. Here's
what I did  in my build.xml.   I had axis installed at /usr/local/axis

<path id="axis.classpath">
                  <fileset dir="/usr/local/axis/lib/">
                    <include name="**/*.jar" />
                  </fileset>
</path>
<taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />

This is including every jar in the axis subdirectory which is overkill, but
not bad that I know of except for efficiency reasons.  I suspect you could
provide a more explicit include and make stuff run a bit faster.

Hope that helps.

-C-

I'm relatively new to Web services, ANT and NetBeans (although an old hat to J2EE, make and vi), so I figure I learn all 3 simultaneously for my prototype project.

I can run java2wsdI manually from the commandline, but I cannot get the java2wsdl ant task to run properly under netbeans. This is what I've done:

1)  put axis-ant.jar in NETBEANS_HOME/lib
2)  added the following entry to build.xml:
 <target description="java2wsdl">
   <axis-java2wsdl classname="${my_service}" location="${my_url}"/>
 </target>

When I build this target, I get "Could not create task or type of type: axis-java2wsdl". So next I tried adding the following

3) added at beginning of build.xml:
<taskdef name="axis-java2wsdl" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"/>

Now I get "taskdef class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found". Help! Am I placing axis-ant.jar in the wrong place? Or is my build.xml syntax horribly wrong? Thanks!

Gene






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe