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.
Summary: | Enable access to external schema to parse wsdl file in web app | ||
---|---|---|---|
Product: | webservices | Reporter: | Kenneth Ganfield <kganfield> |
Component: | Client | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | NEW --- | ||
Severity: | normal | CC: | dmitrybashkin, rjdkolb |
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Kenneth Ganfield
2014-04-02 16:22:20 UTC
The default behavior in the IDE is to restrict access to an external schema. The restriction breaks the functionality for some web service client wizards. I created an FAQ that describes how to enable access so that the wizards work. http://wiki.netbeans.org/FaqWSDLExternalSchema It would be nice if there was someway to make the default enabled in the IDE or to enable it without manually modifying the conf file. Changing this issue to an enhancement request. *** Bug 244379 has been marked as a duplicate of this bug. *** While I appreciate someone taking the time to make a FAQ for this (well done!) it should be noted that the solution described in the FAQ will only work for those that use Ant-based projects. As far as I know Maven doesn't inherit system properties from the IDE so it doesn't help setting this property in the IDE's config file. For Maven I see two alternative solutions: Either set the relevant system property in Tools --> Options --> Java --> Maven --> Execution --> "Global Execution Options" or do it project-by-project in your pom.xml as described in https://netbeans.org/bugzilla/show_bug.cgi?id=241570#c2. Additional info: The problem is not related to JDK8 per se but to JAXP 1.5 which started being included with JDK7u40. Thanks for the update for Maven. I updated the FAQ to incorporate your comments and add some information regarding Maven. Is it possible to have Netbeans insert these vmArgs when it includes this plugin ? If I use the "Webservice from WSDL..." wizard in Java 8, it breaks the process mid way and the webservice impl class is left empty. Updating the POM makes maven build successfully, but the impl class is still left empty. |