summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/chapter-06/payment-bpel-contribution/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/CreditCardPayment.wsdl (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/CreditCardPayment.wsdl)0
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/EmailGateway.wsdl (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/EmailGateway.wsdl)0
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/META-INF/sca-contribution.xml (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/META-INF/sca-contribution.xml)4
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/Payment.wsdl (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/PaymentProcess.wsdl)26
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/paymentprocess.bpel)24
5 files changed, 27 insertions, 27 deletions
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/CreditCardPayment.wsdl b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/CreditCardPayment.wsdl
index a90c73cdfb..a90c73cdfb 100644
--- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/CreditCardPayment.wsdl
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/CreditCardPayment.wsdl
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/EmailGateway.wsdl b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/EmailGateway.wsdl
index d9a5e36bc0..d9a5e36bc0 100644
--- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/EmailGateway.wsdl
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/EmailGateway.wsdl
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/META-INF/sca-contribution.xml b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/META-INF/sca-contribution.xml
index 8146abbceb..6ce6568b62 100644
--- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/META-INF/sca-contribution.xml
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/META-INF/sca-contribution.xml
@@ -18,6 +18,6 @@
* under the License.
-->
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
- <export.java package="scatours.paymentprocess"/>
- <export namespace="http://www.example.org/PaymentProcess/"/>
+ <export.java package="scatours.payment"/>
+ <export namespace="http://www.example.org/Payment"/>
</contribution> \ No newline at end of file
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/PaymentProcess.wsdl b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/Payment.wsdl
index c4157cf475..399b550334 100644
--- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/PaymentProcess.wsdl
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/Payment.wsdl
@@ -17,18 +17,18 @@
* specific language governing permissions and limitations
* under the License.
-->
-<wsdl:definitions name="PaymentProcess"
- targetNamespace="http://www.example.org/PaymentProcess/"
+<wsdl:definitions name="Payment"
+ targetNamespace="http://www.example.org/Payment/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://www.example.org/PaymentProcess/"
+ xmlns:tns="http://www.example.org/Payment/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.example.org/PaymentProcess/"
- xmlns:tns="http://www.example.org/PaymentProcess/">
+ targetNamespace="http://www.example.org/Payment/"
+ xmlns:tns="http://www.example.org/Payment/">
<xsd:complexType name="MakePaymentType">
<xsd:sequence>
@@ -53,16 +53,16 @@
<wsdl:message name="MakePaymentResponse">
<wsdl:part name="parameters" element="tns:makePaymentResponse"></wsdl:part>
</wsdl:message>
- <wsdl:portType name="PaymentProcess">
+ <wsdl:portType name="Payment">
<wsdl:operation name="makePayment">
<wsdl:input message="tns:MakePaymentRequest"></wsdl:input>
<wsdl:output message="tns:MakePaymentResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="PaymentProcessBinding" type="tns:PaymentProcess">
+ <wsdl:binding name="PaymentBinding" type="tns:Payment">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="makePayment">
- <soap:operation soapAction="http://www.example.org/PaymentProcess/makePayment" />
+ <soap:operation soapAction="http://www.example.org/Payment/makePayment" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
@@ -71,13 +71,13 @@
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="PaymentProcessService">
- <wsdl:port name="PaymentProcessPort" binding="tns:PaymentProcessBinding">
- <soap:address location="http://localhost:8083/PaymentProcess" />
+ <wsdl:service name="PaymentService">
+ <wsdl:port name="PaymentPort" binding="tns:PaymentBinding">
+ <soap:address location="http://localhost:8083/Payment" />
</wsdl:port>
</wsdl:service>
- <plnk:partnerLinkType name="PaymentProcessLinkType">
- <plnk:role name="forward" portType="tns:PaymentProcess"/>
+ <plnk:partnerLinkType name="PaymentLinkType">
+ <plnk:role name="forward" portType="tns:Payment"/>
</plnk:partnerLinkType>
</wsdl:definitions> \ No newline at end of file
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/paymentprocess.bpel b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel
index 08c6b8f636..25c10d43a7 100644
--- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/paymentprocess.bpel
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel
@@ -16,22 +16,22 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-<process name="PaymentProcess"
- targetNamespace="http://www.example.org/PaymentProcess"
+<process name="Payment"
+ targetNamespace="http://www.example.org/Payment"
xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
- xmlns:tns="http://tuscany.apache.org/PaymentProcess"
+ xmlns:tns="http://tuscany.apache.org/Payment"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:pp="http://www.example.org/PaymentProcess/"
+ xmlns:pp="http://www.example.org/Payment/"
xmlns:ccp="http://www.example.org/CreditCardPayment/"
xmlns:eg="http://www.example.org/EmailGateway/"
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
- <import location="PaymentProcess.wsdl"
+ <import location="Payment.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"
- namespace="http://www.example.org/PaymentProcess/"/>
+ namespace="http://www.example.org/Payment/"/>
<import location="CreditCardPayment.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"
@@ -42,7 +42,7 @@
namespace="http://www.example.org/EmailGateway/"/>
<partnerLinks>
- <partnerLink name="paymentProcessPartnerLink" partnerLinkType="pp:PaymentProcessLinkType" myRole="forward" />
+ <partnerLink name="paymentPartnerLink" partnerLinkType="pp:PaymentLinkType" myRole="forward" />
<partnerLink name="creditCardPaymentPartnerLink" partnerLinkType="ccp:CreditCardPaymentLinkType" partnerRole="forward" initializePartnerRole="yes" />
<partnerLink name="emailGatewayPartnerLink" partnerLinkType="eg:EmailGatewayLinkType" partnerRole="forward" initializePartnerRole="yes" />
</partnerLinks>
@@ -58,8 +58,8 @@
<sequence>
<receive name="start"
- partnerLink="paymentProcessPartnerLink"
- portType="pp:PaymentProcess"
+ partnerLink="paymentPartnerLink"
+ portType="pp:Payment"
operation="makePayment"
variable="makePaymentRequestMessage"
createInstance="yes"/>
@@ -144,7 +144,7 @@
<copy>
<from>
<literal>
- <makePaymentResponse xmlns="http://www.example.org/PaymentProcess/">
+ <makePaymentResponse xmlns="http://www.example.org/Payment">
<Status xmlns="">OK</Status>
</makePaymentResponse>
</literal>
@@ -155,8 +155,8 @@
<reply name="end"
- partnerLink="paymentProcessPartnerLink"
- portType="pp:PaymentProcess"
+ partnerLink="paymentPartnerLink"
+ portType="pp:Payment"
operation="makePayment"
variable="makePaymentResponseMessage">
</reply>