NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

web service client in netbeans plugin

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
ymajoros
Posted via mailing list.





PostPosted: Thu Oct 22, 2009 1:46 pm    Post subject: web service client in netbeans plugin Reply with quote

Hello,

I wrote a netbeans module talking to some web service. It works fine when I
run the module using "run" action from the suite. However, when trying to
deploy it as netbeans plugin, I get below exception.

My module is using a library wrapper, which wraps a web service client and
following dependencies (copy-pasted here from nb):

ModuleDependency[me: BinaryEntry[C:\Program Files\NetBeans
6.7\ide11\modules\org-netbeans-libs-jaxb.jar], relVer: 1, specVer: null,
implDep: true, compDep: true]
ModuleDependency[me: BinaryEntry[C:\Program Files\NetBeans
6.7\java2\modules\org-netbeans-modules-websvc-jaxws21api.jar], relVer: 1,
specVer: null, implDep: true, compDep: true]
ModuleDependency[me: BinaryEntry[C:\Program Files\NetBeans
6.7\java2\modules\org-netbeans-modules-websvc-jaxws21.jar], relVer: 1,
specVer: null, implDep: true, compDep: true]

I installed it in netbeans by creating nbm's for the wrapper and installing
them. "Install/reload in development IDE" is grayed out for the module I'd
like to install, maybe this has some meaning.

Here is the exception stack I get when running as netbeans plugin:

javax.xml.soap.SOAPException: Unable to create SAAJ meta-factoryProvider
com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl not found
at javax.xml.soap.SAAJMetaFactory.getInstance(Unknown Source)
at javax.xml.soap.MessageFactory.newInstance(Unknown Source)
at com.sun.xml.ws.api.SOAPVersion.<init>(SOAPVersion.java:178)
Caused: java.lang.Error
at com.sun.xml.ws.api.SOAPVersion.<init>(SOAPVersion.java:181)
at com.sun.xml.ws.api.SOAPVersion.<clinit>(SOAPVersion.java:83)
at com.sun.xml.ws.api.BindingID.<clinit>(BindingID.java:321)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseBinding(RuntimeWSDLParser.java:424)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:321)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:146)
at
com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:264)
at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:227)
at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:175)
at
com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:56)
at
be.ucl.epc.common.erreur.GestionErreursServiceService.<init>(GestionErreursServiceService.java:46)
at
be.ucl.epc.erreurs.client.EpcErreursClient.<init>(EpcErreursClient.java:23)
at
be.ucl.epc.erreurs.nb.module.ui.control.ErreursController.getEpcErreursClient(ErreursController.java:90)
at
be.ucl.epc.erreurs.nb.module.ui.control.ErreursController.uiSetup(ErreursController.java:96)
at
be.ucl.epc.erreurs.nb.module.ui.control.ErreursController.show(ErreursController.java:130)
at
be.ucl.epc.erreurs.nb.module.action.ErreursAction.actionPerformed(ErreursAction.java:17)
at
org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:115)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--
View this message in context: http://www.nabble.com/web-service-client-in-netbeans-plugin-tp26010200p26010200.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


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