Skip to content

Commit bc0168f

Browse files
committed
Format XML code consistently
In particular, this commit uses tabs consistently, rather than spaces.
1 parent b20935a commit bc0168f

File tree

183 files changed

+7011
-6563
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+7011
-6563
lines changed
Lines changed: 92 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,96 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
3-
xmlns:sch="http://www.springframework.org/spring-ws/single/schema"
4-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5-
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
6-
xmlns:tns="http://www.springframework.org/spring-ws/single/definitions"
7-
targetNamespace="http://www.springframework.org/spring-ws/single/definitions">
3+
xmlns:sch="http://www.springframework.org/spring-ws/single/schema"
4+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5+
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
6+
xmlns:tns="http://www.springframework.org/spring-ws/single/definitions"
7+
targetNamespace="http://www.springframework.org/spring-ws/single/definitions">
88

9-
<wsdl:types>
10-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
11-
targetNamespace="http://www.springframework.org/spring-ws/single/schema"
12-
xmlns="http://www.springframework.org/spring-ws/single/schema" elementFormDefault="qualified"
13-
attributeFormDefault="unqualified">
14-
<xsd:simpleType name="customType">
15-
<xsd:restriction base="xsd:string"/>
16-
</xsd:simpleType>
17-
<xsd:element name="GetOrderRequest">
18-
<xsd:complexType>
19-
<xsd:sequence>
20-
<xsd:element name="child" type="xsd:string"/>
21-
</xsd:sequence>
22-
</xsd:complexType>
23-
</xsd:element>
24-
<xsd:element name="GetOrderResponse">
25-
<xsd:complexType>
26-
<xsd:sequence>
27-
<xsd:element name="child" type="xsd:string"/>
28-
</xsd:sequence>
29-
</xsd:complexType>
30-
</xsd:element>
31-
<xsd:element name="GetOrderFault">
32-
<xsd:complexType>
33-
<xsd:sequence>
34-
<xsd:element name="child" type="xsd:string"/>
35-
</xsd:sequence>
36-
</xsd:complexType>
37-
</xsd:element>
38-
</xsd:schema>
39-
</wsdl:types>
40-
<wsdl:message name="GetOrderRequest">
41-
<wsdl:part name="GetOrderRequest" element="sch:GetOrderRequest"/>
42-
</wsdl:message>
43-
<wsdl:message name="GetOrderFault">
44-
<wsdl:part name="GetOrderFault" element="sch:GetOrderFault"/>
45-
</wsdl:message>
46-
<wsdl:message name="GetOrderResponse">
47-
<wsdl:part name="GetOrderResponse" element="sch:GetOrderResponse"/>
48-
</wsdl:message>
49-
<wsdl:portType name="Order">
50-
<wsdl:operation name="GetOrder">
51-
<wsdl:input message="tns:GetOrderRequest" name="GetOrderRequest"/>
52-
<wsdl:output message="tns:GetOrderResponse" name="GetOrderResponse"/>
53-
<wsdl:fault message="tns:GetOrderFault" name="GetOrderFault"/>
54-
</wsdl:operation>
55-
</wsdl:portType>
56-
<wsdl:binding name="OrderSoap12" type="tns:Order">
57-
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
58-
<wsdl:operation name="GetOrder">
59-
<soap12:operation soapAction=""/>
60-
<wsdl:input name="GetOrderRequest">
61-
<soap12:body use="literal"/>
62-
</wsdl:input>
63-
<wsdl:output name="GetOrderResponse">
64-
<soap12:body use="literal"/>
65-
</wsdl:output>
66-
<wsdl:fault name="GetOrderFault">
67-
<soap12:fault name="GetOrderFault" use="literal"/>
68-
</wsdl:fault>
69-
</wsdl:operation>
70-
</wsdl:binding>
71-
<wsdl:binding name="OrderSoap11" type="tns:Order">
72-
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
73-
<wsdl:operation name="GetOrder">
74-
<soap:operation soapAction=""/>
75-
<wsdl:input name="GetOrderRequest">
76-
<soap:body use="literal"/>
77-
</wsdl:input>
78-
<wsdl:output name="GetOrderResponse">
79-
<soap:body use="literal"/>
80-
</wsdl:output>
81-
<wsdl:fault name="GetOrderFault">
82-
<soap:fault name="GetOrderFault" use="literal"/>
83-
</wsdl:fault>
84-
</wsdl:operation>
85-
</wsdl:binding>
86-
<wsdl:service name="OrderService">
87-
<wsdl:port binding="tns:OrderSoap11" name="OrderSoap11">
88-
<soap:address location="http://example.com/soap11"/>
89-
</wsdl:port>
90-
<wsdl:port binding="tns:OrderSoap12" name="OrderSoap12">
91-
<soap12:address location="http://example.com/soap12"/>
92-
</wsdl:port>
93-
</wsdl:service>
9+
<wsdl:types>
10+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
11+
targetNamespace="http://www.springframework.org/spring-ws/single/schema"
12+
xmlns="http://www.springframework.org/spring-ws/single/schema"
13+
elementFormDefault="qualified"
14+
attributeFormDefault="unqualified">
15+
<xsd:simpleType name="customType">
16+
<xsd:restriction base="xsd:string"/>
17+
</xsd:simpleType>
18+
<xsd:element name="GetOrderRequest">
19+
<xsd:complexType>
20+
<xsd:sequence>
21+
<xsd:element name="child" type="xsd:string"/>
22+
</xsd:sequence>
23+
</xsd:complexType>
24+
</xsd:element>
25+
<xsd:element name="GetOrderResponse">
26+
<xsd:complexType>
27+
<xsd:sequence>
28+
<xsd:element name="child" type="xsd:string"/>
29+
</xsd:sequence>
30+
</xsd:complexType>
31+
</xsd:element>
32+
<xsd:element name="GetOrderFault">
33+
<xsd:complexType>
34+
<xsd:sequence>
35+
<xsd:element name="child" type="xsd:string"/>
36+
</xsd:sequence>
37+
</xsd:complexType>
38+
</xsd:element>
39+
</xsd:schema>
40+
</wsdl:types>
41+
<wsdl:message name="GetOrderRequest">
42+
<wsdl:part name="GetOrderRequest" element="sch:GetOrderRequest"/>
43+
</wsdl:message>
44+
<wsdl:message name="GetOrderFault">
45+
<wsdl:part name="GetOrderFault" element="sch:GetOrderFault"/>
46+
</wsdl:message>
47+
<wsdl:message name="GetOrderResponse">
48+
<wsdl:part name="GetOrderResponse" element="sch:GetOrderResponse"/>
49+
</wsdl:message>
50+
<wsdl:portType name="Order">
51+
<wsdl:operation name="GetOrder">
52+
<wsdl:input message="tns:GetOrderRequest" name="GetOrderRequest"/>
53+
<wsdl:output message="tns:GetOrderResponse" name="GetOrderResponse"/>
54+
<wsdl:fault message="tns:GetOrderFault" name="GetOrderFault"/>
55+
</wsdl:operation>
56+
</wsdl:portType>
57+
<wsdl:binding name="OrderSoap12" type="tns:Order">
58+
<soap12:binding style="document"
59+
transport="http://schemas.xmlsoap.org/soap/http"/>
60+
<wsdl:operation name="GetOrder">
61+
<soap12:operation soapAction=""/>
62+
<wsdl:input name="GetOrderRequest">
63+
<soap12:body use="literal"/>
64+
</wsdl:input>
65+
<wsdl:output name="GetOrderResponse">
66+
<soap12:body use="literal"/>
67+
</wsdl:output>
68+
<wsdl:fault name="GetOrderFault">
69+
<soap12:fault name="GetOrderFault" use="literal"/>
70+
</wsdl:fault>
71+
</wsdl:operation>
72+
</wsdl:binding>
73+
<wsdl:binding name="OrderSoap11" type="tns:Order">
74+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
75+
<wsdl:operation name="GetOrder">
76+
<soap:operation soapAction=""/>
77+
<wsdl:input name="GetOrderRequest">
78+
<soap:body use="literal"/>
79+
</wsdl:input>
80+
<wsdl:output name="GetOrderResponse">
81+
<soap:body use="literal"/>
82+
</wsdl:output>
83+
<wsdl:fault name="GetOrderFault">
84+
<soap:fault name="GetOrderFault" use="literal"/>
85+
</wsdl:fault>
86+
</wsdl:operation>
87+
</wsdl:binding>
88+
<wsdl:service name="OrderService">
89+
<wsdl:port binding="tns:OrderSoap11" name="OrderSoap11">
90+
<soap:address location="http://example.com/soap11"/>
91+
</wsdl:port>
92+
<wsdl:port binding="tns:OrderSoap12" name="OrderSoap12">
93+
<soap12:address location="http://example.com/soap12"/>
94+
</wsdl:port>
95+
</wsdl:service>
9496
</wsdl:definitions>
Lines changed: 72 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,76 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
3-
xmlns:sch="http://www.springframework.org/spring-ws/single/schema"
4-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5-
xmlns:tns="http://www.springframework.org/spring-ws/single/definitions"
6-
targetNamespace="http://www.springframework.org/spring-ws/single/definitions">
3+
xmlns:sch="http://www.springframework.org/spring-ws/single/schema"
4+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5+
xmlns:tns="http://www.springframework.org/spring-ws/single/definitions"
6+
targetNamespace="http://www.springframework.org/spring-ws/single/definitions">
77

8-
<wsdl:types>
9-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
10-
targetNamespace="http://www.springframework.org/spring-ws/single/schema"
11-
xmlns="http://www.springframework.org/spring-ws/single/schema" elementFormDefault="qualified"
12-
attributeFormDefault="unqualified">
13-
<xsd:simpleType name="customType">
14-
<xsd:restriction base="xsd:string"/>
15-
</xsd:simpleType>
16-
<xsd:element name="GetOrderRequest">
17-
<xsd:complexType>
18-
<xsd:sequence>
19-
<xsd:element name="child" type="xsd:string"/>
20-
</xsd:sequence>
21-
</xsd:complexType>
22-
</xsd:element>
23-
<xsd:element name="GetOrderResponse">
24-
<xsd:complexType>
25-
<xsd:sequence>
26-
<xsd:element name="child" type="xsd:string"/>
27-
</xsd:sequence>
28-
</xsd:complexType>
29-
</xsd:element>
30-
<xsd:element name="GetOrderFault">
31-
<xsd:complexType>
32-
<xsd:sequence>
33-
<xsd:element name="child" type="xsd:string"/>
34-
</xsd:sequence>
35-
</xsd:complexType>
36-
</xsd:element>
37-
</xsd:schema>
38-
</wsdl:types>
39-
<wsdl:message name="GetOrderRequest">
40-
<wsdl:part name="GetOrderRequest" element="sch:GetOrderRequest"/>
41-
</wsdl:message>
42-
<wsdl:message name="GetOrderFault">
43-
<wsdl:part name="GetOrderFault" element="sch:GetOrderFault"/>
44-
</wsdl:message>
45-
<wsdl:message name="GetOrderResponse">
46-
<wsdl:part name="GetOrderResponse" element="sch:GetOrderResponse"/>
47-
</wsdl:message>
48-
<wsdl:portType name="Order">
49-
<wsdl:operation name="GetOrder">
50-
<wsdl:input message="tns:GetOrderRequest" name="GetOrderRequest"/>
51-
<wsdl:output message="tns:GetOrderResponse" name="GetOrderResponse"/>
52-
<wsdl:fault message="tns:GetOrderFault" name="GetOrderFault"/>
53-
</wsdl:operation>
54-
</wsdl:portType>
55-
<wsdl:binding name="OrderSoap11" type="tns:Order">
56-
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
57-
<wsdl:operation name="GetOrder">
58-
<soap:operation soapAction=""/>
59-
<wsdl:input name="GetOrderRequest">
60-
<soap:body use="literal"/>
61-
</wsdl:input>
62-
<wsdl:output name="GetOrderResponse">
63-
<soap:body use="literal"/>
64-
</wsdl:output>
65-
<wsdl:fault name="GetOrderFault">
66-
<soap:fault name="GetOrderFault" use="literal"/>
67-
</wsdl:fault>
68-
</wsdl:operation>
69-
</wsdl:binding>
70-
<wsdl:service name="OrderService">
71-
<wsdl:port binding="tns:OrderSoap11" name="OrderSoap11">
72-
<soap:address location="http://example.com/myService"/>
73-
</wsdl:port>
74-
</wsdl:service>
8+
<wsdl:types>
9+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
10+
targetNamespace="http://www.springframework.org/spring-ws/single/schema"
11+
xmlns="http://www.springframework.org/spring-ws/single/schema"
12+
elementFormDefault="qualified"
13+
attributeFormDefault="unqualified">
14+
<xsd:simpleType name="customType">
15+
<xsd:restriction base="xsd:string"/>
16+
</xsd:simpleType>
17+
<xsd:element name="GetOrderRequest">
18+
<xsd:complexType>
19+
<xsd:sequence>
20+
<xsd:element name="child" type="xsd:string"/>
21+
</xsd:sequence>
22+
</xsd:complexType>
23+
</xsd:element>
24+
<xsd:element name="GetOrderResponse">
25+
<xsd:complexType>
26+
<xsd:sequence>
27+
<xsd:element name="child" type="xsd:string"/>
28+
</xsd:sequence>
29+
</xsd:complexType>
30+
</xsd:element>
31+
<xsd:element name="GetOrderFault">
32+
<xsd:complexType>
33+
<xsd:sequence>
34+
<xsd:element name="child" type="xsd:string"/>
35+
</xsd:sequence>
36+
</xsd:complexType>
37+
</xsd:element>
38+
</xsd:schema>
39+
</wsdl:types>
40+
<wsdl:message name="GetOrderRequest">
41+
<wsdl:part name="GetOrderRequest" element="sch:GetOrderRequest"/>
42+
</wsdl:message>
43+
<wsdl:message name="GetOrderFault">
44+
<wsdl:part name="GetOrderFault" element="sch:GetOrderFault"/>
45+
</wsdl:message>
46+
<wsdl:message name="GetOrderResponse">
47+
<wsdl:part name="GetOrderResponse" element="sch:GetOrderResponse"/>
48+
</wsdl:message>
49+
<wsdl:portType name="Order">
50+
<wsdl:operation name="GetOrder">
51+
<wsdl:input message="tns:GetOrderRequest" name="GetOrderRequest"/>
52+
<wsdl:output message="tns:GetOrderResponse" name="GetOrderResponse"/>
53+
<wsdl:fault message="tns:GetOrderFault" name="GetOrderFault"/>
54+
</wsdl:operation>
55+
</wsdl:portType>
56+
<wsdl:binding name="OrderSoap11" type="tns:Order">
57+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
58+
<wsdl:operation name="GetOrder">
59+
<soap:operation soapAction=""/>
60+
<wsdl:input name="GetOrderRequest">
61+
<soap:body use="literal"/>
62+
</wsdl:input>
63+
<wsdl:output name="GetOrderResponse">
64+
<soap:body use="literal"/>
65+
</wsdl:output>
66+
<wsdl:fault name="GetOrderFault">
67+
<soap:fault name="GetOrderFault" use="literal"/>
68+
</wsdl:fault>
69+
</wsdl:operation>
70+
</wsdl:binding>
71+
<wsdl:service name="OrderService">
72+
<wsdl:port binding="tns:OrderSoap11" name="OrderSoap11">
73+
<soap:address location="http://example.com/myService"/>
74+
</wsdl:port>
75+
</wsdl:service>
7576
</wsdl:definitions>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<product xmlns="http://www.springframework.org/spring-ws/test/validation" effDate="2006-01-01">
3-
<size>20</size>
2+
<product xmlns="http://www.springframework.org/spring-ws/test/validation"
3+
effDate="2006-01-01">
4+
<size>20</size>
45
</product>
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<schema xmlns="http://www.w3.org/2001/XMLSchema"
3-
targetNamespace="http://www.springframework.org/spring-ws/test/validation"
4-
xmlns:tns="http://www.springframework.org/spring-ws/test/validation" elementFormDefault="qualified">
3+
targetNamespace="http://www.springframework.org/spring-ws/test/validation"
4+
xmlns:tns="http://www.springframework.org/spring-ws/test/validation"
5+
elementFormDefault="qualified">
56

6-
<include schemaLocation="../../../server/endpoint/interceptor/sizeSchema.xsd"/>
7+
<include schemaLocation="../../../server/endpoint/interceptor/sizeSchema.xsd"/>
78

8-
<element name="product" type="tns:ProductType"/>
9+
<element name="product" type="tns:ProductType"/>
910

10-
<complexType name="ProductType">
11-
<sequence>
12-
<element name="number" type="integer"/>
13-
<element name="size" type="tns:SizeType"/>
14-
</sequence>
15-
<attribute name="effDate" type="date"/>
16-
</complexType>
11+
<complexType name="ProductType">
12+
<sequence>
13+
<element name="number" type="integer"/>
14+
<element name="size" type="tns:SizeType"/>
15+
</sequence>
16+
<attribute name="effDate" type="date"/>
17+
</complexType>
1718

1819
</schema>

0 commit comments

Comments
 (0)