This content has been marked as final.
Show 3 replies
-
1. Re: how to test a web service with arquillian?
hugirat Nov 10, 2010 4:29 AM (in response to hugirat)i have found this answer to the Question in the java tutorial http://download.oracle.com/javaee/6/tutorial/doc/gizks.html
but i have still the Qeustion how cann i add an app to the archive (like html2pdf converter)?
-
2. Re: how to test a web service with arquillian?
hugirat Nov 11, 2010 3:21 AM (in response to hugirat)i have found that addWebResource will do the work.
like: archive.addWebResource(file, "resources/");
but i still have a problem with it when i output the structre of the archive i don't see the file i've add though i see resources!!!
-
3. Re: how to test a web service with arquillian?
aslak Nov 11, 2010 5:38 AM (in response to hugirat)The second parameter to addWebResource is the name of the file in the Archive. Your naming your file "resources".
You probably want to do something like: addWebResource(file, "resources/" + file.getName())