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 231243 - Web Service Client generated code has errors
Summary: Web Service Client generated code has errors
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@webservices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 21:04 UTC by javydreamercsw
Modified: 2013-07-29 10:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (363.12 KB, text/plain)
2013-06-13 21:04 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2013-06-13 21:04:48 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.8.0-23-generic running on amd64
Java; VM; Vendor = 1.6.0_38
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.13-b02

To reproduce:
1) Get code from https://javydreamercsw@bitbucket.org/javydreamercsw/validation-manager
2) Run the Web application.
3) On the WebServerClient project, create a web server client.
4) See the uncompilable code.
Comment 1 javydreamercsw 2013-06-13 21:04:51 UTC
Created attachment 135780 [details]
IDE log
Comment 2 Milan Kuchtiak 2013-07-29 10:39:51 UTC
I am sorry, I cannot see the compilation errors with your project (neither you attached any errors).

Most likely, the wsimport generated classes clash with JAX-WS version in your JDK.
Please, synchronize the JAX-WS version, used in project, with JAX-WS version in jdk, or try to set up wsimport target parameter to JAX-WS version in JDK, e.g.:

            <plugin>
                <groupId>org.jvnet.jax-ws-commons</groupId>
                <artifactId>jaxws-maven-plugin</artifactId>
                <version>2.1</version>
                <executions>
                  ...
                </executions>
                <dependencies>
                  ...
                </dependencies>
                <configuration>
                    <sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
                    <xnocompile>true</xnocompile>
                    <verbose>true</verbose>
                    <extension>true</extension>
                    <catalog>${basedir}/src/jax-ws-catalog.xml</catalog>
                    <target>2.0</target>
                </configuration>