Subversion Repositories XServices

Rev

Rev 177 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
84 brianR 1
<?xml version="1.0" encoding="UTF-8"?>
182 brianR 2
<con:soapui-project name="MailService" resourceRoot="" soapui-version="5.2.1" abortOnError="false" runType="SEQUENTIAL" activeEnvironment="Default" id="cc46c905-0837-49d7-97a4-f021d28bf35d" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="MailServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MailServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/MailService?wsdl" id="ca20e6a3-2774-46a3-856a-1673adee3820" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/MailService?wsdl"><con:part><con:url>http://localhost:8080/XServices/MailService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="MailService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
84 brianR 3
  <wsdl:types>
4
    <xs:schema elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
5
      <xs:element name="antProperty" type="tns:antProperty"/>
6
      <xs:element name="sendMail" type="tns:sendMail"/>
7
      <xs:element name="sendMailResponse" type="tns:sendMailResponse"/>
8
      <xs:element name="sendMailSimple" type="tns:sendMailSimple"/>
9
      <xs:element name="sendMailSimpleResponse" type="tns:sendMailSimpleResponse"/>
10
      <xs:element name="sendMailSimpleWithAttachment" type="tns:sendMailSimpleWithAttachment"/>
11
      <xs:element name="sendMailSimpleWithAttachmentResponse" type="tns:sendMailSimpleWithAttachmentResponse"/>
12
      <xs:complexType name="sendMailSimpleWithAttachment">
13
        <xs:sequence>
14
          <xs:element name="mailhost" type="tns:connection"/>
15
          <xs:element name="from" type="xs:string"/>
16
          <xs:element name="to" type="xs:string"/>
17
          <xs:element minOccurs="0" name="subject" type="xs:string"/>
18
          <xs:element minOccurs="0" name="message" type="xs:string"/>
19
          <xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
20
        </xs:sequence>
21
      </xs:complexType>
22
      <xs:complexType name="connection">
23
        <xs:sequence>
24
          <xs:element name="hostname" type="xs:string"/>
25
          <xs:element name="port" type="xs:int"/>
26
          <xs:element minOccurs="0" name="user" type="xs:string"/>
27
          <xs:element minOccurs="0" name="password" type="xs:string"/>
28
        </xs:sequence>
29
      </xs:complexType>
30
      <xs:complexType name="FileSetType">
31
        <xs:sequence>
32
          <xs:element default="FILES" name="FileSetType" type="tns:resourcetype"/>
33
          <xs:element name="source" type="xs:string"/>
34
          <xs:element name="filter" nillable="true" type="tns:patternSetType"/>
35
          <xs:element default="" minOccurs="0" name="excludes" nillable="true" type="xs:string"/>
36
          <xs:element default="true" name="casesensitive" type="xs:boolean"/>
37
        </xs:sequence>
38
      </xs:complexType>
39
      <xs:complexType name="patternSetType">
40
        <xs:sequence>
41
          <xs:element default="**/*" maxOccurs="unbounded" minOccurs="0" name="include" type="tns:patternElement"/>
42
          <xs:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="tns:patternElement"/>
43
          <xs:element minOccurs="0" name="selector" nillable="true" type="tns:selectorType"/>
44
        </xs:sequence>
45
      </xs:complexType>
46
      <xs:simpleType name="patternElement">
47
        <xs:restriction base="xs:string"/>
48
      </xs:simpleType>
49
      <xs:complexType abstract="true" name="selectorType">
50
        <xs:sequence>
51
          <xs:element maxOccurs="unbounded" minOccurs="0" name="contains" nillable="true" type="tns:containsSelectorType"/>
52
        </xs:sequence>
53
      </xs:complexType>
54
      <xs:complexType name="containsSelectorType">
55
        <xs:sequence>
56
          <xs:element name="text" type="xs:string"/>
57
          <xs:element default="true" name="casesensitive" type="xs:boolean"/>
58
          <xs:element default="false" name="ignorewhitespace" type="xs:boolean"/>
59
        </xs:sequence>
60
      </xs:complexType>
61
      <xs:complexType name="sendMailSimpleWithAttachmentResponse">
62
        <xs:sequence>
63
          <xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
64
        </xs:sequence>
65
      </xs:complexType>
66
      <xs:complexType name="ReturnCodeType">
67
        <xs:sequence>
68
          <xs:element name="returnCode" type="xs:int"/>
69
          <xs:element minOccurs="0" name="stdOut" type="xs:string"/>
70
          <xs:element minOccurs="0" name="stdErr" type="xs:string"/>
71
          <xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
72
        </xs:sequence>
73
      </xs:complexType>
74
      <xs:complexType name="antProperty">
75
        <xs:sequence>
76
          <xs:element name="name" type="xs:string"/>
77
          <xs:element name="value" type="xs:string"/>
78
        </xs:sequence>
79
      </xs:complexType>
80
      <xs:complexType name="sendMailSimple">
81
        <xs:sequence>
82
          <xs:element name="mailhost" type="tns:connection"/>
83
          <xs:element name="from" type="xs:string"/>
84
          <xs:element name="to" type="xs:string"/>
85
          <xs:element minOccurs="0" name="subject" type="xs:string"/>
86
          <xs:element minOccurs="0" name="message" type="xs:string"/>
87
        </xs:sequence>
88
      </xs:complexType>
89
      <xs:complexType name="sendMailSimpleResponse">
90
        <xs:sequence>
91
          <xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
92
        </xs:sequence>
93
      </xs:complexType>
94
      <xs:complexType name="sendMail">
95
        <xs:sequence>
96
          <xs:element name="mailhost" type="tns:connection"/>
97
          <xs:element name="from" type="xs:string"/>
98
          <xs:element name="to" type="xs:string"/>
99
          <xs:element minOccurs="0" name="cc" type="xs:string"/>
100
          <xs:element minOccurs="0" name="bcc" type="xs:string"/>
101
          <xs:element minOccurs="0" name="subject" type="xs:string"/>
102
          <xs:element minOccurs="0" name="mimetype" type="tns:mailMimeType"/>
103
          <xs:element minOccurs="0" name="charset" type="xs:string"/>
104
          <xs:element minOccurs="0" name="message" type="xs:string"/>
105
          <xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
106
          <xs:element name="useSSL" type="xs:boolean"/>
107
          <xs:element name="useStartTLS" type="xs:boolean"/>
108
        </xs:sequence>
109
      </xs:complexType>
110
      <xs:complexType name="sendMailResponse">
111
        <xs:sequence>
112
          <xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
113
        </xs:sequence>
114
      </xs:complexType>
115
      <xs:simpleType name="resourcetype">
116
        <xs:restriction base="xs:string">
117
          <xs:enumeration value="FILES"/>
118
          <xs:enumeration value="ZIP"/>
119
          <xs:enumeration value="TAR"/>
120
          <xs:enumeration value="GZTAR"/>
121
        </xs:restriction>
122
      </xs:simpleType>
123
      <xs:simpleType name="mailMimeType">
124
        <xs:restriction base="xs:string">
125
          <xs:enumeration value="text/plain"/>
126
          <xs:enumeration value="text/html"/>
127
        </xs:restriction>
128
      </xs:simpleType>
129
    </xs:schema>
130
  </wsdl:types>
131
  <wsdl:message name="sendMailResponse">
132
    <wsdl:part element="tns:sendMailResponse" name="parameters"></wsdl:part>
133
  </wsdl:message>
134
  <wsdl:message name="sendMailSimple">
135
    <wsdl:part element="tns:sendMailSimple" name="parameters"></wsdl:part>
136
  </wsdl:message>
137
  <wsdl:message name="sendMailSimpleWithAttachment">
138
    <wsdl:part element="tns:sendMailSimpleWithAttachment" name="parameters"></wsdl:part>
139
  </wsdl:message>
140
  <wsdl:message name="sendMail">
141
    <wsdl:part element="tns:sendMail" name="parameters"></wsdl:part>
142
  </wsdl:message>
143
  <wsdl:message name="sendMailSimpleResponse">
144
    <wsdl:part element="tns:sendMailSimpleResponse" name="parameters"></wsdl:part>
145
  </wsdl:message>
146
  <wsdl:message name="sendMailSimpleWithAttachmentResponse">
147
    <wsdl:part element="tns:sendMailSimpleWithAttachmentResponse" name="parameters"></wsdl:part>
148
  </wsdl:message>
149
  <wsdl:portType name="MailService">
150
    <wsdl:documentation>Various mail service operations.</wsdl:documentation>
151
    <wsdl:operation name="sendMailSimpleWithAttachment">
152
      <wsdl:documentation>Send an email with attachment (simple).</wsdl:documentation>
153
      <wsdl:input message="tns:sendMailSimpleWithAttachment" name="sendMailSimpleWithAttachment"></wsdl:input>
154
      <wsdl:output message="tns:sendMailSimpleWithAttachmentResponse" name="sendMailSimpleWithAttachmentResponse"></wsdl:output>
155
    </wsdl:operation>
156
    <wsdl:operation name="sendMailSimple">
157
      <wsdl:documentation>Send an email (simple).</wsdl:documentation>
158
      <wsdl:input message="tns:sendMailSimple" name="sendMailSimple"></wsdl:input>
159
      <wsdl:output message="tns:sendMailSimpleResponse" name="sendMailSimpleResponse"></wsdl:output>
160
    </wsdl:operation>
161
    <wsdl:operation name="sendMail">
162
      <wsdl:documentation>Send an email (advanced).</wsdl:documentation>
163
      <wsdl:input message="tns:sendMail" name="sendMail"></wsdl:input>
164
      <wsdl:output message="tns:sendMailResponse" name="sendMailResponse"></wsdl:output>
165
    </wsdl:operation>
166
  </wsdl:portType>
167
  <wsdl:binding name="MailServiceSoapBinding" type="tns:MailService">
168
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
169
    <wsdl:operation name="sendMailSimpleWithAttachment">
170
      <soap:operation soapAction="" style="document"/>
171
      <wsdl:input name="sendMailSimpleWithAttachment">
172
        <soap:body use="literal"/>
173
      </wsdl:input>
174
      <wsdl:output name="sendMailSimpleWithAttachmentResponse">
175
        <soap:body use="literal"/>
176
      </wsdl:output>
177
    </wsdl:operation>
178
    <wsdl:operation name="sendMailSimple">
179
      <soap:operation soapAction="" style="document"/>
180
      <wsdl:input name="sendMailSimple">
181
        <soap:body use="literal"/>
182
      </wsdl:input>
183
      <wsdl:output name="sendMailSimpleResponse">
184
        <soap:body use="literal"/>
185
      </wsdl:output>
186
    </wsdl:operation>
187
    <wsdl:operation name="sendMail">
188
      <soap:operation soapAction="" style="document"/>
189
      <wsdl:input name="sendMail">
190
        <soap:body use="literal"/>
191
      </wsdl:input>
192
      <wsdl:output name="sendMailResponse">
193
        <soap:body use="literal"/>
194
      </wsdl:output>
195
    </wsdl:operation>
196
  </wsdl:binding>
197
  <wsdl:service name="MailService">
198
    <wsdl:port binding="tns:MailServiceSoapBinding" name="MailServiceImplPort">
199
      <soap:address location="http://localhost:8080/XServices/MailService"/>
200
    </wsdl:port>
201
  </wsdl:service>
182 brianR 202
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="sendMail" bindingOperationName="sendMail" type="Request-Response" outputName="sendMailResponse" inputName="sendMail" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="cac0b3c0-9ae5-4e59-a134-2df61f634491"><con:settings/><con:call name="Request 1" id="38a40fc8-c86d-4572-8a59-c56085efad0c"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
84 brianR 203
   <soapenv:Header/>
204
   <soapenv:Body>
205
      <ws:sendMail>
206
         <mailhost>
207
            <hostname>?</hostname>
208
            <port>?</port>
209
            <!--Optional:-->
210
            <user>?</user>
211
            <!--Optional:-->
212
            <password>?</password>
213
         </mailhost>
214
         <from>?</from>
215
         <to>?</to>
216
         <!--Optional:-->
217
         <cc>?</cc>
218
         <!--Optional:-->
219
         <bcc>?</bcc>
220
         <!--Optional:-->
221
         <subject>?</subject>
222
         <!--Optional:-->
223
         <mimetype>?</mimetype>
224
         <!--Optional:-->
225
         <charset>?</charset>
226
         <!--Optional:-->
227
         <message>?</message>
228
         <!--Optional:-->
229
         <attachments>
230
            <FileSetType>FILES</FileSetType>
231
            <source>?</source>
232
            <filter>
233
               <!--Zero or more repetitions:-->
234
               <include>**/*</include>
235
               <!--Zero or more repetitions:-->
236
               <exclude>?</exclude>
237
               <!--Optional:-->
238
               <selector>
239
                  <!--Zero or more repetitions:-->
240
                  <contains>
241
                     <text>?</text>
242
                     <casesensitive>true</casesensitive>
243
                     <ignorewhitespace>false</ignorewhitespace>
244
                  </contains>
245
               </selector>
246
            </filter>
247
            <!--Optional:-->
248
            <excludes/>
249
            <casesensitive>true</casesensitive>
250
         </attachments>
251
         <useSSL>?</useSSL>
252
         <useStartTLS>?</useStartTLS>
253
      </ws:sendMail>
254
   </soapenv:Body>
182 brianR 255
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MailService/sendMail"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimple" bindingOperationName="sendMailSimple" type="Request-Response" outputName="sendMailSimpleResponse" inputName="sendMailSimple" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="1a3dcf8e-725e-4aac-a41e-7df95ced24dc"><con:settings/><con:call name="Request 1" id="dc9db9de-1633-4bdf-9ce2-96dc4bd2b30f"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
84 brianR 256
   <soapenv:Header/>
257
   <soapenv:Body>
258
      <ws:sendMailSimple>
259
         <mailhost>
260
            <hostname>?</hostname>
261
            <port>?</port>
262
            <!--Optional:-->
263
            <user>?</user>
264
            <!--Optional:-->
265
            <password>?</password>
266
         </mailhost>
267
         <from>?</from>
268
         <to>?</to>
269
         <!--Optional:-->
270
         <subject>?</subject>
271
         <!--Optional:-->
272
         <message>?</message>
273
      </ws:sendMailSimple>
274
   </soapenv:Body>
182 brianR 275
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MailService/sendMailSimple"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimpleWithAttachment" bindingOperationName="sendMailSimpleWithAttachment" type="Request-Response" outputName="sendMailSimpleWithAttachmentResponse" inputName="sendMailSimpleWithAttachment" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="5c8fb520-d4a1-49e8-b005-5b27e68dde4f"><con:settings/><con:call name="Request 1" id="d0503ff1-dfba-4740-9be3-c3aa68078232"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">\r
276
   <soapenv:Header/>\r
277
   <soapenv:Body>\r
278
      <ws:sendMailSimpleWithAttachment>\r
279
         <mailhost>\r
280
            <hostname>mail.brutex.net</hostname>\r
281
            <port>25</port>\r
282
            <!--Optional:-->\r
283
            <user>serena@brutex.de</user>\r
284
            <!--Optional:-->\r
285
            <password>serexxxxx</password>\r
286
         </mailhost>\r
287
         <from>brosenberger@serena.com</from>\r
288
         <to>bru@brutex.de</to>\r
289
         <!--Optional:-->\r
290
         <subject>Testmail mit Anhang</subject>\r
291
         <!--Optional:-->\r
292
         <message>Hier sind die Dateien</message>\r
293
         <!--Optional:-->\r
294
         <attachments>\r
295
            <FileSetType>FILES</FileSetType>\r
296
            <source>c://temp/</source>\r
297
            <filter>\r
298
               <!--Zero or more repetitions:-->\r
299
               <include>**/*.txt</include>\r
300
            </filter>\r
301
            <!--Optional:-->\r
302
            <excludes/>\r
303
            <casesensitive>true</casesensitive>\r
304
         </attachments>\r
305
      </ws:sendMailSimpleWithAttachment>\r
306
   </soapenv:Body>\r
307
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MailService/sendMailSimpleWithAttachment"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/></con:soapui-project>