Skip to content

Commit 7d23af0

Browse files
committed
[WFLY-19662] Switch from / to helloworld-ws context in QS
1 parent 7b6f940 commit 7d23af0

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

helloworld-ws/README.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ Review the server log to see useful information about the deployed web service e
503503
[source,options="nowrap"]
504504
----
505505
JBWS024061: Adding service endpoint metadata: id=org.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
506-
address=http://localhost:8080/HelloWorldService
506+
address=http://localhost:8080/helloworld-ws/HelloWorldService
507507
implementor=org.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
508508
serviceName={http://www.jboss.org/eap/quickstarts/wshelloworld/HelloWorld}HelloWorldService
509509
portName={http://www.jboss.org/eap/quickstarts/wshelloworld/HelloWorld}HelloWorld
@@ -514,7 +514,7 @@ JBWS024061: Adding service endpoint metadata: id=org.jboss.as.quickstarts.wshell
514514
515515
=== Access the Application
516516
517-
You can verify that the Web Service is running and deployed correctly by accessing the following URL: http://localhost:8080/HelloWorldService?wsdl. This URL will display the deployed WSDL endpoint for the Web Service.
517+
You can verify that the Web Service is running and deployed correctly by accessing the following URL: http://localhost:8080/helloworld-ws/HelloWorldService?wsdl. This URL will display the deployed WSDL endpoint for the Web Service.
518518
519519
// Undeploy the Quickstart
520520
:leveloffset: +2

helloworld-ws/src/main/webapp/WEB-INF/jboss-web.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2121
xsi:schemaLocation="urn:jboss:jakartaee:1.0 https://www.jboss.org/schema/jbossas/jboss-web_15_0.xsd"
2222
version="15.0">
23-
<context-root>/</context-root>
23+
<context-root>/helloworld-ws</context-root>
2424
</jboss-web>
2525

helloworld-ws/src/test/java/org/jboss/as/quickstarts/wshelloworld/ClientIT.java

+2-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class ClientIT {
3838
/**
3939
* The path of the WSDL endpoint in relation to the deployed web application.
4040
*/
41-
private static final String WSDL_PATH = "HelloWorldService?wsdl";
41+
private static final String WSDL_PATH = "helloworld-ws/HelloWorldService?wsdl";
4242

4343
protected static URL getHTTPEndpoint() {
4444
String host = getServerHost();
@@ -75,11 +75,7 @@ public static void beforeClass() throws MalformedURLException {
7575

7676
@Before
7777
public void setup() {
78-
try {
79-
client = new Client(new URL(deploymentUrl, WSDL_PATH));
80-
} catch (MalformedURLException e) {
81-
e.printStackTrace();
82-
}
78+
client = new Client(deploymentUrl);
8379
}
8480

8581
@Test

0 commit comments

Comments
 (0)