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 209590 - webservice fails to compile
Summary: webservice fails to compile
Status: RESOLVED INCOMPLETE
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 7.1.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-14 16:36 UTC by stadelma
Modified: 2012-03-14 17:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stadelma 2012-03-14 16:36:12 UTC
On NB 7.1.1 with GF3.1.2 and Java (any version) I run into the following problem.

I followed the flower album service trail. I've built the service, and it deployed well in GF; but callin the test page fails. The cause was that no class was compiled. The sub reason was that build-impl.xml did not have the proper conditional statements for src code and test code setup; they are somewhat empty. To know is that this build-impl.xml file gets generated.

I found that this happens when the engaed java has a /jre/lib/endorsed part with jars as requested to build an use apache rampart. To get succesfull rampart samel test during build you need resolver-2.9.1.jar, serializer-2.9.1.jar, xalan-2.7.1.jar, xercesImpl-2.9.1.jar, xml-apis-2.9.1.jar at this place; renaming the endorsed directory to not_endorsed cured the problem.

I suggest to either fix the issue or bespook with apache axis2 and apache rampart developers the issue. The requirement for the endorsed directory can be found at the rampart release in the README.

If you forget to not_endorse it you have a problem when it comes to build axis2-1.6.1 with maven.

So we have two products which can not use the endorsed dir and one which does not bzuild without it; who will sort this out for the rest of the world?

Josef.Stadelmann
@axa-winterthur.ch
Comment 1 Denis Anisimov 2012-03-14 17:04:10 UTC
Please describe exact NB UI steps to reproduce.
The current description is a story and I don't see NB issue there.