Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 90381 - JBoss and Creating Web Services from WSDL
JBoss and Creating Web Services from WSDL
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: JBoss
All All
: P2 (vote)
Assigned To: Petr Hejl
: 87640 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-11-30 18:36 UTC by jcampbell
Modified: 2008-10-28 23:08 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description jcampbell 2006-11-30 18:36:50 UTC
If you have JBoss as your application server (with EJB 3.0 support installed
into JBoss.... which then allows JBoss to be treated as a Java EE 5 server), and
you try to create a Web Services from an existing WSDL then you get the
following error when I build:

C:\dev\projects\intuit\jboss\labs\WS\nbproject\build-impl.xml:235: taskdef class cannot be found

As I open the build-impl.xml file I find that the error is from the following task:

    <target name="wsimport-init" depends="init">
        <mkdir dir="${build.generated.dir}/wsimport/service"/>
        <mkdir dir="${classes.dir}"/>
        <taskdef name="wsimport" classname="">
            <classpath path="${j2ee.platform.wsimport.classpath}"/>

I'm assuming this is bad is because I am NOT using Sun Application Server so
j2ee.platform.wsimport.classpath does NOT get added into my
file.  (It gets added if I change my app server from JBoss to Sun Application

Work around (which is bad):
manually paste in the following line into my file


If I do this then everything seems to work fine (at least till my file gets overwritten...)

Steps to Reproduce:
java 1.5.0_09
netbeans 5.5
jboss 2.0.4 with EJB 3.0 installed
1. (From Netbeans) Create a new EJB Module.
2. Select JBoss as the application server and Java EE 5 as the EE version (you
will only be able to select EE 5 if JBoss has EJB 3.0 installed)
3. Create New "Web Service from WSDL..."
4. Select an existing wsdl file and hit finish
5. Netbeans will try to build the the files using wstools (which then causes the
Comment 1 Milan Kuchtiak 2007-02-23 16:22:19 UTC
JBoss probably doesn't implement :
Comment 2 Sherold Dev 2007-06-27 14:49:14 UTC
The issue is still reproducible.
Comment 3 Lukas Jungmann 2007-07-18 19:24:51 UTC
This sounds more like a RFE then a bug - setting J2eePlatform.TOOL_WSIMPORT property won't fix this, IMHO, since JBoss
uses different tools and a bit different approach for consuming web services then the one currently supported by the
IDE..., see
Comment 4 Lukas Jungmann 2007-07-18 19:25:27 UTC
*** Issue 87640 has been marked as a duplicate of this issue. ***
Comment 5 Sherold Dev 2007-08-02 14:00:53 UTC
The problem is that the JBoss plugin does not support web services, marking this issue as enhancement.

The wizard should not let the user create the WS, unless the server supports it. I filed a separate issue 111739 for it.
Comment 6 Vince Kraemer 2007-12-07 16:20:04 UTC
please close this issue if you forgot to earlier.  If this issue is still open,
please change the target milestone to reflect the current commitment.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo