locate("creditcard-payment-jaxb"),
locate("emailgateway"));
node.start();
SCAClient client = (SCAClient)node;
Payment payment = client.getService(Payment.class, "Payment/paymentPartnerLink");
System.out.println("Payment BPEL test");
System.out.println("\nSuccessful Payment - Status = \n\n" + payment.makePaymentMember("c-0", 100.00f));
System.out.println("\n\nFailed Payment - Status = \n\n" + payment.makePaymentMember("c-1", 100.00f));
node.stop();
// The following line is a workaround for TUSCANY-3475 when running
// on Tuscany SCA 1.6 (the JVM waits for 60 seconds before exiting).