summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java')
-rw-r--r--sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java b/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
index bbf3b93b1c..2fa12fc187 100644
--- a/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
+++ b/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
@@ -23,10 +23,9 @@ import javax.xml.ws.Endpoint;
public class CreditCardServiceBootstrap {
public static void main(String[] args) {
- System.out.println("Publishing Credit Card Service as web service");
-
- Endpoint.publish(
- "http://localhost:8081/CreditCardService",
- new CreditCardServiceImpl());
+ System.out.println("Publishing Credit Card Service as web service: http://localhost:8081/CreditCardService");
+ System.out.println("Press Ctrl^C to terminate...");
+
+ Endpoint.publish("http://localhost:8081/CreditCardService", new CreditCardServiceImpl());
}
}