Author: heiko.braun(a)jboss.com
Date: 2009-11-23 11:51:40 -0500 (Mon, 23 Nov 2009)
New Revision: 301
Added:
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.xsd
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/CustomerOrder.xsd
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/StandardTypes.xsd
Removed:
trunk/samples/esb/webservice_esb_bpel/bpel/schema/
Modified:
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/BPELRetailer.wsdl
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.wsdl
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/OrderManager.wsdl
trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Retailer.wsdl
Log:
Move imported files to single directory
Modified: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/BPELRetailer.wsdl
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/BPELRetailer.wsdl 2009-11-23 16:50:50
UTC (rev 300)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/BPELRetailer.wsdl 2009-11-23 16:51:40
UTC (rev 301)
@@ -1,28 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="BPELRetailer"
targetNamespace="http://www.jboss.org/samples/bpel/BPELRetailer.wsdl...
xmlns:tns="http://www.jboss.org/samples/bpel/BPELRetailer.wsdl"
xmlns:ord="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"
xmlns:cust="http://www.jboss.org/samples/bpel/Customer.xsd"
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:rws="http://www.jboss.org/samples/bpel/Retailer.wsdl"
xmlns:cws="http://www.jboss.org/samples/bpel/Customer.wsdl">
- <wsdl:import
namespace="http://www.jboss.org/samples/bpel/Retailer.wsdl"
location="Retailer.wsdl"/>
- <wsdl:import
namespace="http://www.jboss.org/samples/bpel/Customer.wsdl"
location="Customer.wsdl"/>
- <wsdl:import
namespace="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
location="OrderManager.wsdl"/>
-<plnk:partnerLinkType
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
name="PurchasingPLT">
- <plnk:role name="Buyer" portType="cws:CustomerPortType"/>
- <plnk:role name="Seller" portType="rws:RetailerPortType"/>
-</plnk:partnerLinkType>
-<vprop:property
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
name="customerNumber" type="xsd:string"/>
-<vprop:property
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
name="poNumber" type="xsd:string"/>
-<vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="cws:SendOrderConfirmationRequest" part="Document"
propertyName="tns:poNumber">
- <vprop:query>/cust:orderConfirmation/cust:poNumber</vprop:query>
-</vprop:propertyAlias>
-<vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="rws:SubmitOrderRequest" part="Document"
propertyName="tns:poNumber">
- <vprop:query>
- /ord:customerOrder/ord:header/ord:poNumber
- </vprop:query>
-</vprop:propertyAlias>
-<vprop:property
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
name="orderNum" type="xsd:string"/>
-<vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="ns:OrderManagerPortType_customerOrderResponse"
part="result" propertyName="tns:orderNum"/>
-<vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="ns:SendSalesOrderNotificationRequest" part="Document"
propertyName="tns:orderNum">
- <vprop:query>ns:orderNumber</vprop:query>
-</vprop:propertyAlias>
-<vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="rws:SubmitOrderRequest" part="Document"
propertyName="tns:customerNumber">
- <vprop:query>ord:header/ord:customerNumber</vprop:query>
-</vprop:propertyAlias>
+ <wsdl:import
namespace="http://www.jboss.org/samples/bpel/Retailer.wsdl"
location="Retailer.wsdl"/>
+ <wsdl:import
namespace="http://www.jboss.org/samples/bpel/Customer.wsdl"
location="Customer.wsdl"/>
+ <wsdl:import
namespace="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
location="OrderManager.wsdl"/>
+
+ <plnk:partnerLinkType
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
name="PurchasingPLT">
+ <plnk:role name="Buyer"
portType="cws:CustomerPortType"/>
+ <plnk:role name="Seller"
portType="rws:RetailerPortType"/>
+ </plnk:partnerLinkType>
+ <vprop:property
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
name="customerNumber" type="xsd:string"/>
+ <vprop:property
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
name="poNumber" type="xsd:string"/>
+ <vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="cws:SendOrderConfirmationRequest" part="Document"
propertyName="tns:poNumber">
+ <vprop:query>/cust:orderConfirmation/cust:poNumber</vprop:query>
+ </vprop:propertyAlias>
+ <vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="rws:SubmitOrderRequest" part="Document"
propertyName="tns:poNumber">
+ <vprop:query>
+ /ord:customerOrder/ord:header/ord:poNumber
+ </vprop:query>
+ </vprop:propertyAlias>
+ <vprop:property
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
name="orderNum" type="xsd:string"/>
+ <vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="ns:OrderManagerPortType_customerOrderResponse"
part="result" propertyName="tns:orderNum"/>
+ <vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="ns:SendSalesOrderNotificationRequest" part="Document"
propertyName="tns:orderNum">
+ <vprop:query>ns:orderNumber</vprop:query>
+ </vprop:propertyAlias>
+ <vprop:propertyAlias
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
messageType="rws:SubmitOrderRequest" part="Document"
propertyName="tns:customerNumber">
+ <vprop:query>ord:header/ord:customerNumber</vprop:query>
+ </vprop:propertyAlias>
</wsdl:definitions>
Modified: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.wsdl
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.wsdl 2009-11-23 16:50:50 UTC
(rev 300)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.wsdl 2009-11-23 16:51:40 UTC
(rev 301)
@@ -10,7 +10,7 @@
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import
namespace="http://www.jboss.org/samples/bpel/Customer.xsd"
- schemaLocation="../schema/Customer.xsd" />
+ schemaLocation="Customer.xsd" />
</xs:schema>
</wsdl:types>
@@ -26,7 +26,7 @@
<wsdl:operation name="SendOrderConfirmation">
<wsdl:input message="tns:SendOrderConfirmationRequest" />
<wsdl:output message="tns:SendOrderConfirmationResponse" />
- </wsdl:operation>
+ </wsdl:operation>
</wsdl:portType>
Copied: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.xsd (from rev 296,
trunk/samples/esb/webservice_esb_bpel/bpel/schema/Customer.xsd)
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.xsd
(rev 0)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Customer.xsd 2009-11-23 16:51:40 UTC
(rev 301)
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+
targetNamespace="http://www.jboss.org/samples/bpel/Customer.xsd"
+
xmlns:tns="http://www.jboss.org/samples/bpel/Customer.xsd"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="orderConfirmation" type="tns:OrderConfirmation"
/>
+ <xs:element name="orderConfirmationAck" type="xs:boolean" />
+
+ <xs:complexType name="OrderConfirmation">
+ <xs:sequence>
+ <xs:element name="customerNumber" type="xs:string" />
+ <xs:element name="poNumber" type="xs:string" />
+ <xs:element name="orderNumber" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Copied: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/CustomerOrder.xsd (from rev 296,
trunk/samples/esb/webservice_esb_bpel/bpel/schema/CustomerOrder.xsd)
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/CustomerOrder.xsd
(rev 0)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/CustomerOrder.xsd 2009-11-23 16:51:40
UTC (rev 301)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+
targetNamespace="http://www.jboss.org/samples/bpel/CustomerOrder.xsd...
+
xmlns:tns="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"
+
xmlns:std="http://www.jboss.org/samples/bpel/StandardTypes.xsd"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:import
+
namespace="http://www.jboss.org/samples/bpel/StandardTypes.xsd"
+ schemaLocation="StandardTypes.xsd" />
+
+ <xs:element name="customerOrder" type="tns:CustomerOrder" />
+ <xs:element name="header" type="tns:OrderHeader" />
+ <xs:element name="items" type="tns:OrderItems" />
+ <xs:element name="item" type="tns:Item" />
+ <xs:element name="customerOrderAck" type="xs:boolean" />
+ <xs:element name="orderInquiry" type="tns:OrderInquiry" />
+ <xs:element name="customerNumber" type="xs:string" />
+ <xs:element name="poNumber" type="xs:string" />
+ <xs:element name="orderStatus" type="xs:string" />
+ <xs:element name="cancelOrder" type="tns:CancelOrder" />
+
+ <xs:complexType name="CustomerOrder">
+ <xs:sequence>
+ <xs:element ref="tns:header" />
+ <xs:element ref="tns:items" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OrderHeader">
+ <xs:sequence>
+ <xs:element ref="tns:customerNumber" />
+ <xs:element ref="tns:poNumber" />
+ <xs:element name="orderDate" type="xs:date" />
+ <xs:element name="orderTotal" type="std:Amount" />
+ <xs:element name="billTo" type="std:Party" />
+ <xs:element name="shipTo" type="std:Party" />
+ <xs:element name="billTerms" type="xs:string"
minOccurs="0"
+ maxOccurs="1" />
+ <xs:element name="shipTerms" type="xs:string"
minOccurs="0"
+ maxOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OrderItems">
+ <xs:sequence>
+ <xs:element ref="tns:item" maxOccurs="unbounded"
+ minOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Item">
+ <xs:sequence>
+ <xs:element name="partNumber" type="std:SKU" />
+ <xs:element name="description" type="xs:string" />
+ <xs:element name="quantity" type="xs:unsignedShort" />
+ <xs:element name="price" type="std:Amount" />
+ <xs:element name="extensionAmount" type="std:Amount" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OrderInquiry">
+ <xs:sequence>
+ <xs:element ref="tns:customerNumber" />
+ <xs:element ref="tns:poNumber" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="CancelOrder">
+ <xs:sequence>
+ <xs:element ref="tns:orderInquiry" />
+ </xs:sequence>
+ </xs:complexType>
+
+
+
+</xs:schema>
Modified: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/OrderManager.wsdl
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/OrderManager.wsdl 2009-11-23 16:50:50
UTC (rev 300)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/OrderManager.wsdl 2009-11-23 16:51:40
UTC (rev 301)
@@ -18,7 +18,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import
namespace="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"
- schemaLocation="../schema/CustomerOrder.xsd" />
+ schemaLocation="CustomerOrder.xsd" />
<!--
<complexType name="CancelOrder">
Modified: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Retailer.wsdl
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Retailer.wsdl 2009-11-23 16:50:50 UTC
(rev 300)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/Retailer.wsdl 2009-11-23 16:51:40 UTC
(rev 301)
@@ -12,7 +12,7 @@
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import
namespace="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"
- schemaLocation="../schema/CustomerOrder.xsd" />
+ schemaLocation="CustomerOrder.xsd" />
</xsd:schema>
</wsdl:types>
@@ -32,21 +32,21 @@
</wsdl:portType>
<wsdl:binding name="RetailerBinding"
type="tns:RetailerPortType">
<soap:binding style="document"
-
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="SubmitOrder">
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="SubmitOrder">
<soap:operation
-
soapAction="http://www.jboss.org/samples/bpel/Retailer.wsdl/SubmitOr...
/>
- <wsdl:input>
+
soapAction="http://www.jboss.org/samples/bpel/Retailer.wsdl/SubmitOr...
/>
+ <wsdl:input>
<soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
+ </wsdl:input>
+ <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="RetailerService">
- <wsdl:port name="RetailerPort"
binding="tns:RetailerBinding">
+ </wsdl:binding>
+ <wsdl:service name="RetailerService">
+ <wsdl:port name="RetailerPort"
binding="tns:RetailerBinding">
<soap:address location="http://localhost:8080/bpel/processes/Retailer"
/>
</wsdl:port>
- </wsdl:service>
+ </wsdl:service>
</wsdl:definitions>
Copied: trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/StandardTypes.xsd (from rev 296,
trunk/samples/esb/webservice_esb_bpel/bpel/schema/StandardTypes.xsd)
===================================================================
--- trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/StandardTypes.xsd
(rev 0)
+++ trunk/samples/esb/webservice_esb_bpel/bpel/wsdl/StandardTypes.xsd 2009-11-23 16:51:40
UTC (rev 301)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+
targetNamespace="http://www.jboss.org/samples/bpel/StandardTypes.xsd...
+
xmlns:tns="http://www.jboss.org/samples/bpel/StandardTypes.xsd"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:complexType name="Party">
+ <xs:sequence>
+ <xs:element name="company" type="xs:string" />
+ <xs:element name="contact" type="tns:Contact" />
+ <xs:element name="address" type="tns:Address" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Contact">
+ <xs:sequence>
+ <xs:element name="name" type="xs:string" />
+ <xs:element name="phone" type="xs:string" />
+ <xs:element name="fax" type="xs:string" />
+ <xs:element name="email" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Address">
+ <xs:sequence>
+ <xs:element name="street1" type="xs:string" />
+ <xs:element name="street2" type="xs:string"
minOccurs="0"
+ maxOccurs="1" />
+ <xs:element name="city" type="xs:string" />
+ <xs:element name="state" type="xs:string" />
+ <xs:element name="zip" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="SKU">
+ <xs:restriction base="xs:string">
+ <xs:length value="8" />
+ <xs:pattern value="[A-Z]{3}[0-9]{5}" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="Amount">
+ <xs:restriction base="xs:decimal">
+ <xs:totalDigits value="8" />
+ <xs:fractionDigits value="2" />
+ <xs:minExclusive value="0" />
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>