1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="SOAPBuilders" xmlns="http://soapinterop.org/attachments/wsdl" xmlns:types="http://soapinterop.org/attachments/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/" targetNamespace="http://soapinterop.org/attachments/wsdl">
3	<wsdl:types>
4		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/attachments/xsd">
5			<import namespace="http://schemas.xmlsoap.org/soap/encoding/" location="http://schemas.xmlsoap.org/soap/encoding/" />
6			<import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>
7			<import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>
8			<complexType name="ReferencedBinary">
9				<simpleContent>
10					<restriction base="soap-enc:base64Binary">
11						<annotation>
12							<appinfo>
13								<content:mediaType value="application/octetstream"/>
14							</appinfo>
15						</annotation>
16						<attributeGroup ref="soap-enc:commonAttributes"/>
17					</restriction>
18				</simpleContent>
19			</complexType>
20			<complexType name="ArrayOfBinary">
21				<complexContent>
22					<restriction base="soap-enc:Array">
23						<attribute ref="soap-enc:arrayType" wsdl:arrayType="types:ReferencedBinary[]"/>
24					</restriction>
25				</complexContent>
26			</complexType>
27			<complexType name="ReferencedText">
28				<simpleContent>
29					<restriction base="soap-enc:base64Binary">
30						<annotation>
31							<appinfo>
32								<content:mediaType value="text/plain"/>
33							</appinfo>
34						</annotation>
35						<attributeGroup ref="soap-enc:commonAttributes"/>
36					</restriction>
37				</simpleContent>
38			</complexType>
39		</schema>
40	</wsdl:types>
41	<wsdl:message name="EchoAttachmentIn">
42		<wsdl:part name="In" type="types:ReferencedBinary"/>
43	</wsdl:message>
44	<wsdl:message name="EchoAttachmentOut">
45		<wsdl:part name="Out" type="types:ReferencedBinary"/>
46	</wsdl:message>
47	<wsdl:message name="EchoAttachmentsIn">
48		<wsdl:part name="In" type="types:ArrayOfBinary"/>
49	</wsdl:message>
50	<wsdl:message name="EchoAttachmentsOut">
51		<wsdl:part name="Out" type="types:ArrayOfBinary"/>
52	</wsdl:message>
53	<wsdl:message name="EchoAttachmentAsBase64In">
54		<wsdl:part name="In" type="types:ReferencedBinary"/>
55	</wsdl:message>
56	<wsdl:message name="EchoAttachmentAsBase64Out">
57		<wsdl:part name="Out" type="xsd:base64Binary"/>
58	</wsdl:message>
59	<wsdl:message name="EchoBase64AsAttachmentIn">
60		<wsdl:part name="In" type="xsd:base64Binary"/>
61	</wsdl:message>
62	<wsdl:message name="EchoBase64AsAttachmentOut">
63		<wsdl:part name="Out" type="types:ReferencedBinary"/>
64	</wsdl:message>
65	<wsdl:message name="EchoUnrefAttachmentsIn" />
66	<wsdl:message name="EchoUnrefAttachmentsOut" />
67	<wsdl:message name="EchoAttachmentAsStringIn">
68		<wsdl:part name="In" type="types:ReferencedText"/>
69	</wsdl:message>
70	<wsdl:message name="EchoAttachmentAsStringOut">
71		<wsdl:part name="Out" type="xsd:string"/>
72	</wsdl:message>
73
74	<wsdl:portType name="AttachmentsPortType">
75		<wsdl:operation name="EchoAttachment">
76			<wsdl:input name="EchoAttachmentInput" message="EchoAttachmentIn"/>
77			<wsdl:output name="EchoAttachmentOutput" message="EchoAttachmentOut"/>
78		</wsdl:operation>
79		<wsdl:operation name="EchoAttachments">
80			<wsdl:input name="EchoAttachmentsInput" message="EchoAttachmentsIn"/>
81			<wsdl:output name="EchoAttachmentsOutput" message="EchoAttachmentsOut"/>
82		</wsdl:operation>
83		<wsdl:operation name="EchoAttachmentAsBase64">
84			<wsdl:input name="EchoAttachmentAsBase64Input" message="EchoAttachmentAsBase64In"/>
85			<wsdl:output name="EchoAttachmentAsBase64Output" message="EchoAttachmentAsBase64Out"/>
86		</wsdl:operation>
87		<wsdl:operation name="EchoBase64AsAttachment">
88			<wsdl:input name="EchoBase64AsAttachmentInput" message="EchoBase64AsAttachmentIn"/>
89			<wsdl:output name="EchoBase64AsAttachmentOutput" message="EchoBase64AsAttachmentOut"/>
90		</wsdl:operation>
91		<wsdl:operation name="EchoUnrefAttachments">
92			<wsdl:input name="EchoUnrefAttachmentsInput" message="EchoUnrefAttachmentsIn"/>
93			<wsdl:output name="EchoUnrefAttachmentsOutput" message="EchoUnrefAttachmentsOut"/>
94		</wsdl:operation>
95		<wsdl:operation name="EchoAttachmentAsString">
96			<wsdl:input  name="EchoAttachmentAsStringInput"  message="EchoAttachmentAsStringIn"/>
97			<wsdl:output name="EchoAttachmentAsStringOutput" message="EchoAttachmentAsStringOut"/>
98		</wsdl:operation>
99	</wsdl:portType>
100	<wsdl:binding name="AttachmentsBinding" type="AttachmentsPortType">
101		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
102		<wsdl:operation name="EchoAttachment">
103			<soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
104			<wsdl:input name="EchoAttachmentInput">
105				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
106				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
107			</wsdl:input>
108			<wsdl:output name="EchoAttachmentOutput">
109				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
110				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
111			</wsdl:output>
112		</wsdl:operation>
113		<wsdl:operation name="EchoAttachments">
114			<soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
115			<wsdl:input name="EchoAttachmentsInput">
116				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
117				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
118			</wsdl:input>
119			<wsdl:output name="EchoAttachmentsOutput">
120				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
121				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
122			</wsdl:output>
123		</wsdl:operation>
124		<wsdl:operation name="EchoAttachmentAsBase64">
125			<soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
126			<wsdl:input name="EchoAttachmentAsBase64Input">
127				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
128				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
129			</wsdl:input>
130			<wsdl:output name="EchoAttachmentAsBase64Output">
131				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
132			</wsdl:output>
133		</wsdl:operation>
134		<wsdl:operation name="EchoBase64AsAttachment">
135			<soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
136			<wsdl:input name="EchoBase64AsAttachmentInput">
137				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
138			</wsdl:input>
139			<wsdl:output name="EchoBase64AsAttachmentOutput">
140				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
141				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
142			</wsdl:output>
143		</wsdl:operation>
144		<wsdl:operation name="EchoUnrefAttachments">
145			<soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
146			<wsdl:input name="EchoUnrefAttachmentsInput">
147				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout" wsdl:required="true"/>
148				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
149			</wsdl:input>
150			<wsdl:output name="EchoUnrefAttachmentsOutput">
151				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout" wsdl:required="true"/>
152				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
153			</wsdl:output>
154		</wsdl:operation>
155		<wsdl:operation name="EchoAttachmentAsString">
156			<soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
157			<wsdl:input name="EchoAttachmentAsStringInput">
158				<dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
159				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
160			</wsdl:input>
161			<wsdl:output name="EchoAttachmentAsStringOutput">
162				<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
163			</wsdl:output>
164		</wsdl:operation>
165	</wsdl:binding>
166  <wsdl:service name="Round4DIMERPC">
167    <wsdl:port name="Round4DIMERPCTestSoap" binding="AttachmentsBinding">
168      <soap:address location="test://" />
169    </wsdl:port>
170  </wsdl:service>
171</wsdl:definitions>
172