diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessTestCase.java | 2 | ||||
-rw-r--r-- | sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/log4j.properties | 36 | ||||
-rw-r--r-- | sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/paymentprocesstest.composite (renamed from sandbox/travelsample/paymentprocess-contribution/paymentprocesstest.composite) | 13 |
3 files changed, 47 insertions, 4 deletions
diff --git a/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessTestCase.java b/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessTestCase.java index 793e1eb887..2a120d99d0 100644 --- a/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessTestCase.java +++ b/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessTestCase.java @@ -46,7 +46,7 @@ public class PaymentProcessTestCase { public void testPaymentProcess() { SCAClient client = (SCAClient) node; PaymentProcess pp = client.getService(PaymentProcess.class, "PaymentProcessClient"); - System.out.println(pp.makePayment("Fred", 100.00f)); + System.out.println("Result = " + pp.makePayment("Fred", 100.00f)); } /** diff --git a/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/log4j.properties b/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/log4j.properties new file mode 100644 index 0000000000..4e13380e0b --- /dev/null +++ b/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/log4j.properties @@ -0,0 +1,36 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Set root logger level to WARN and its only appender to CONSOLE +log4j.rootLogger=OFF, CONSOLE + +# log4j properties to work with commandline tools. +log4j.category.org.mortbay=OFF +log4j.category.org.hibernate.type=OFF +log4j.category.org.objectweb=OFF +log4j.category.org.apache.ode.axis2=OFF +log4j.category.org.apache.ode.bpel.engine=OFF +log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=OFF +log4j.category.org.apache.ode.bpel.epr=OFF +log4j.category.org.apache.tuscany.sca.implementation.bpel=DEBUG +log4j.category.org.apache.tuscany.sca.implementation.bpel.ode=DEBUG +log4j.category.org.apache.tuscany.sca.implementation.bpel.provider=DEBUG + +# Console appender +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=[%p] - %C{1}.%M(%L) | %m%n diff --git a/sandbox/travelsample/paymentprocess-contribution/paymentprocesstest.composite b/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/paymentprocesstest.composite index 3b11f0a368..a06bc12c03 100644 --- a/sandbox/travelsample/paymentprocess-contribution/paymentprocesstest.composite +++ b/sandbox/travelsample/paymentprocess-contribution/test/scatours/paymentprocess/paymentprocesstest.composite @@ -19,22 +19,29 @@ --> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" - xmlns:c="http://paymentprocess" - xmlns:pp="http://tuscany.apache.org/PaymentProcess" - targetNamespace="http://paymentprocess" + xmlns:pp="http://www.example.org/PaymentProcess" + targetNamespace="http://www.example.org/PaymentProcess" name="paymentprocess"> + <component name="PaymentProcessClient"> <implementation.java class="scatours.paymentprocess.PaymentProcessClientImpl" /> <reference name="paymentProcess"> <binding.ws uri="http://localhost:8080/PaymentProcess" /> </reference> </component> + <component name="PaymentProcess"> <implementation.bpel process="pp:PaymentProcess"/> <service name="paymentProcessPartnerLink"> <interface.wsdl interface="http://www.example.org/PaymentProcess/#wsdl.interface(PaymentProcess)" /> <binding.ws uri="http://localhost:8080/PaymentProcess" wsdlElement="http://www.example.org/PaymentProcess/#wsdl.service(PaymentProcessService)"/> </service> + <reference name="creditCardPaymentPartnerLink"> + <binding.ws uri="http://localhost:8081/CreditCardPayment"/> + </reference> + <reference name="emailGatewayPartnerLink"> + <binding.ws uri="http://localhost:8082/EmailGateway"/> + </reference> </component> </composite>
\ No newline at end of file |