Hi Richard,
Thanks for your help, now I am getting the following exceptions.
Which jar is missing and where I have to keep it.
========================================================================
=
tests-compile:
[javac] Compiling 205 source files to
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\o
utput\classes
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:24:
package org.jboss.annotation.ejb does not exist
[javac] import org.jboss.annotation.ejb.RemoteBinding;
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
33: package org.jboss.annotation.ejb does not exist
[javac] import org.jboss.annotation.ejb.RemoteBinding;
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:38:
cannot find symbol
[javac] symbol: class RemoteBinding
[javac] @RemoteBinding(jndiBinding = "/ejb/EJBClient")
[javac] ^
[javac]
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
38: cannot find symbol
[javac] symbol: class RemoteBinding
[javac] @RemoteBinding(jndiBinding = "/ejb3/EJB3Client")
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
BUILD FAILED
========================================================================
===
Regards,
Rajagopal Y (Raj)
HCU-Consulting & Enterprise Solutions.
Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
-----Original Message-----
From: Richard Opalka [mailto:ropalka@redhat.com]
Sent: Wednesday, January 02, 2008 1:59 PM
To: Rajagopal_Yendluri
Cc: jbossws-users(a)lists.jboss.org
Subject: Re: [jbossws-users] (no subject)
Hi Raj,
you have to put junit.jar to your ANT_HOME/lib directory to make it
work.
Rajagopal_Yendluri wrote:
> Hi,
>
> I am new to JBoss WS, I just started working on this for a POC, I
> successfully installed the WS on JBoss AS.
>
> When I try to run the samples, by using...ant from jbossWS home, am
> getting the following exceptions...
>
> I can understand that the junit.jar is missing and something for
> assertions, but let me know where can I keep the junit.jar... it
>
exists
> in lib directory of JBossWS.
>
> Any Suggestions....
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\xop\doclit\XOPHandlerTestCase.
java:58:
> cannot find symbol
>
> [javac] symbol : class Test
>
> [javac] location: class
> org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase
>
> [javac] public static Test suite()
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\xop\doclit\XOPWrappedTestCase.
java:53:
> cannot find symbol
>
> [javac] symbol : class Test
>
> [javac] location: class
> org.jboss.test.ws.jaxws.samples.xop.doclit.XOPWrappedTestCase
>
> [javac] public static Test suite()
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\smoke\tools\ScriptTestCase.java:37:
> cannot find symbol
>
> [javac] symbol: class TestCase
>
> [javac] public class ScriptTestCase extends TestCase
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\smoke\tools\WSConsumerTestCase.java:46
:
> cannot find symbol
>
> [javac] symbol: class TestCase
>
> [javac] public class WSConsumerTestCase extends TestCase
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\serviceref\EJBClient.java:38:
> cannot find symbol
>
> [javac] symbol: class RemoteBinding
>
> [javac] @RemoteBinding(jndiBinding = "/ejb/EJBClient")
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\webserviceref\EJB3Client.java:
38:
> cannot find symbol
>
> [javac] symbol: class RemoteBinding
>
> [javac] @RemoteBinding(jndiBinding = "/ejb3/EJB3Client")
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
tchTestCase.java:66:
> cannot access junit.extensions.TestSetup
>
> [javac] file junit\extensions\TestSetup.class not found
>
> [javac] return new
> JBossWSTestSetup(AsynchronousDispatchTestCase.class,
> "jaxws-samples-asynchronous.war");
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
tchTestCase.java:100:
> cannot find symbol
>
> [javac] symbol : method assertTrue(java.lang.String,boolean)
>
> [javac] location: class
>
>
org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousDispatchTestCas
e
> [javac] assertTrue("Async handler called", asyncHandlerCalled);
>
> [javac] ^
>
> [javac]
>
>
C:\Rajagopal\Softwares\jbossws-native-2.0.2.GA\jbossws-native-2.0.2.GA\t
ests\java\org\jboss\test\ws\jaxws\samples\asynchronous\AsynchronousDispa
tchTestCase.java:105:
> cannot find symbol
>
> **Regards,**
>
> **Rajagopal Y (Raj)**
>
> **HCU-Consulting & Enterprise Solutions.**
>
> **Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.**
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of
>
> the intended recipient/s and may contain material that is CONFIDENTIAL
>
> AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying or distribution or forwarding of any or all of the contents in
>
> this message is STRICTLY PROHIBITED. If you are not the intended
> recipient, please contact the sender by email and delete all copies;
> your cooperation in this regard is appreciated..
>
>
>
------------------------------------------------------------------------
> _______________________________________________
> jbossws-users mailing list
> jbossws-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbossws-users
>
>
--
B.Sc. Richard Opalka
Senior Software Engineer
JBoss, a division of Red Hat
Mobile: +420 731 186 942
Mail: ropalka(a)redhat.com