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 180881

Summary: No way to specify a valid wsimport argument
Product: webservices Reporter: squeek_14 <squeek_14>
Component: JAX-WSAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: normal CC: thonyfd
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description squeek_14 2010-02-17 22:38:52 UTC
I need to use the wsimport option -B-XautoNameResolution
I cant do this in netbeans as you store the options to wsimport as XML attributes.
Comment 1 Milan Kuchtiak 2010-02-18 02:55:28 UTC
I see.
The only workaround now for you is to override <wsimport-client-XXX> target (located in nbproject/jaxws-build.xml), by using wsimport <xjcarg> subelement :

<xjcarg value="-B-XautoNameResolution"/> <!-- I haven't tested that -->


Note: The overriding should be done in build.xml (not nbproject/jaxws-build.xml). Just copy the target from nbproject/jaxws-build.xml to build.xml, then modify it.