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 70021 - Exception adding WebService
Summary: Exception adding WebService
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 14:37 UTC by niall2
Modified: 2006-09-28 12:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (100.79 KB, text/plain)
2005-12-07 14:39 UTC, niall2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niall2 2005-12-07 14:37:28 UTC
When I click add in the Add Web Service dialog (after the WSDL has been parsed
and is ready to be added) I get the following exception

*********** Exception occurred ************ at 9:24 AM on Dec 7, 2005
java.lang.NoClassDefFoundError: javax/activation/DataSource
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.class$(StandardSOAPTypeM
appings.java:138)
        at
com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.<init>(StandardSOAPTypeM
appings.java:910)
        at
com.sun.xml.rpc.encoding.StandardTypeMappings.getSoap(StandardTypeMappings.java
:32)
        at
com.sun.xml.rpc.client.BasicService.createSoapMappings(BasicService.java:230)
        at
com.sun.xml.rpc.client.BasicService.createStandardTypeMappingRegistry(BasicServ
ice.java:202)
        at
com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.writeGetRegistr
y(SerializerRegistryGenerator.java:468)
        at
com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.generateSeriali
zerRegistry(SerializerRegistryGenerator.java:347)
        at
com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.postVisitServic
e(SerializerRegistryGenerator.java:159)
        at
com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:221)
        at com.sun.xml.rpc.processor.model.Service.accept(Service.java:102)
        at
com.sun.xml.rpc.processor.generator.GeneratorBase.visitModel(GeneratorBase.java
:211)
        at
com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:199)
        at com.sun.xml.rpc.processor.model.Model.accept(Model.java:139)
        at
com.sun.xml.rpc.processor.generator.GeneratorBase.doGeneration(GeneratorBase.ja
va:188)
        at
com.sun.xml.rpc.processor.generator.GeneratorBase.perform(GeneratorBase.java:13
3)
        at com.sun.xml.rpc.processor.Processor.runActions(Processor.java:88)
        at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:739)
        at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
        at
org.netbeans.modules.websvc.registry.jaxrpc.Wsdl2Java.execute(Wsdl2Java.java:19
9)
        at org.netbeans.modules.websvc.registry.util.Util.createWSJar(Util.java:465)
        at
org.netbeans.modules.websvc.registry.ui.AddWebServiceDlg.compileWebService(AddW
ebServiceDlg.java:1023)
        at
org.netbeans.modules.websvc.registry.ui.AddWebServiceDlg.addWebServices(AddWebS
erviceDlg.java:933)
        at
org.netbeans.modules.websvc.registry.ui.AddWebServiceDlg.access$800(AddWebServi
ceDlg.java:108)
        at
org.netbeans.modules.websvc.registry.ui.AddWebServiceDlg$8.run(AddWebServiceDlg
.java:877)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:18
4)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

This is java 1.4.2 under OS X 10.3 (Panther).  This is for the HiWS in the how
to get started pages.
Comment 1 niall2 2005-12-07 14:39:20 UTC
Created attachment 27630 [details]
messages.log
Comment 2 Lukas Jungmann 2005-12-07 14:53:07 UTC
Could I ask you to provide URL of webservice you're trying to add to the
registry? Or add least attach the wsdl to this issue, please.
Comment 3 Milan Kuchtiak 2005-12-08 15:39:19 UTC
It seams that javax.activation.DataSource is not on classpath.
I noticed that you are working with jdk1.4 and you have the module "JAX-RPC 1.6
XML" installed. (It's correct beacuse the module is required for JDK1.4).

It would be good to test the WSDL with JDK1.5 as well. 
And, please, attach the url for that WSDL. 
Comment 4 Jaroslav Pospisil 2006-03-13 13:40:01 UTC
TM 5.0->TBD
Comment 5 Petr Jiricka 2006-06-19 10:57:51 UTC
Removing INCOMPLETE keyword, this is an old issue, please evaluate again.
Comment 6 Petr Jiricka 2006-06-19 17:15:20 UTC
From the reporter: "This has either been fixed in code or in the Mac OS X
JVM. Thanks"

So closing as fixed.

Comment 7 Lukas Jungmann 2006-09-28 12:33:12 UTC
v.