summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly-xsd/src
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-10-21 13:22:46 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-10-21 13:22:46 +0000
commit27135c0af6c70a3cc82e64b5c34c6cbdf9b738c3 (patch)
treeb403505b82aca5c2ef3ae445e5c6b6482ea78223 /java/sca/modules/assembly-xsd/src
parent8cd9a3eeda24fc639227f2af6d3961974e51dfe9 (diff)
Experimental request response binding support. Just implemented for jms service binding and only activated when wireFormat appears in the SCDL. Still early stage so many more changes to come.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706620 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly-xsd/src')
-rw-r--r--java/sca/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd18
-rw-r--r--java/sca/modules/assembly-xsd/src/main/resources/sca-core.xsd18
2 files changed, 36 insertions, 0 deletions
diff --git a/java/sca/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd b/java/sca/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
index 5691bca8d1..1aaf407dfc 100644
--- a/java/sca/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
+++ b/java/sca/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
@@ -136,4 +136,22 @@
<element name="binding.jms" type="sca:JMSBinding"
substitutionGroup="sca:binding"/>
+
+ <complexType name="WireFormatJMSDefaultType">
+ <complexContent>
+ <extension base="sca:WireFormatType"/>
+ </complexContent>
+ </complexType>
+
+ <element name="wireFormat.jmsDefault" type="sca:WireFormatJMSDefaultType"
+ substitutionGroup="sca:wireFormat"/>
+
+ <complexType name="OperationSelectorJMSDefaultType">
+ <complexContent>
+ <extension base="sca:OperationSelectorType"/>
+ </complexContent>
+ </complexType>
+
+ <element name="operationSelector.jmsDefault" type="sca:OperationSelectorJMSDefaultType"
+ substitutionGroup="sca:operationSelector"/>
</schema>
diff --git a/java/sca/modules/assembly-xsd/src/main/resources/sca-core.xsd b/java/sca/modules/assembly-xsd/src/main/resources/sca-core.xsd
index b0d94102af..da31c25baf 100644
--- a/java/sca/modules/assembly-xsd/src/main/resources/sca-core.xsd
+++ b/java/sca/modules/assembly-xsd/src/main/resources/sca-core.xsd
@@ -150,6 +150,8 @@
<element name="binding" type="sca:Binding" abstract="true"/>
<complexType name="Binding" abstract="true">
<sequence>
+ <element ref="sca:wireFormat" minOccurs="0" maxOccurs="1" />
+ <element ref="sca:operationSelector" minOccurs="0" maxOccurs="1" />
<element name="operation" type="sca:Operation" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
@@ -159,6 +161,22 @@
<attribute name="policySets" type="sca:listOfQNames" use="optional"/>
</complexType>
+ <element name="wireFormat" type="sca:WireFormatType"/>
+ <complexType name="WireFormatType" abstract="true">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ <anyAttribute namespace="##other" processContents="lax"/>
+ </complexType>
+
+ <element name="operationSelector" type="sca:OperationSelectorType"/>
+ <complexType name="OperationSelectorType" abstract="true">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ <anyAttribute namespace="##other" processContents="lax"/>
+ </complexType>
+
<element name="bindingType" type="sca:BindingType"/>
<complexType name="BindingType">
<sequence minOccurs="0" maxOccurs="unbounded">