summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main')
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/CreditCardPayment.wsdl10
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/EmailGateway.wsdl10
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml4
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/Payment.wsdl36
-rw-r--r--sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/payment.bpel42
5 files changed, 51 insertions, 51 deletions
diff --git a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/CreditCardPayment.wsdl b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/CreditCardPayment.wsdl
index a90c73cdfb..22ef6de317 100644
--- a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/CreditCardPayment.wsdl
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/CreditCardPayment.wsdl
@@ -18,17 +18,17 @@
* under the License.
-->
<wsdl:definitions name="CreditCardPayment"
- targetNamespace="http://www.example.org/CreditCardPayment/"
+ targetNamespace="http://www.tuscanyscatours.com/CreditCardPayment/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://www.example.org/CreditCardPayment/"
+ xmlns:tns="http://www.tuscanyscatours.com/CreditCardPayment/"
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/CreditCardPayment/"
- xmlns:tns="http://www.example.org/CreditCardPayment/"
+ targetNamespace="http://www.tuscanyscatours.com/CreditCardPayment/"
+ xmlns:tns="http://www.tuscanyscatours.com/CreditCardPayment/"
elementFormDefault="unqualified">
<xsd:element name="authorize" type="tns:AuthorizeType"/>
@@ -96,7 +96,7 @@
<wsdl:binding name="CreditCardPaymentBinding" type="tns:CreditCardPayment">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="authorize">
- <soap:operation soapAction="http://www.example.org/CreditCardPayment/authorize" />
+ <soap:operation soapAction="http://www.tuscanyscatours.com/CreditCardPayment/authorize" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
diff --git a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/EmailGateway.wsdl b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/EmailGateway.wsdl
index d9a5e36bc0..a097d9b7e4 100644
--- a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/EmailGateway.wsdl
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/EmailGateway.wsdl
@@ -18,17 +18,17 @@
* under the License.
-->
<wsdl:definitions name="EmailGateway"
- targetNamespace="http://www.example.org/EmailGateway/"
+ targetNamespace="http://www.tuscanyscatours.com/EmailGateway/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://www.example.org/EmailGateway/"
+ xmlns:tns="http://www.tuscanyscatours.com/EmailGateway/"
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/EmailGateway/"
- xmlns:tns="http://www.example.org/EmailGateway/">
+ targetNamespace="http://www.tuscanyscatours.com/EmailGateway/"
+ xmlns:tns="http://www.tuscanyscatours.com/EmailGateway/">
<xsd:element name="sendEmail" type="tns:SendEmailType"/>
<xsd:complexType name="SendEmailType">
@@ -68,7 +68,7 @@
<wsdl:binding name="EmailGatwayBinding" type="tns:EmailGateway">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="sendEmail">
- <soap:operation soapAction="http://www.example.org/EmailGateway/sendEmail" />
+ <soap:operation soapAction="http://www.tuscanyscatours.com/EmailGateway/sendEmail" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
diff --git a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml
index 6ce6568b62..725c95a2bd 100644
--- a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/META-INF/sca-contribution.xml
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/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.payment"/>
- <export namespace="http://www.example.org/Payment"/>
+ <export namespace="http://www.tuscanyscatours.com/Payment"/>
+ <export namespace="http://www.tuscanyscatours.com/Payment/"/>
</contribution> \ No newline at end of file
diff --git a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/Payment.wsdl b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/Payment.wsdl
index 399b550334..e2c4062f2e 100644
--- a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/Payment.wsdl
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/Payment.wsdl
@@ -18,51 +18,51 @@
* under the License.
-->
<wsdl:definitions name="Payment"
- targetNamespace="http://www.example.org/Payment/"
+ targetNamespace="http://www.tuscanyscatours.com/Payment/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="http://www.example.org/Payment/"
+ xmlns:tns="http://www.tuscanyscatours.com/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/Payment/"
- xmlns:tns="http://www.example.org/Payment/">
+ targetNamespace="http://www.tuscanyscatours.com/Payment/"
+ xmlns:tns="http://www.tuscanyscatours.com/Payment/">
- <xsd:complexType name="MakePaymentType">
+ <xsd:complexType name="MakePaymentMemberType">
<xsd:sequence>
<xsd:element name="CustomerId" type="xsd:string"></xsd:element>
<xsd:element name="Amount" type="xsd:float"></xsd:element>
</xsd:sequence>
</xsd:complexType>
- <xsd:element name="makePayment" type="tns:MakePaymentType"/>
+ <xsd:element name="makePaymentMember" type="tns:MakePaymentMemberType"/>
- <xsd:complexType name="MakePaymentResponseType">
+ <xsd:complexType name="MakePaymentMemberResponseType">
<xsd:sequence>
<xsd:element name="Status" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
- <xsd:element name="makePaymentResponse" type="tns:MakePaymentResponseType"/>
+ <xsd:element name="makePaymentMemberResponse" type="tns:MakePaymentMemberResponseType"/>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="MakePaymentRequest">
- <wsdl:part name="parameters" element="tns:makePayment"></wsdl:part>
+ <wsdl:message name="MakePaymentMemberRequest">
+ <wsdl:part name="parameters" element="tns:makePaymentMember"></wsdl:part>
</wsdl:message>
- <wsdl:message name="MakePaymentResponse">
- <wsdl:part name="parameters" element="tns:makePaymentResponse"></wsdl:part>
+ <wsdl:message name="MakePaymentMemberResponse">
+ <wsdl:part name="parameters" element="tns:makePaymentMemberResponse"></wsdl:part>
</wsdl:message>
<wsdl:portType name="Payment">
- <wsdl:operation name="makePayment">
- <wsdl:input message="tns:MakePaymentRequest"></wsdl:input>
- <wsdl:output message="tns:MakePaymentResponse"></wsdl:output>
+ <wsdl:operation name="makePaymentMember">
+ <wsdl:input message="tns:MakePaymentMemberRequest"></wsdl:input>
+ <wsdl:output message="tns:MakePaymentMemberResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<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/Payment/makePayment" />
+ <wsdl:operation name="makePaymentMember">
+ <soap:operation soapAction="http://www.tuscanyscatours.com/Payment/makePayment" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
@@ -73,7 +73,7 @@
</wsdl:binding>
<wsdl:service name="PaymentService">
<wsdl:port name="PaymentPort" binding="tns:PaymentBinding">
- <soap:address location="http://localhost:8083/Payment" />
+ <soap:address location="http://localhost:8080/Payment" />
</wsdl:port>
</wsdl:service>
diff --git a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/payment.bpel b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/payment.bpel
index 25c10d43a7..8f11d76888 100644
--- a/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/payment.bpel
+++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/main/resources/payment.bpel
@@ -17,29 +17,29 @@
~ under the License.
-->
<process name="Payment"
- targetNamespace="http://www.example.org/Payment"
+ targetNamespace="http://www.tuscanyscatours.com/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/Payment"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:pp="http://www.example.org/Payment/"
- xmlns:ccp="http://www.example.org/CreditCardPayment/"
- xmlns:eg="http://www.example.org/EmailGateway/"
+ xmlns:pp="http://www.tuscanyscatours.com/Payment/"
+ xmlns:ccp="http://www.tuscanyscatours.com/CreditCardPayment/"
+ xmlns:eg="http://www.tuscanyscatours.com/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="Payment.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"
- namespace="http://www.example.org/Payment/"/>
+ namespace="http://www.tuscanyscatours.com/Payment/"/>
<import location="CreditCardPayment.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"
- namespace="http://www.example.org/CreditCardPayment/"/>
+ namespace="http://www.tuscanyscatours.com/CreditCardPayment/"/>
<import location="EmailGateway.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"
- namespace="http://www.example.org/EmailGateway/"/>
+ namespace="http://www.tuscanyscatours.com/EmailGateway/"/>
<partnerLinks>
<partnerLink name="paymentPartnerLink" partnerLinkType="pp:PaymentLinkType" myRole="forward" />
@@ -48,8 +48,8 @@
</partnerLinks>
<variables>
- <variable name="makePaymentRequestMessage" messageType="pp:MakePaymentRequest"/>
- <variable name="makePaymentResponseMessage" messageType="pp:MakePaymentResponse"/>
+ <variable name="makePaymentMemberRequestMessage" messageType="pp:MakePaymentMemberRequest"/>
+ <variable name="makePaymentMemberResponseMessage" messageType="pp:MakePaymentMemberResponse"/>
<variable name="authorizeRequestMessage" messageType="ccp:AuthorizeRequest"/>
<variable name="authorizeResponseMessage" messageType="ccp:AuthorizeResponse"/>
<variable name="sendEmailRequestMessage" messageType="eg:SendEmailRequest"/>
@@ -60,8 +60,8 @@
<receive name="start"
partnerLink="paymentPartnerLink"
portType="pp:Payment"
- operation="makePayment"
- variable="makePaymentRequestMessage"
+ operation="makePaymentMember"
+ variable="makePaymentMemberRequestMessage"
createInstance="yes"/>
<!-- set up call to payments service -->
@@ -69,7 +69,7 @@
<copy>
<from>
<literal>
- <authorize xmlns="http://www.example.org/CreditCardPayment/">
+ <authorize xmlns="http://www.tuscanyscatours.com/CreditCardPayment/">
<CreditCard xmlns="">
<CreditCardType>Visa</CreditCardType>
<CreditCardNumber>12345678</CreditCardNumber>
@@ -93,11 +93,11 @@
<to>$authorizeRequestMessage.parameters</to>
</copy>
<copy>
- <from>$makePaymentRequestMessage.parameters/CustomerId/text()</from>
+ <from>$makePaymentMemberRequestMessage.parameters/CustomerId/text()</from>
<to>$authorizeRequestMessage.parameters/CreditCard/CardOwner/Name</to>
</copy>
<copy>
- <from>$makePaymentRequestMessage.parameters/Amount/text()</from>
+ <from>$makePaymentMemberRequestMessage.parameters/Amount/text()</from>
<to>$authorizeRequestMessage.parameters/Amount</to>
</copy>
</assign>
@@ -114,7 +114,7 @@
<copy>
<from>
<literal>
- <sendEmail xmlns="http://www.example.org/EmailGateway/">
+ <sendEmail xmlns="http://www.tuscanyscatours.com/EmailGateway/">
<Email xmlns="">
<To>Default</To>
<Title>Payment Confirmation</Title>
@@ -126,7 +126,7 @@
<to>$sendEmailRequestMessage.parameters</to>
</copy>
<copy>
- <from>$makePaymentRequestMessage.parameters/CustomerId/text()</from>
+ <from>$makePaymentMemberRequestMessage.parameters/CustomerId/text()</from>
<to>$sendEmailRequestMessage.parameters/Email/To</to>
</copy>
</assign>
@@ -144,12 +144,12 @@
<copy>
<from>
<literal>
- <makePaymentResponse xmlns="http://www.example.org/Payment">
+ <makePaymentMemberResponse xmlns="http://www.tuscanyscatours.com/Payment">
<Status xmlns="">OK</Status>
- </makePaymentResponse>
+ </makePaymentMemberResponse>
</literal>
</from>
- <to>$makePaymentResponseMessage.parameters</to>
+ <to>$makePaymentMemberResponseMessage.parameters</to>
</copy>
</assign>
@@ -157,8 +157,8 @@
<reply name="end"
partnerLink="paymentPartnerLink"
portType="pp:Payment"
- operation="makePayment"
- variable="makePaymentResponseMessage">
+ operation="makePaymentMember"
+ variable="makePaymentMemberResponseMessage">
</reply>
</sequence>
</process>