diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-30 12:29:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-30 12:29:50 +0000 |
commit | 34766b4b32027392eb927557cdb6230061803e7c (patch) | |
tree | a64214a0e0c9bbb3bdbdc4f0b0dd941d33f3f0b6 /branches/sca-java-1.x/modules/assembly-xsd/src/main/resources | |
parent | 1936c49187913656f82d289f5e72bdf536c142bf (diff) |
TUSCANY-2996 - Add support for wrapSingle attribute that, when set true, ensures that single parameters are wrapped in an array on the wire. When set false single parameters will not be wrapped on the wire. Multiple parameters will always be wrapped.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@770201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/assembly-xsd/src/main/resources')
-rw-r--r-- | branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd index b588288707..b3c3dc8bf9 100644 --- a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd +++ b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd @@ -92,9 +92,18 @@ <complexType name="WireFormatJMSObjectType"> <complexContent> - <extension base="t:WireFormat"/> + <extension base="t:WireFormat"> + <attribute name="wrapSingle" default="false"> + <simpleType> + <restriction base="string"> + <enumeration value="true"/> + <enumeration value="false"/> + </restriction> + </simpleType> + </attribute> + </extension> </complexContent> - </complexType> + </complexType> <element name="wireFormat.jmsObject" type="t:WireFormatJMSObjectType" substitutionGroup="t:wireFormat"/> |