forked from jboss-switchyard/components
/
soap-v1.xsd
120 lines (112 loc) · 5.59 KB
/
soap-v1.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="UTF-8"?>
<!--
JBoss, Home of Professional Open Source
Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
as indicated by the @authors tag. All rights reserved.
See the copyright.txt in the distribution for a
full listing of individual contributors.
This copyrighted material is made available to anyone wishing to use,
modify, copy, or redistribute it subject to the terms and conditions
of the GNU Lesser General Public License, v. 2.1.
This program is distributed in the hope that it will be useful, but WITHOUT A
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License,
v.2.1 along with this distribution; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:switchyard-component-soap:config:1.0"
xmlns:soap="urn:switchyard-component-soap:config:1.0"
xmlns:swyd="urn:switchyard-config:switchyard:1.0"
xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
elementFormDefault="qualified">
<import namespace="urn:switchyard-config:switchyard:1.0"/>
<import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"/>
<complexType name="ContextMapperType">
<complexContent>
<extension base="swyd:ContextMapperType">
<attribute name="soapHeadersType" type="soap:soapHeadersType" use="optional" default="VALUE"/>
</extension>
</complexContent>
</complexType>
<complexType name="MessageComposerType">
<complexContent>
<extension base="swyd:MessageComposerType">
<attribute name="unwrapped" type="boolean" use="optional" />
</extension>
</complexContent>
</complexType>
<element name="binding.soap" type="soap:SOAPBindingType" substitutionGroup="swyd:binding.switchyard"/>
<complexType name="SOAPBindingType">
<complexContent>
<extension base="swyd:SwitchYardBindingType">
<sequence>
<element name="contextMapper" type="soap:ContextMapperType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Specify the ContextMapper to be used.
</documentation>
</annotation>
</element>
<element name="messageComposer" type="soap:MessageComposerType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Specify the MessageComposer to be used.
</documentation>
</annotation>
</element>
<element name="wsdl" type="anyURI" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
A WSDL file name that can be found in classpath else can be a file://, http:// or https:// URL location.
</documentation>
</annotation>
</element>
<element name="wsdlPort" type="soap:wsdlPortType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Specify the WSDL port to be used. The string can be in the form {namespaceURI}serviceName:portName", with the "{namespaceURI}" and "serviceName:" part being optional.
</documentation>
</annotation>
</element>
<element name="socketAddr" type="string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Specify the IP Socket Address to be used. The string can be in the form "hostName/ipAddress:portNumber", with the "hostName/ipAddress:" or ":portNumber" part being optional.
</documentation>
</annotation>
</element>
<element name="contextPath" type="string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
The context path used in the HTTP URL
</documentation>
</annotation>
</element>
<element name="endpointAddress" type="string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
The enpoint address override
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<simpleType name="soapHeadersType">
<restriction base="string">
<enumeration value="CONFIG"/>
<enumeration value="DOM"/>
<enumeration value="VALUE"/>
<enumeration value="XML"/>
</restriction>
</simpleType>
<simpleType name="wsdlPortType">
<restriction base="string">
<pattern value="\{.+\}.+:[^:]+|.+:[^:]+|[^:]+"></pattern>
</restriction>
</simpleType>
</schema>