Skip to content

Commit

Permalink
[WFLY-19662] Switch from / to helloworld-ws context in QS
Browse files Browse the repository at this point in the history
  • Loading branch information
baranowb committed Aug 27, 2024
1 parent 7b6f940 commit 7d23af0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions helloworld-ws/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ Review the server log to see useful information about the deployed web service e
[source,options="nowrap"]
----
JBWS024061: Adding service endpoint metadata: id=org.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
address=http://localhost:8080/HelloWorldService
address=http://localhost:8080/helloworld-ws/HelloWorldService
implementor=org.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
serviceName={http://www.jboss.org/eap/quickstarts/wshelloworld/HelloWorld}HelloWorldService
portName={http://www.jboss.org/eap/quickstarts/wshelloworld/HelloWorld}HelloWorld
Expand All @@ -514,7 +514,7 @@ JBWS024061: Adding service endpoint metadata: id=org.jboss.as.quickstarts.wshell
=== Access the Application
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.
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.
// Undeploy the Quickstart
:leveloffset: +2
Expand Down
2 changes: 1 addition & 1 deletion helloworld-ws/src/main/webapp/WEB-INF/jboss-web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jboss:jakartaee:1.0 https://www.jboss.org/schema/jbossas/jboss-web_15_0.xsd"
version="15.0">
<context-root>/</context-root>
<context-root>/helloworld-ws</context-root>
</jboss-web>

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ClientIT {
/**
* The path of the WSDL endpoint in relation to the deployed web application.
*/
private static final String WSDL_PATH = "HelloWorldService?wsdl";
private static final String WSDL_PATH = "helloworld-ws/HelloWorldService?wsdl";

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

@Before
public void setup() {
try {
client = new Client(new URL(deploymentUrl, WSDL_PATH));
} catch (MalformedURLException e) {
e.printStackTrace();
}
client = new Client(deploymentUrl);
}

@Test
Expand Down

0 comments on commit 7d23af0

Please sign in to comment.