summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-10-26 23:36:54 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-10-26 23:36:54 +0000
commit3c908c16d224e5c7d84b01e9662f7104bd546eeb (patch)
tree28ae7ebdbca92ad7c900ce65646250d15b2119b2 /sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java
parentce7474138d1b4596137ebc9141f0949c470c3a85 (diff)
Add Main-Class and Class-Path to the MF so that we can run the clients, services and launchers using java -jar
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/services/creditcard-payment-jaxws/src/main/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());
}
}