NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Java EE 5 Tutorial examples: can't build "helloservice Client Application"

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Neles
Posted via mailing list.





PostPosted: Mon Jan 26, 2009 4:25 pm    Post subject: Java EE 5 Tutorial examples: can't build "helloservice Client Application" Reply with quote

I have installed NetBeans 6.5 on a Windows XP host with jdk build 1.6.0_11
and a Glassfish V2 UR2 server.

I'm following the instructions to "Build and Deploy helloservice with Basic
Authentication Using
NetBeans IDE", pages 892-894 on book "The Java EE 5Tutorial • October 2008",
and the result for that project (named helloservice-basicauth) is a
successful build.

BUT if I try to build thereafter the "helloservice Client Application"
project (named simpleclient-basicauth), it reports that

"
wsimport-client-generate:
Created dir: (tutorial dir)\examples\jaxws\simpleclient-basicauth\build\jar
Copying 3 files to (tutorial
dir)\examples\jaxws\simpleclient-basicauth\build\jar\META-INF
wsimport-client-compile:
Compiling 1 source file to (tutorial
dir)\examples\jaxws\simpleclient-basicauth\build\jar
(tutorial
dir)\examples\jaxws\simpleclient-basicauth\src\java\simpleclient\basicauth\HelloClient.java:13:
package helloservice.basicauth.endpoint does not exist
import helloservice.basicauth.endpoint.HelloService;
(tutorial
dir)\examples\jaxws\simpleclient-basicauth\src\java\simpleclient\basicauth\HelloClient.java:14:
package helloservice.basicauth.endpoint does not exist
import helloservice.basicauth.endpoint.Hello;
(tutorial
dir)\examples\jaxws\simpleclient-basicauth\src\java\simpleclient\basicauth\HelloClient.java:19:
cannot find symbol
symbol : class HelloService
location: class simpleclient.basicauth.HelloClient
static HelloService service;
(tutorial
dir)\examples\jaxws\simpleclient-basicauth\src\java\simpleclient\basicauth\HelloClient.java:39:
cannot find symbol
symbol : class Hello
location: class simpleclient.basicauth.HelloClient
Hello port = service.getHelloPort();
4 errors
BUILD FAILED (total time: 1 second)
"

It goes all ok if I build both these projects using asant of GlassFish's
installation. And it doesn't work either if I build helloservice-basicauth
with NetBeans and then simpleclient-basicauth with asant.

Where is the problem? What do I do wrong?

Thank You in advance for Your answers
--
View this message in context: http://www.nabble.com/Java-EE-5-Tutorial-examples%3A-can%27t-build-%22helloservice-Client-Application%22-tp21668451p21668451.html
Sent from the Netbeans - J2EE mailing list archive at Nabble.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo