I haven't seen much on this topic.  If it was discussed well, I must have missed it.  The one reference I found to using Axis with NetBeans was http://cropcrusher.web.infoseek.co.jp/shufujava/wserv/axisnb4_en.html which I didn't find particularly helpful -- probably because something was lost in translation. 

In the best of all possible worlds, it would be possible flawlessly to integrate Axis with any IDE.  In the real world it seems to me that the NetBeans community is ignoring Axis as a viable alternative to the Sun server and that the Axis community has little use for NetBeans.  I have been working with NetBeans 4.0 [for various reasons 4.1 is not currently an option] and Axis for about a month and have found it possible to get them to play together reasonably well but it wasn't easy.  The steps I followed were:

Setting up the Axis jars as a NetBeans Library resolves classpath issues;
Changing the default version of Ant to be the one that comes with Axis provides useful tasks;
Creating a separate axis.properties file under nbproject;
Adding task definitions to build.xml;
  <taskdef name="axis-admin"
           classname="org.apache.axis.tools.ant.axis.AdminClientTask"
           classpathref="axis.classpath" />
  <taskdef name="axis-java2wsdl"
           classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask"
           classpathref="axis.classpath"/>
<taskdef name="axis-wsdl2java"
           classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
           classpathref="axis.classpath"/>
Adding tasks to build.xml to use the task defs as needed.


I'm still undecided about whether to use the JWSDP or Axis. Having gotten Axis working, I'm not currently inclined to delve into JWSDP until I feel more comfortable with Web Services in general.








On 6/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
This question has discussed in the past,and you can travel history maillists.

Best Regards,

Robert Zhang
Email:[EMAIL PROTECTED]
Tel:86-010-62014411-2437

----- 原邮件 -----
从: Sammo <[EMAIL PROTECTED] >
日期: 星期四, 六月 23日, 2005 下午1:10
主题: Best IDE to use for Axis

> I'm currently using NetBeans 4.1 as my Java IDE, but I have no idea
> how to use it with Axis.
>
> Are there any instructions on how to do this, or should I use another
> preferred IDE to develop web services?
>




--
It used to be that machines automated work, giving us more  time to do other things. But now machines automate the  production of attention-consuming information, which takes  our time. For example, if one person sends the same e-mail  message to 10 people, then 10 people have to respond.
Esther Dyson

Reply via email to