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: | Error during ws client creation on TC5.5 | ||
---|---|---|---|
Product: | webservices | Reporter: | Jaroslav Pospisil <jpospisil> |
Component: | Code | Assignee: | Roderico Cruz <rcruz> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mkuchtiak, rkubacki |
Priority: | P1 | Keywords: | RELNOTE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 100718 | ||
Bug Blocks: |
Description
Jaroslav Pospisil
2007-04-25 09:05:42 UTC
I investigated the problem and found out the following : if jax-ws is used from IDE, jvmarg for java.endorsed.dirs needs to be specified for wsimport, in addition to xendorsed attribute: The solution : <wsimport fork="true" xendorsed="true" ....> <jvmarg value="-Djava.endorsed.dirs=${jaxws.endorsed.dir}"/> </wsimport> This should be implemented for both web project and Client Application Project. Fixed the web project xsl script to add jvmarg attribute to the wsimport call. Did the same for the App Client. Additional fix had to be done on the App Client because the wsimport classpath was not being set in the private properties. I just tested the supposed fix and I'm afraid it won't work, because all possible combinations of fork and xEndorsed and jvmarg don't work in build 20070426. Only reliable workaround for this is to copy jaxws-api.jar and jaxb-api.jar from IDE to $JAVA_HOME/jre/lib/endorsed folder. See my comments above. Reopening. This is same root cause as in issue #100718. The bug is in 3rd party library. The workaround is mentioned in this issue and will be in release notes. I'm taking back previous statement - I made a mistake in applying the patch and now I verified, that correct form of patch works.Closing issue as fixed and I apologize to Rico for misunderstanding. Verified in 200704261200 This is fixed but I can't find in what build - can you set 'Target milestone'? Was fixed before M9 branch was created |