Skip to content

Commit a291e9f

Browse files
committed
Resource ordering for JAX-RPC test
1 parent 16a7382 commit a291e9f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • jaxrpc/jaxrpc-endpoint/src/test/java/org/javaee7/jaxrpc/endpoint

jaxrpc/jaxrpc-endpoint/src/test/java/org/javaee7/jaxrpc/endpoint/HelloTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ public static WebArchive createDeployment() {
3232
WebArchive war =
3333
create(WebArchive.class)
3434
.addClasses(HelloService.class, HelloServiceImpl.class)
35+
.addAsWebInfResource(new File(WEBAPP_SRC + "/WEB-INF/wsdl", "MyHelloService.wsdl"), "wsdl/MyHelloService.wsdl")
3536
.addAsWebInfResource(new File(WEBAPP_SRC + "/WEB-INF", "mapping.xml"))
36-
.addAsWebInfResource(new File(WEBAPP_SRC + "/WEB-INF", "web.xml"))
3737
.addAsWebInfResource(new File(WEBAPP_SRC + "/WEB-INF", "webservices.xml"))
38-
.addAsWebInfResource(new File(WEBAPP_SRC + "/WEB-INF/wsdl", "MyHelloService.wsdl"), "wsdl/MyHelloService.wsdl");
38+
.addAsWebInfResource(new File(WEBAPP_SRC + "/WEB-INF", "web.xml"))
39+
;
3940

4041
System.out.println(war.toString(true));
4142
System.out.println("************************************************************");

0 commit comments

Comments
 (0)