-
1. Re: Sample application
oskar.carlstedt Sep 12, 2007 2:13 AM (in response to ambika)Hello!
There are several examples in the JBossWS-distribution. Just download the normal distribution (src distribution is not required). The distribution zip file contains another zip file with lots of examples about how to do what in what situation.
Build the examples, deploy them into JBoss and you have something to test/look at.
Kind regards
Oskar -
2. Re: Sample application
rukus Sep 12, 2007 10:00 AM (in response to ambika)i have the same question, but i still can't find this .zip file :(
i've tried in jbossws-native-2.0.0.GA and jbossws-native-2.0.1.GA -
3. Re: Sample application
palin Sep 12, 2007 6:45 PM (in response to ambika)"rukus" wrote:
i have the same question, but i still can't find this .zip file :(
i've tried in jbossws-native-2.0.0.GA and jbossws-native-2.0.1.GA
You have to download the src zip or checkout the src from svn.
Alessio Soldano -
4. Re: Sample application
thomas.diesler Sep 19, 2007 9:07 AM (in response to ambika)The samples are included in the binary distribution
ant deploy-jboss42 ant tests
-
5. Re: Sample application
manny88 Oct 1, 2007 1:37 PM (in response to ambika)Thomas,
The "ant tests" is failing here as below. I'm on jboss-eap-4.2. I think it needs some package for junit.framework.Testcase. Where would this be?
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA>ant tests
Buildfile: build.xml
prepare:
tests-prepare:
[echo] -----------------------------------------------
[echo] jboss.home = /cygwind/home/manny/jboss-eap-4.2/jboss-as
[echo] excludesfile = C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.
0.1.GA/tests/resources/test-excludes-jboss42.txt
[echo] java.home = C:\Java\jdk1.5.0_11\jre
[echo] jboss.bind = localhost
[echo] -----------------------------------------------
tests-classpath-jboss50:
tests-classpath-jboss42:
tests-classpath-jboss40:
tests-classpath:
tests-init:
tests-compile:
[javac] Compiling 2 source files to C:\cygwind\home\Manny\jboss-eap-4.2\jbos
sws-native-2.0.1.GA\output\classes
[javac] C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA\tests\ja
va\org\jboss\test\ws\jaxws\smoke\tools\WSConsumerTestCase.java:45: cannot find s
ymbol
[javac] symbol : constructor TestCase()
[javac] location: class junit.framework.TestCase
[javac] public class WSConsumerTestCase extends TestCase
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA\build.xml:117: The f
ollowing error occurred while executing this line:
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA\tests\ant-import\bui
ld-testsuite.xml:274: Compile failed; see the compiler error output for details.
Total time: 3 seconds
C:\cygwind\home\Manny\jboss-eap-4.2\jbossws-native-2.0.1.GA> -
6. Re: Sample application
manny88 Oct 1, 2007 1:38 PM (in response to ambika)Note, I have already added junit.jar to 3rdParty (/lib) here.
-
7. Re: Sample application
manny88 Oct 1, 2007 2:01 PM (in response to ambika)I added junit.jar to the
entry in build.xml.
The compile is OK now but the test results are another matter!! (all failing) -
8. Re: Sample application
richard_opalka Oct 2, 2007 3:47 AM (in response to ambika)Copy junit jar file to $ANT_HOME/lib directory. This will solve your problem ;-)
Richard