summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-11-24 08:24:41 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-11-24 08:24:41 +0000
commit3d78e7e023933818a502e19f066e08482caa67aa (patch)
tree94349057ffcb9d18481471feceba0594a365976a /sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl
parent3b0c886c1467b431cac9e9a76c5a1af1573ab237 (diff)
More updates the BPEL component in the payment process
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@720132 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl48
1 files changed, 25 insertions, 23 deletions
diff --git a/sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl b/sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl
index c80c37cdf7..14ab0b3bbb 100644
--- a/sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl
+++ b/sandbox/travelsample/payment-contribution/wsdl/CreditCardPayment.wsdl
@@ -26,23 +26,25 @@
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/">
- <xsd:element name="authorize">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="CreditCard" type="tns:CreditCardDetailsType"></xsd:element>
- <xsd:element name="Amount" type="xsd:float"></xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="authorizeResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Status" type="xsd:string"></xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.example.org/CreditCardPayment/"
+ xmlns:tns="http://www.example.org/CreditCardPayment/">
+
+ <xsd:element name="Authorize" type="tns:AuthorizeType"/>
+ <xsd:complexType name="AuthorizeType">
+ <xsd:sequence>
+ <xsd:element name="CreditCard" type="tns:CreditCardDetailsType"></xsd:element>
+ <xsd:element name="Amount" type="xsd:float"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:element name="AuthorizeResponse" type="tns:AuthorizeResponseType"/>
+ <xsd:complexType name="AuthorizeResponseType">
+ <xsd:sequence>
+ <xsd:element name="Status" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
<xsd:complexType name="CreditCardDetailsType">
<xsd:sequence>
<xsd:element name="CreditCardType" type="tns:CreditCardTypeType" minOccurs="0" />
@@ -78,16 +80,16 @@
</xsd:complexType>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="authorizeRequest">
- <wsdl:part name="parameters" element="tns:authorize"></wsdl:part>
+ <wsdl:message name="AuthorizeRequest">
+ <wsdl:part name="parameters" element="tns:Authorize"></wsdl:part>
</wsdl:message>
- <wsdl:message name="authorizeResponse">
- <wsdl:part name="parameters" element="tns:authorizeResponse"></wsdl:part>
+ <wsdl:message name="AuthorizeResponse">
+ <wsdl:part name="parameters" element="tns:AuthorizeResponse"></wsdl:part>
</wsdl:message>
<wsdl:portType name="CreditCardPayment">
<wsdl:operation name="authorize">
- <wsdl:input message="tns:authorizeRequest"></wsdl:input>
- <wsdl:output message="tns:authorizeResponse"></wsdl:output>
+ <wsdl:input message="tns:AuthorizeRequest"></wsdl:input>
+ <wsdl:output message="tns:AuthorizeResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CreditCardPaymentBinding" type="tns:CreditCardPayment">