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

Summary: Cannot create JAX-WS client for Web Logic server
Product: webservices Reporter: Milan Kuchtiak <mkuchtiak>
Component: JAX-WSAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED FIXED    
Severity: normal CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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.