Author: rsearls
Date: 2015-01-26 17:05:09 -0500 (Mon, 26 Jan 2015)
New Revision: 19428
Modified:
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java
Log:
corrected Archive type def
Modified:
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java 2015-01-26
22:03:55 UTC (rev 19427)
+++
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java 2015-01-26
22:05:09 UTC (rev 19428)
@@ -40,6 +40,7 @@
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Test;
import org.junit.runner.RunWith;
+import org.jboss.wsf.test.WrapThreadContextClassLoader;
import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
@@ -66,8 +67,8 @@
private final String serviceURL = "http://" + getServerHost() +
":" + getServerPort() + "/jaxws-samples-wsse-sign";
@Deployment(name = "jaxws-samples-wsse-sign-client", order = 1, testable =
false)
- public static WebArchive createJarDeployment() {
- WebArchive archive = ShrinkWrap.create(WebArchive.class,
"jaxws-samples-wsse-sign-client.jar");
+ public static JavaArchive createJarDeployment() {
+ JavaArchive archive = ShrinkWrap.create(JavaArchive.class,
"jaxws-samples-wsse-sign-client.jar");
archive
.addManifest()
.addAsManifestResource(new File(JBossWSTestHelper.getTestResourcesDir() +
"/jaxws/samples/wsse/sign/META-INF/alice.jks"), "alice.jks")
@@ -99,6 +100,7 @@
@Test
@RunAsClient
+ @WrapThreadContextClassLoader
public void test() throws Exception
{
QName serviceName = new
QName("http://www.jboss.org/jbossws/ws-extensions/wssecurity",
"SecurityService");