Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-19662] Switch from / to helloworld-ws context in QS #948

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading