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.
Creating "Web Service Clients" are not allowed in JavaFX. The client immediately ends with on message. On JavaSE project if works without any problem. The workaround is to have a JavaSE project for the "Web Service Client" and set a dependency on the JavaSE project to JavaFX project. This issue is critically needed for JavaOne demos. Since we do not have severities, I am setting as P1. CCing Adam Sotona who found out some commented out items from the lookup of JavaFXProject class that may be related to the issue.
is this still P1? If not change to P3.
I downgraded it to P3 since it is not critical for the plug-in functionality. Victor is working on the fix now. If this is a really stopper for any J1 activities - please make it P1 again.
Changed target to M3 because looks like it's need some implementation in the module of Web Service Client outside of plugin.
Investigation was completed for the JAX-WS Style Client only. Issues during generation of the JAX-RPC Style Client should be additionally investigated. To fix this issue in case of the JAX-WS Style Client we need to do the following: 1. Refactoring the org.netbeans.modules.javafx.project.classpath.JavaFXProjectClassPathModifier class, including: 1.1 fixing the import statement, the field declaration and the parameter of the constructor: import org.netbeans.api.project.Project; -> import org.netbeans.modules.javafx.project.JavaFXProject; private final Project project; -> private final JavaFXProject project; public JavaFXProjectClassPathModifier(final Project project, ...) -> public JavaFXProjectClassPathModifier(final JavaFXProject project, , ...) 1.2. fixing implementation of the private getClassPathProperty(final SourceGroup sg, final String type) method: NOW: final String classPathProperty = ((ClassPathProviderImpl)project.getLookup().lookup(ClassPathProviderImpl.class)).getPropertyName (sg, type); SHOUL BE: final String classPathProperty = project.getClassPathProvider().getPropertyName (sg, type); 2. Provide additional content in the SystemFileSystem if the WS Client Support is installed in IDE: <filesystem> <folder name="Projects"> <folder name="org-netbeans-modules-javafx-project"> <folder name="Nodes"> <file name="org-netbeans-modules-websvc-core-ProjectWebServiceNodeFactory.instance"> <attr name="position" intvalue="260"/> </file> </folder> <folder name="Lookup"> <!-- populate J2SE Project Lookup with WS Client Support --> <file name="org.netbeans.modules.websvc.core.jaxws.projects.J2SEWSSupportLookupProvider.instance"/> <file name="org.netbeans.modules.websvc.jaxwsmodel.project.J2seJaxWsLookupProvider.instance"/> </folder> </folder> </folder> </filesystem> 3. Change content of the jaxws-build.xml that will be used for the JavaFX projects: 3.1. change XML namespace: xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" -> xmlns:javafxproject3="http://www.netbeans.org/ns/javafx-project/3" 3.2. change all elements in the wsimport-client-compile task that use the j2seproject3 namespace: j2seproject3:depend -> javafxproject3:depend j2seproject3:javac -> javafxproject3:javac Discussion: ---------- The #3 can be fixed in the org.netbeans.modules.websvc.jaxwsmodel.project.J2seJaxWsLookupProvider or a special JavaFXJaxWsLookupProvider class can be additionally implemented. In the last case, registration of the provider mentioned in the #2 should be also changed. Actually, to fix #3 we need have a special version of the JAX_WS_STYLESHEET_RESOURCE="/org/netbeans/modules/websvc/jaxwsmodel/resources/jaxws-j2se.xsl" that will be used for generation of the jaxws-build.xml in case of the JavaFX project. The best place to fix #2 and #3 is the WS Client Support modules (not JavaFX modules).
Java Web Services will not be supported in JavaFX project type and JavaFX Web Services are not yet specified.
verified
Cleaning bugzilla categories ....