References are fixed,but now both samples opens with exception:
java.lang.AssertionError: Missing file null
at org.netbeans.api.project.ant.AntBuildExtender.readProjectMetadata(AntBuildExtender.java:212)
at org.netbeans.api.project.ant.AntBuildExtender.getExtensions(AntBuildExtender.java:149)
at org.netbeans.api.project.ant.AntBuildExtenderAccessorImpl.getExtensions(AntBuildExtenderAccessorImpl.java:50)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.applyBuildExtensions(GeneratedFilesHelper.java:417)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.access$400(GeneratedFilesHelper.java:74)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1$1.run(GeneratedFilesHelper.java:288)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:98)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:477)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:257)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:251)
at org.openide.util.Mutex.writeAccess(Mutex.java:357)
at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper.generateBuildScriptFromStylesheet(GeneratedFilesHelper.java:250)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:757)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:754)
at org.openide.util.Mutex.writeAccess(Mutex.java:357)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.refreshBuildScript(GeneratedFilesHelper.java:753)
at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:732)
at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59)
at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:163)
at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59)
at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:646)
at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:689)
at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:337)
at org.netbeans.modules.project.ui.OpenProjectList.access$100(OpenProjectList.java:87)
at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:237)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Attaching messages.log

I believe this is a bug introduced to the web project recently. I've seen it happen with a newly created project.
However, I think this issue has already been fixed using a later build. I am closing this as worksforme and please
verify with a later build.

It turns out the project.properties for the client sample contains references to the jsr311 library which is only
available on the update center. I removed it and the project opens fine. BTW, I wasn't able to reproduce the problem
for the Stock Service sample. I've tested this with the latest NB build. Hopefully, this is issue is completely resolved.

Still reproducible in build 200709030000 for both samples.StockService throws only exception,but StockClient throws one
more exception and then hangs up IDE (cursor set to working,but I waited 10 minutes and nothing happened.
Second exception:
java.lang.IllegalArgumentException: Project StockQuoteClient is not open and cannot be set as main.
at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:480)
at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:190)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Reopening,since still reproducible in trunk builds. In Beta1 it seems fixed,but I don't see how there could be any
fix,which isn't in trunk and is in beta1,since fixing process works in opposite direction.This must be fixed in both
branches,before we could consider it done.

Hudson trunk build #3145 still contains this issue. In case of StockQuoteService exception doesn't prevent building and
depolying the sample,however StockQuoteClient after both exceptions mentioned upper makes IDE stucks in endless try to
open the sample and it has to bereopen in order to end this.After reopening of IDE, StockQuoteClient sample isn't still
opened. This happens even if first sample is successfully deployed and server running. From this reason I'm raising
priority to P1.

So I've found thanks to jungi,that reason, for what I'm unable to reproduce this issue in Beta 1 is,that in beta's
there's disabled displaying of AssertionExceptions . If I remove "-J -ea" in netbeans.conf in trunk build,result is the
same as in Beta1 build and I can't reproduce it anymore. Decreasing priority again.

I just tried it with the latest trunk build with the -J -ea option and I couldn't reproduce the problem. Both the
server and client projects are created and built successfully. Changing the resolution to worksforme.

Just reproduced with hudson build 3469 (20070924075740). Exceptions are displayed with missing files names this time,
problem however remains the same.The hang-up during StoctQuoteClient opening is very annoying.
java.lang.AssertionError: Missing file jaxws-build.xml for extension jaxws
at org.netbeans.api.project.ant.AntBuildExtender.readProjectMetadata(AntBuildExtender.java:212)
at org.netbeans.api.project.ant.AntBuildExtender.getExtensions(AntBuildExtender.java:149)
at org.netbeans.api.project.ant.AntBuildExtenderAccessorImpl.getExtensions(AntBuildExtenderAccessorImpl.java:50)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.applyBuildExtensions(GeneratedFilesHelper.java:417)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.access$400(GeneratedFilesHelper.java:74)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1$1.run(GeneratedFilesHelper.java:288)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:98)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:477)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:257)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:251)
at org.openide.util.Mutex.writeAccess(Mutex.java:357)
at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper.generateBuildScriptFromStylesheet(GeneratedFilesHelper.java:250)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:757)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:754)
at org.openide.util.Mutex.writeAccess(Mutex.java:357)
at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.refreshBuildScript(GeneratedFilesHelper.java:753)
at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:737)
at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59)
at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:171)
at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59)
at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:650)
at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:695)
at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:339)
at org.netbeans.modules.project.ui.OpenProjectList.access$100(OpenProjectList.java:88)
at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:239)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
java.lang.IllegalArgumentException: Project StockQuoteClient is not open and cannot be set as main.
at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:482)
[catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:190)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Reproducible again in Beta 2 and trunk (Hudson 4022). I got AssertionError and StockQuoteService-war isn't opened.
AssertionError same as the latest one here - most probably caused by removing jaxws-build.xml . I suggest to fix it same
way,as in previous case.