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.
wsimport-option-name must be support more Custom Bindings files sample: ... <wsimport-option> <wsimport-option-name>binding</wsimport-option-name> <wsimport-option-value>JAXBCustom.xjb</wsimport-option-value> </wsimport-option> <wsimport-option> <wsimport-option-name>binding</wsimport-option-name> <wsimport-option-value>JAXWSCustom.xjb</wsimport-option-value> </wsimport-option> ... command line: wsimport -d ... -b "...\JAXWSCustom.xjb" -b "...\JAXBCustom.xjb" PD: Sorry I have not good english
This is the right specification of binding files in jax-ws.xml (sample): <client name="AddNumbers"> <wsdl-url>file:/space/home/mkuchtiak/ws/jaxws2.2/samples/fromwsdl/etc/AddNumbers.wsdl</wsdl-url> <local-wsdl-file>AddNumbers.wsdl</local-wsdl-file> <package-name>external_customize.client</package-name> <catalog-file>catalog.xml</catalog-file> <binding> <file-name>custom-client.xml</file-name> </binding> <binding> <file-name>custom-schema.xml</file-name> </binding> <wsimport-options> <wsimport-option> <wsimport-option-name>extension</wsimport-option-name> <wsimport-option-value>true</wsimport-option-value> </wsimport-option> <wsimport-option> <wsimport-option-name>verbose</wsimport-option-name> <wsimport-option-value>true</wsimport-option-value> </wsimport-option> <wsimport-option> <wsimport-option-name>wsdlLocation</wsimport-option-name> <wsimport-option-value>file:/space/home/mkuchtiak/ws/jaxws2.2/samples/fromwsdl/etc/AddNumbers.wsdl</wsimport-option-value> </wsimport-option> <wsimport-option> <wsimport-option-name>xendorsed</wsimport-option-name> <wsimport-option-value>true</wsimport-option-value> </wsimport-option> </wsimport-options> </client> Note: jax-ws.xml is not intended for user modification. This can be achieved by using: Edit WS Attributes -> WSDL Customization -> External Binding files. Then you may need to modify binding files under xml-resources/web-service-references/..
>This can be achieved by using: >Edit WS Attributes -> WSDL Customization -> External Binding files. Exception is launched when i'll trying it java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.websvc.customization.multiview.ExternalBindingTablePanel at org.netbeans.modules.websvc.customization.multiview.ExternalBindingPanel.<init>(ExternalBindingPanel.java:83) at org.netbeans.modules.websvc.customization.multiview.WSPanelFactory.createInnerPanel(WSPanelFactory.java:188) at org.netbeans.modules.xml.multiview.ui.SectionPanel.createInnerpanel(SectionPanel.java:230) at org.netbeans.modules.xml.multiview.ui.SectionPanel.openInnerPanel(SectionPanel.java:212) at org.netbeans.modules.xml.multiview.ui.SectionPanel.foldButtonActionPerformed(SectionPanel.java:414) at org.netbeans.modules.xml.multiview.ui.SectionPanel.access$200(SectionPanel.java:68) at org.netbeans.modules.xml.multiview.ui.SectionPanel$4.actionPerformed(SectionPanel.java:331) 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.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:985) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1019) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1007) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:115) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:992) at java.awt.Component.show(Component.java:1422) at java.awt.Component.setVisible(Component.java:1375) at java.awt.Window.setVisible(Window.java:806) at java.awt.Dialog.setVisible(Dialog.java:985) at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl.openEditor(EditWSAttributesCookieImpl.java:123) at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl.access$000(EditWSAttributesCookieImpl.java:81) [catch] at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run(EditWSAttributesCookieImpl.java:96) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
The exception you reported was fixed for 6.8. See: issue 169564
Ok, Thanks.