This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 187931 - Cannot create JAX-WS client for Web Logic server
Summary: Cannot create JAX-WS client for Web Logic server
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 09:16 UTC by Milan Kuchtiak
Modified: 2010-06-30 12:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2010-06-22 09:16:48 UTC
The error occurs:
taskdef class com.sun.tools.ws.ant.WsImport cannot be found

This is caused by the fact that jaxws-build.xml wsimport ant task uses the ${j2ee.platform.wsimport.classpath} property, that is not specified for WebLogic.
IDE should test the existence  of this property.
Comment 1 Milan Kuchtiak 2010-06-24 08:40:03 UTC
See the changeset:
http://hg.netbeans.org/web-main/rev/b64f572f05bf

Still, there is an issue with endorsed classpath that isn't set in Java EE 5 projects (projects with WebLogic).
Comment 2 Quality Engineering 2010-06-25 03:16:52 UTC
Integrated into 'main-golden', will be available in build *201006250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b64f572f05bf
User: mkuchtiak@netbeans.org
Log: #187931, #187932: use JAX-WS library for wsimport/wsgen if JAX-WS isn't available on server
Comment 3 Milan Kuchtiak 2010-06-30 12:47:14 UTC
The endorsed classpath doesn't need to be set, since wsimport:target attribute is set to "2.1".

So, the previous commit is satisfactory.