Can get HelloService example to compile
I compiled and deployed the HelloService example according to the jee tutorial documentation. This worked fine and the service showed up in my Java Application Server and the web based test ran fine.
When I try to compile the client program SimpleClient, I get the following error and the xsd document I get back seems to be binary and unusable. How can I fix this? Thank you.
deps-jar:
wsimport-init:
wsimport-client-check-HelloService:
wsimport-client-HelloService:
error: Unexpected end of file from server
unknown location
warning: schema_reference.4: Failed to read schema document 'http://127.0.0.1:8080/helloservice/HelloService/__container$publishing$subctx/WEB-INF/wsdl/HelloService_schema1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 0 of file:/C:/Apps/javaeetutorial5/examples/jaxws/simpleclient/src/conf/xml-resources/web-service-references/HelloService/wsdl/localhost_8080/helloservice/HelloService.wsdl#types?schema1
error: org.netbeans.core.execution.ExitSecurityException: Exit from within execution engine, normal
org.netbeans.core.execution.ExitSecurityException: Exit from within execution engine, normal
at org.netbeans.core.execution.SecMan.checkExitImpl(SecMan.java:60)
at org.netbeans.core.execution.SecMan$PrivilegedCheck.run(SecMan.java:129)
at java.security.AccessController.doPrivileged(Native Method)
at org.netbeans.core.execution.SecMan$PrivilegedCheck.check(SecMan.java:144)
at org.netbeans.core.execution.SecMan$PrivilegedCheck.checkExit(SecMan.java:139)
at org.netbeans.core.execution.SecMan.checkExit(SecMan.java:44)
at org.netbeans.TopSecurityManager.checkExit(TopSecurityManager.java:104)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:906)
at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:126)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2204)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:221)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:178)
at com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
at com.sun.tools.ws.processor.Processor.runModeler(Processor.java:79)
at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:541)
at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
at com.sun.tools.ws.ant.WsImport.execute(WsImport.java:417)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)

